@@ -118,8 +118,8 @@ class CRender : public D3DXRenderBase
118118 xr_vector<ref_shader> Shaders;
119119 typedef svector<D3DVERTEXELEMENT9, MAXD3DDECLLENGTH + 1 > VertexDeclarator;
120120 xr_vector<VertexDeclarator> nDC, xDC;
121- xr_vector<IDirect3DVertexBuffer9 *> nVB, xVB;
122- xr_vector<IDirect3DIndexBuffer9 *> nIB, xIB;
121+ xr_vector<ID3DVertexBuffer *> nVB, xVB;
122+ xr_vector<ID3DIndexBuffer *> nIB, xIB;
123123 xr_vector<dxRender_Visual*> Visuals;
124124 CPSLibrary PSLibrary;
125125
@@ -153,7 +153,7 @@ class CRender : public D3DXRenderBase
153153
154154private:
155155 // Loading / Unloading
156- void LoadBuffers (CStreamReader* fs, BOOL _alternative );
156+ void LoadBuffers (CStreamReader* fs, bool alternative );
157157 void LoadVisuals (IReader* fs);
158158 void LoadLights (IReader* fs);
159159 void LoadPortals (IReader* fs);
@@ -183,9 +183,9 @@ class CRender : public D3DXRenderBase
183183public:
184184 ShaderElement* rimp_select_sh_static (dxRender_Visual* pVisual, float cdist_sq);
185185 ShaderElement* rimp_select_sh_dynamic (dxRender_Visual* pVisual, float cdist_sq);
186- D3DVERTEXELEMENT9* getVB_Format (int id, BOOL _alt = FALSE );
187- IDirect3DVertexBuffer9 * getVB (int id, BOOL _alt = FALSE );
188- IDirect3DIndexBuffer9 * getIB (int id, BOOL _alt = FALSE );
186+ D3DVERTEXELEMENT9* getVB_Format (int id, bool alternative = false );
187+ ID3DVertexBuffer * getVB (int id, bool alternative = false );
188+ ID3DIndexBuffer * getIB (int id, bool alternative = false );
189189 FSlideWindowItem* getSWI (int id);
190190 IRender_Portal* getPortal (int id);
191191 IRender_Sector* getSectorActive ();
0 commit comments