comparison Render.cpp @ 1512:af57b3b76fe4

Clean and decouple. (1)
author yoctozepto
date Mon, 02 Sep 2013 15:23:09 +0200
parents 19890e50e2f6
children 7d986a396092
comparison
equal deleted inserted replaced
1511:948191fca433 1512:af57b3b76fe4
2101 2101
2102 hd_water_tile_id = -1; 2102 hd_water_tile_id = -1;
2103 hd_water_current_frame = 0; 2103 hd_water_current_frame = 0;
2104 } 2104 }
2105 2105
2106 bool Render::Initialize(bool bWindowed, uint uDefaultDevice, bool bColoredLights, uint uDetailLevel, uint bTinting) 2106 bool Render::Initialize(bool bWindowed, uint32_t uDefaultDevice, bool bColoredLights, uint32_t uDetailLevel, bool bTinting)
2107 { 2107 {
2108 bUserDirect3D = true;//ReadWindowsRegistryInt("Use D3D", 0); 2108 bUserDirect3D = true;//ReadWindowsRegistryInt("Use D3D", 0);
2109 bStartInWindow = bWindowed; 2109 bStartInWindow = bWindowed;
2110 2110
2111 uDesiredDirect3DDevice = uDefaultDevice;//ReadWindowsRegistryInt("D3D Device", 1); 2111 uDesiredDirect3DDevice = uDefaultDevice;//ReadWindowsRegistryInt("D3D Device", 1);