- Timestamp:
- Apr 7, 2005, 11:14:11 PM (20 years ago)
- Location:
- orxonox/branches/levelloader/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/lib/util/resource_manager.cc
r3746 r3753 396 396 bool ResourceManager::isDir(const char* directoryName) 397 397 { 398 399 400 #elif 398 #ifdef __WIN32__ 399 return false; 400 #elif __unix__ 401 401 struct stat status; 402 402 stat(directoryName, &status); … … 405 405 else 406 406 return false; 407 407 #endif 408 408 } 409 409 … … 417 417 bool ResourceManager::isFile(const char* fileName) 418 418 { 419 420 421 #elif 419 #ifdef __WIN32__ 420 return false; 421 #elif __unix__ 422 422 struct stat status; 423 423 stat(fileName, &status); … … 426 426 else 427 427 return false; 428 428 #endif 429 429 } 430 430 -
orxonox/branches/levelloader/src/orxonox.cc
r3746 r3753 344 344 #include "base_object.h" 345 345 346 #ifdef __WIN32__ 347 #elif 346 #ifndef __WIN32__ 348 347 #include <asm/msr.h> 349 348 #include <linux/timex.h> … … 358 357 int startBenchmarks() 359 358 { 360 359 #ifndef __WIN32__ 361 360 printf("===========================================================\n"); 362 361 printf("= BENCHMARKS =\n"); -
orxonox/branches/levelloader/src/story_entities/world.cc
r3746 r3753 1 1 2 2 3 /* … … 149 150 } 150 151 151 152 this->localPlayer = NULL; 152 153 this->entities = new tList<WorldEntity>(); 153 154 155 156 this->setClassName ("World"); 154 157 } 155 158
Note: See TracChangeset
for help on using the changeset viewer.