Mercurial > hg > dmlib
comparison dmsimple.c @ 94:4bbfc0274b29
Change some function names, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 02 Oct 2012 18:14:44 +0300 |
parents | 15fdd5573344 |
children | d5d27f262227 |
comparison
equal
deleted
inserted
replaced
93:15fdd5573344 | 94:4bbfc0274b29 |
---|---|
319 err, dmErrorStr(err)); | 319 err, dmErrorStr(err)); |
320 goto error_exit; | 320 goto error_exit; |
321 } | 321 } |
322 | 322 |
323 // Final initializations | 323 // Final initializations |
324 if ((err = demoGlobalInit()) != DMERR_OK) | 324 if ((err = demoInit()) != DMERR_OK) |
325 goto error_exit; | 325 goto error_exit; |
326 | 326 |
327 #ifdef DM_DEBUG | 327 #ifdef DM_DEBUG |
328 if (engine.optDebug) | 328 if (engine.optDebug) |
329 { | 329 { |
449 jssClose(); | 449 jssClose(); |
450 SDL_UnlockAudio(); | 450 SDL_UnlockAudio(); |
451 | 451 |
452 dmres_close(); | 452 dmres_close(); |
453 | 453 |
454 demoShutdown(); | |
455 | |
454 if (initSDL) | 456 if (initSDL) |
455 SDL_Quit(); | 457 SDL_Quit(); |
456 | 458 |
457 demoFinish(); | 459 demoQuit(); |
458 | 460 |
459 return 0; | 461 return 0; |
460 } | 462 } |