- Timestamp:
- Feb 19, 2013, 2:19:03 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r2403 r2444 443 443 people/touky/Makefile 444 444 people/touky/private/Makefile 445 people/touky/private/Tactics/Makefile 445 446 people/jylam/Makefile 446 447 people/jylam/private/Makefile -
trunk/src/easymesh/easymesh.h
r2442 r2444 66 66 ShaderAttrib const *GetAttribute(const lol::String &attribute); 67 67 //-- 68 virtual void SetupShaderDatas(mat4 const &model) { }68 virtual void SetupShaderDatas(mat4 const &model) { UNUSED(model); } 69 69 70 70 protected: … … 357 357 { 358 358 TexCoordBuildType tcbt = GetTexCoordBuildType2(mt); 359 UNUSED(tcbt); 359 360 if (mt == MeshType::Triangle) 360 361 mt = mt; -
trunk/src/lol/math/interp.h
r2432 r2444 51 51 int start = max(0, m_pos); 52 52 int a = 0; 53 int b = min(m_pos + N , N);53 int b = min(m_pos + N - 1, N - 1); 54 54 55 55 while (a + 1 < b) -
trunk/src/numeric.h
r2279 r2444 27 27 { 28 28 using namespace std; 29 return (float) rand() / RAND_MAX;29 return (float)std::rand() / RAND_MAX; 30 30 } 31 31 -
trunk/src/scene.cpp
r2289 r2444 176 176 { 177 177 Tile tmp = data->m_tiles[i]; 178 int j = rand() % data->m_tiles.Count();178 int j = std::rand() % data->m_tiles.Count(); 179 179 data->m_tiles[i] = data->m_tiles[j]; 180 180 data->m_tiles[j] = tmp; -
trunk/src/ticker.cpp
r2423 r2444 186 186 187 187 /* Ensure some randomness */ 188 (void) rand();188 (void)std::rand(); 189 189 190 190 /* If recording with fixed framerate, set deltatime to a fixed value */
Note: See TracChangeset
for help on using the changeset viewer.