- Timestamp:
- Oct 8, 2005, 6:52:31 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/campaign.cc
r5305 r5324 240 240 void Campaign::nextLevel() 241 241 { 242 printf("Campaign:nextLevel()\n");242 PRINTF(4)("Campaign:nextLevel()\n"); 243 243 this->currentEntity->stop(); 244 244 } -
trunk/src/util/resource_manager.cc
r5323 r5324 387 387 if(ResourceManager::isFile(fullName)) 388 388 { 389 char* secFullName = NULL;390 389 if (param1 != NULL) 391 390 { 392 secFullName = ResourceManager::getFullName((const char*)param1); 393 printf("%s\n", secFullName); 391 char* secFullName = ResourceManager::getFullName((const char*)param1); 394 392 if (ResourceManager::isFile(secFullName)) 395 393 { 396 printf("ok:: %s\n", secFullName);397 394 tmpResource->secFileName = new char[strlen((const char*)param1)+1]; 398 395 strcpy(tmpResource->secFileName, (const char*) param1); 396 tmpResource->pointer = new Shader(fullName, secFullName); 399 397 } 400 else 401 { 402 delete[] secFullName; 403 secFullName = NULL; 404 tmpResource->secFileName = NULL; 405 } 398 delete secFullName; 406 399 } 407 400 else 401 { 408 402 tmpResource->secFileName = NULL; 409 printf("%s::%s\n", fullName, secFullName); 410 tmpResource->pointer = new Shader(fullName, secFullName); 411 if (secFullName != NULL) 412 delete[] secFullName; 403 tmpResource->pointer = new Shader(fullName, NULL); 404 } 413 405 } 414 406 break;
Note: See TracChangeset
for help on using the changeset viewer.