Mercurial > mm7
comparison mm7_5.cpp @ 1405:c0b273d33338
RemoveTexturesPackFromTextureList and RemoveTexturesFromTextureList
author | Ritor1 |
---|---|
date | Mon, 22 Jul 2013 15:23:43 +0600 |
parents | 7cc3b01a92ac |
children | d4f57df4c299 |
comparison
equal
deleted
inserted
replaced
1404:7cc3b01a92ac | 1405:c0b273d33338 |
---|---|
388 continue; | 388 continue; |
389 case UIMSG_StartNewGame: | 389 case UIMSG_StartNewGame: |
390 if ( dword_6BE138 == 124 || uMessageParam ) | 390 if ( dword_6BE138 == 124 || uMessageParam ) |
391 { | 391 { |
392 pIcons_LOD->SyncLoadedFilesCount(); | 392 pIcons_LOD->SyncLoadedFilesCount(); |
393 pIcons_LOD->ClearTextureList(); | 393 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
394 if ( pMessageQueue_50CBD0->uNumMessages ) | 394 if ( pMessageQueue_50CBD0->uNumMessages ) |
395 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; | 395 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; |
396 pGUIWindow_CurrentMenu->Release(); | 396 pGUIWindow_CurrentMenu->Release(); |
397 uGameState = GAME_STATE_NEWGAME_OUT_GAMEMENU; | 397 uGameState = GAME_STATE_NEWGAME_OUT_GAMEMENU; |
398 pCurrentScreen = SCREEN_GAME; | 398 pCurrentScreen = SCREEN_GAME; |
406 } | 406 } |
407 stru_506E40.Release(); | 407 stru_506E40.Release(); |
408 continue; | 408 continue; |
409 case UIMSG_Game_OpenLoadGameDialog: | 409 case UIMSG_Game_OpenLoadGameDialog: |
410 pIcons_LOD->SyncLoadedFilesCount(); | 410 pIcons_LOD->SyncLoadedFilesCount(); |
411 pIcons_LOD->ClearTextureList(); | 411 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
412 if ( pMessageQueue_50CBD0->uNumMessages ) | 412 if ( pMessageQueue_50CBD0->uNumMessages ) |
413 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; | 413 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; |
414 pGUIWindow_CurrentMenu->Release(); | 414 pGUIWindow_CurrentMenu->Release(); |
415 pCurrentScreen = SCREEN_LOADGAME; | 415 pCurrentScreen = SCREEN_LOADGAME; |
416 LoadUI_Load(1); | 416 LoadUI_Load(1); |
417 continue; | 417 continue; |
418 case UIMSG_Quit: | 418 case UIMSG_Quit: |
419 if ( dword_6BE138 == 132 || uMessageParam ) | 419 if ( dword_6BE138 == 132 || uMessageParam ) |
420 { | 420 { |
421 pIcons_LOD->SyncLoadedFilesCount(); | 421 pIcons_LOD->SyncLoadedFilesCount(); |
422 pIcons_LOD->ClearTextureList(); | 422 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
423 if ( pMessageQueue_50CBD0->uNumMessages ) | 423 if ( pMessageQueue_50CBD0->uNumMessages ) |
424 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; | 424 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; |
425 pGUIWindow_CurrentMenu->Release(); | 425 pGUIWindow_CurrentMenu->Release(); |
426 pCurrentScreen = SCREEN_GAME; | 426 pCurrentScreen = SCREEN_GAME; |
427 viewparams->bRedrawGameUI = 1; | 427 viewparams->bRedrawGameUI = 1; |
438 stru_506E40.Release(); | 438 stru_506E40.Release(); |
439 continue; | 439 continue; |
440 case UIMSG_80: | 440 case UIMSG_80: |
441 __debugbreak(); | 441 __debugbreak(); |
442 pIcons_LOD->SyncLoadedFilesCount(); | 442 pIcons_LOD->SyncLoadedFilesCount(); |
443 pIcons_LOD->ClearTextureList(); | 443 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
444 pGUIWindow_CurrentMenu->Release(); | 444 pGUIWindow_CurrentMenu->Release(); |
445 pCurrentScreen = SCREEN_OPTIONS; | 445 pCurrentScreen = SCREEN_OPTIONS; |
446 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640, 480, WINDOW_8, 0, 0); | 446 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640, 480, WINDOW_8, 0, 0); |
447 continue; | 447 continue; |
448 case UIMSG_ArrowUp: | 448 case UIMSG_ArrowUp: |
992 { | 992 { |
993 if ( pCurrentScreen > SCREEN_67 ) | 993 if ( pCurrentScreen > SCREEN_67 ) |
994 { | 994 { |
995 if ( pCurrentScreen == SCREEN_QUICK_REFERENCE ) | 995 if ( pCurrentScreen == SCREEN_QUICK_REFERENCE ) |
996 { | 996 { |
997 pIcons_LOD->ClearTextureList(); | 997 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
998 if ( pGUIWindow_Settings ) | 998 if ( pGUIWindow_Settings ) |
999 { | 999 { |
1000 if ( pCurrentScreen == SCREEN_CHARACTERS ) | 1000 if ( pCurrentScreen == SCREEN_CHARACTERS ) |
1001 { | 1001 { |
1002 pMouse->SetCursorBitmap("MICON2"); | 1002 pMouse->SetCursorBitmap("MICON2"); |
1018 window_SpeakInHouse = 0; | 1018 window_SpeakInHouse = 0; |
1019 pGUIWindow_CurrentMenu = 0; | 1019 pGUIWindow_CurrentMenu = 0; |
1020 pEventTimer->Resume(); | 1020 pEventTimer->Resume(); |
1021 pCurrentScreen = SCREEN_GAME; | 1021 pCurrentScreen = SCREEN_GAME; |
1022 viewparams->bRedrawGameUI = 1; | 1022 viewparams->bRedrawGameUI = 1; |
1023 pIcons_LOD->_4355F7(); | 1023 pIcons_LOD->RemoveTexturesFromTextureList(); |
1024 continue; | 1024 continue; |
1025 } | 1025 } |
1026 } | 1026 } |
1027 else | 1027 else |
1028 { | 1028 { |
1029 if ( pCurrentScreen < SCREEN_64 ) | 1029 if ( pCurrentScreen < SCREEN_64 ) |
1030 { | 1030 { |
1031 switch ( pCurrentScreen ) | 1031 switch ( pCurrentScreen ) |
1032 { | 1032 { |
1033 case SCREEN_CASTING: | 1033 case SCREEN_CASTING: |
1034 pIcons_LOD->ClearTextureList(); | 1034 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1035 if ( some_active_character ) | 1035 if ( some_active_character ) |
1036 { | 1036 { |
1037 uActiveCharacter = some_active_character; | 1037 uActiveCharacter = some_active_character; |
1038 uActiveCharacter = pParty->GetNextActiveCharacter(); | 1038 uActiveCharacter = pParty->GetNextActiveCharacter(); |
1039 some_active_character = 0; | 1039 some_active_character = 0; |
1072 window_SpeakInHouse = 0; | 1072 window_SpeakInHouse = 0; |
1073 pGUIWindow_CurrentMenu = 0; | 1073 pGUIWindow_CurrentMenu = 0; |
1074 pEventTimer->Resume(); | 1074 pEventTimer->Resume(); |
1075 pCurrentScreen = SCREEN_GAME; | 1075 pCurrentScreen = SCREEN_GAME; |
1076 viewparams->bRedrawGameUI = 1; | 1076 viewparams->bRedrawGameUI = 1; |
1077 pIcons_LOD->_4355F7(); | 1077 pIcons_LOD->RemoveTexturesFromTextureList(); |
1078 continue; | 1078 continue; |
1079 case SCREEN_BOOKS: | 1079 case SCREEN_BOOKS: |
1080 pBooksWindow->Release(); | 1080 pBooksWindow->Release(); |
1081 //crt_deconstruct_ptr_6A0118(); | 1081 //crt_deconstruct_ptr_6A0118(); |
1082 pBooksWindow = 0; | 1082 pBooksWindow = 0; |
1104 window_SpeakInHouse = 0; | 1104 window_SpeakInHouse = 0; |
1105 pGUIWindow_CurrentMenu = 0; | 1105 pGUIWindow_CurrentMenu = 0; |
1106 pEventTimer->Resume(); | 1106 pEventTimer->Resume(); |
1107 pCurrentScreen = SCREEN_GAME; | 1107 pCurrentScreen = SCREEN_GAME; |
1108 viewparams->bRedrawGameUI = 1; | 1108 viewparams->bRedrawGameUI = 1; |
1109 pIcons_LOD->_4355F7(); | 1109 pIcons_LOD->RemoveTexturesFromTextureList(); |
1110 continue; | 1110 continue; |
1111 case SCREEN_SAVEGAME: | 1111 case SCREEN_SAVEGAME: |
1112 case SCREEN_LOADGAME: | 1112 case SCREEN_LOADGAME: |
1113 pIcons_LOD->ClearTextureList(); | 1113 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1114 //crt_deconstruct_ptr_6A0118(); | 1114 //crt_deconstruct_ptr_6A0118(); |
1115 stru_506E40.Release(); | 1115 stru_506E40.Release(); |
1116 break; | 1116 break; |
1117 case SCREEN_CHEST_INVENTORY: | 1117 case SCREEN_CHEST_INVENTORY: |
1118 pCurrentScreen = SCREEN_CHEST; | 1118 pCurrentScreen = SCREEN_CHEST; |
1119 continue; | 1119 continue; |
1120 case SCREEN_CHEST: | 1120 case SCREEN_CHEST: |
1121 pWindow2 = pChestWindow; | 1121 pWindow2 = pChestWindow; |
1122 pWindow2->Release(); | 1122 pWindow2->Release(); |
1123 pIcons_LOD->ClearTextureList(); | 1123 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1124 pCurrentScreen = SCREEN_GAME; | 1124 pCurrentScreen = SCREEN_GAME; |
1125 viewparams->bRedrawGameUI = 1; | 1125 viewparams->bRedrawGameUI = 1; |
1126 pEventTimer->Resume(); | 1126 pEventTimer->Resume(); |
1127 continue; | 1127 continue; |
1128 case SCREEN_19: | 1128 case SCREEN_19: |
1129 __debugbreak(); | 1129 __debugbreak(); |
1130 pWindow2 = ptr_507BC8; | 1130 pWindow2 = ptr_507BC8; |
1131 pWindow2->Release(); | 1131 pWindow2->Release(); |
1132 pIcons_LOD->ClearTextureList(); | 1132 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1133 pCurrentScreen = SCREEN_GAME; | 1133 pCurrentScreen = SCREEN_GAME; |
1134 viewparams->bRedrawGameUI = 1; | 1134 viewparams->bRedrawGameUI = 1; |
1135 pEventTimer->Resume(); | 1135 pEventTimer->Resume(); |
1136 continue; | 1136 continue; |
1137 case SCREEN_OPTIONS://Close | 1137 case SCREEN_OPTIONS://Close |
1165 WriteWindowsRegistryInt("TurnDelta", 1); | 1165 WriteWindowsRegistryInt("TurnDelta", 1); |
1166 stru_506E40.Release(); | 1166 stru_506E40.Release(); |
1167 break; | 1167 break; |
1168 case SCREEN_MENU: | 1168 case SCREEN_MENU: |
1169 pIcons_LOD->SyncLoadedFilesCount(); | 1169 pIcons_LOD->SyncLoadedFilesCount(); |
1170 pIcons_LOD->ClearTextureList(); | 1170 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1171 pIcons_LOD->SyncLoadedFilesCount(); | 1171 pIcons_LOD->SyncLoadedFilesCount(); |
1172 pIcons_LOD->ClearTextureList(); | 1172 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1173 stru_506E40.Release(); | 1173 stru_506E40.Release(); |
1174 break; | 1174 break; |
1175 case SCREEN_VIDEO_OPTIONS: | 1175 case SCREEN_VIDEO_OPTIONS: |
1176 if ( pRenderer->pRenderD3D ) | 1176 if ( pRenderer->pRenderD3D ) |
1177 { | 1177 { |
1254 pTexture_RestUI_CurrentSkyFrame->Release(); | 1254 pTexture_RestUI_CurrentSkyFrame->Release(); |
1255 pTexture_RestUI_CurrentHourglassFrame->Release(); | 1255 pTexture_RestUI_CurrentHourglassFrame->Release(); |
1256 pTexture_RestUI_CurrentHourglassFrame = 0; | 1256 pTexture_RestUI_CurrentHourglassFrame = 0; |
1257 pTexture_RestUI_CurrentSkyFrame = 0; | 1257 pTexture_RestUI_CurrentSkyFrame = 0; |
1258 pIcons_LOD->SyncLoadedFilesCount(); | 1258 pIcons_LOD->SyncLoadedFilesCount(); |
1259 pIcons_LOD->ClearTextureList(); | 1259 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1260 _506F18_num_minutes_to_sleep = 0; | 1260 _506F18_num_minutes_to_sleep = 0; |
1261 dword_506F14 = 0; | 1261 dword_506F14 = 0; |
1262 dword_507B94 = 1; | 1262 dword_507B94 = 1; |
1263 if ( pGUIWindow_Settings ) | 1263 if ( pGUIWindow_Settings ) |
1264 { | 1264 { |
1283 window_SpeakInHouse = 0; | 1283 window_SpeakInHouse = 0; |
1284 pGUIWindow_CurrentMenu = 0; | 1284 pGUIWindow_CurrentMenu = 0; |
1285 pEventTimer->Resume(); | 1285 pEventTimer->Resume(); |
1286 pCurrentScreen = SCREEN_GAME; | 1286 pCurrentScreen = SCREEN_GAME; |
1287 viewparams->bRedrawGameUI = 1; | 1287 viewparams->bRedrawGameUI = 1; |
1288 pIcons_LOD->_4355F7(); | 1288 pIcons_LOD->RemoveTexturesFromTextureList(); |
1289 continue; | 1289 continue; |
1290 case SCREEN_E: | 1290 case SCREEN_E: |
1291 __debugbreak(); | 1291 __debugbreak(); |
1292 pGUIWindow_CurrentMenu->Release(); | 1292 pGUIWindow_CurrentMenu->Release(); |
1293 pCurrentScreen = SCREEN_HOUSE; | 1293 pCurrentScreen = SCREEN_HOUSE; |
1294 pIcons_LOD->ClearTextureList(); | 1294 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1295 continue; | 1295 continue; |
1296 case SCREEN_HOUSE: | 1296 case SCREEN_HOUSE: |
1297 if ( uDialogueType ) | 1297 if ( uDialogueType ) |
1298 uDialogueType = 0; | 1298 uDialogueType = 0; |
1299 if ( uGameState == GAME_STATE_2 ) | 1299 if ( uGameState == GAME_STATE_2 ) |
1333 window_SpeakInHouse = 0; | 1333 window_SpeakInHouse = 0; |
1334 pGUIWindow_CurrentMenu = 0; | 1334 pGUIWindow_CurrentMenu = 0; |
1335 pEventTimer->Resume(); | 1335 pEventTimer->Resume(); |
1336 pCurrentScreen = SCREEN_GAME; | 1336 pCurrentScreen = SCREEN_GAME; |
1337 viewparams->bRedrawGameUI = true; | 1337 viewparams->bRedrawGameUI = true; |
1338 pIcons_LOD->_4355F7(); | 1338 pIcons_LOD->RemoveTexturesFromTextureList(); |
1339 continue; | 1339 continue; |
1340 case SCREEN_INPUT_BLV://click escape | 1340 case SCREEN_INPUT_BLV://click escape |
1341 if ( uCurrentHouse_Animation == 153 ) | 1341 if ( uCurrentHouse_Animation == 153 ) |
1342 PlayHouseSound(0x99u, HouseSound_Greeting_2); | 1342 PlayHouseSound(0x99u, HouseSound_Greeting_2); |
1343 pVideoPlayer->Unload(); | 1343 pVideoPlayer->Unload(); |
1391 pVideoPlayer->Unload(); | 1391 pVideoPlayer->Unload(); |
1392 continue; | 1392 continue; |
1393 case SCREEN_CHARACTERS: | 1393 case SCREEN_CHARACTERS: |
1394 CharacterUI_ReleaseButtons(); | 1394 CharacterUI_ReleaseButtons(); |
1395 sub_419379(); | 1395 sub_419379(); |
1396 pIcons_LOD->ClearTextureList(); | 1396 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1397 if ( pGUIWindow_Settings ) | 1397 if ( pGUIWindow_Settings ) |
1398 { | 1398 { |
1399 if ( pCurrentScreen == SCREEN_CHARACTERS ) | 1399 if ( pCurrentScreen == SCREEN_CHARACTERS ) |
1400 { | 1400 { |
1401 pMouse->SetCursorBitmap("MICON2"); | 1401 pMouse->SetCursorBitmap("MICON2"); |
1417 window_SpeakInHouse = 0; | 1417 window_SpeakInHouse = 0; |
1418 pGUIWindow_CurrentMenu = 0; | 1418 pGUIWindow_CurrentMenu = 0; |
1419 pEventTimer->Resume(); | 1419 pEventTimer->Resume(); |
1420 pCurrentScreen = SCREEN_GAME; | 1420 pCurrentScreen = SCREEN_GAME; |
1421 viewparams->bRedrawGameUI = true; | 1421 viewparams->bRedrawGameUI = true; |
1422 pIcons_LOD->_4355F7(); | 1422 pIcons_LOD->RemoveTexturesFromTextureList(); |
1423 continue; | 1423 continue; |
1424 default: | 1424 default: |
1425 if ( pGUIWindow_Settings ) | 1425 if ( pGUIWindow_Settings ) |
1426 { | 1426 { |
1427 if ( pCurrentScreen == SCREEN_CHARACTERS ) | 1427 if ( pCurrentScreen == SCREEN_CHARACTERS ) |
1445 window_SpeakInHouse = 0; | 1445 window_SpeakInHouse = 0; |
1446 pGUIWindow_CurrentMenu = 0; | 1446 pGUIWindow_CurrentMenu = 0; |
1447 pEventTimer->Resume(); | 1447 pEventTimer->Resume(); |
1448 pCurrentScreen = SCREEN_GAME; | 1448 pCurrentScreen = SCREEN_GAME; |
1449 viewparams->bRedrawGameUI = 1; | 1449 viewparams->bRedrawGameUI = 1; |
1450 pIcons_LOD->_4355F7(); | 1450 pIcons_LOD->RemoveTexturesFromTextureList(); |
1451 continue; | 1451 continue; |
1452 } | 1452 } |
1453 if ( pGUIWindow_Settings ) | 1453 if ( pGUIWindow_Settings ) |
1454 { | 1454 { |
1455 if ( pCurrentScreen == SCREEN_CHARACTERS ) | 1455 if ( pCurrentScreen == SCREEN_CHARACTERS ) |
1473 window_SpeakInHouse = 0; | 1473 window_SpeakInHouse = 0; |
1474 pGUIWindow_CurrentMenu = 0; | 1474 pGUIWindow_CurrentMenu = 0; |
1475 pEventTimer->Resume(); | 1475 pEventTimer->Resume(); |
1476 pCurrentScreen = SCREEN_GAME; | 1476 pCurrentScreen = SCREEN_GAME; |
1477 viewparams->bRedrawGameUI = true; | 1477 viewparams->bRedrawGameUI = true; |
1478 pIcons_LOD->_4355F7(); | 1478 pIcons_LOD->RemoveTexturesFromTextureList(); |
1479 continue; | 1479 continue; |
1480 } | 1480 } |
1481 CharacterUI_ReleaseButtons(); | 1481 CharacterUI_ReleaseButtons(); |
1482 sub_419379(); | 1482 sub_419379(); |
1483 pIcons_LOD->ClearTextureList(); | 1483 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
1484 } | 1484 } |
1485 if ( pGUIWindow_Settings ) | 1485 if ( pGUIWindow_Settings ) |
1486 { | 1486 { |
1487 if ( pCurrentScreen == SCREEN_CHARACTERS ) | 1487 if ( pCurrentScreen == SCREEN_CHARACTERS ) |
1488 { | 1488 { |
1505 window_SpeakInHouse = 0; | 1505 window_SpeakInHouse = 0; |
1506 pGUIWindow_CurrentMenu = 0; | 1506 pGUIWindow_CurrentMenu = 0; |
1507 pEventTimer->Resume(); | 1507 pEventTimer->Resume(); |
1508 pCurrentScreen = SCREEN_GAME; | 1508 pCurrentScreen = SCREEN_GAME; |
1509 viewparams->bRedrawGameUI = true; | 1509 viewparams->bRedrawGameUI = true; |
1510 pIcons_LOD->_4355F7(); | 1510 pIcons_LOD->RemoveTexturesFromTextureList(); |
1511 continue; | 1511 continue; |
1512 } | 1512 } |
1513 if ( !pGUIWindow_Settings )//Draw Menu | 1513 if ( !pGUIWindow_Settings )//Draw Menu |
1514 { | 1514 { |
1515 dword_6BE138 = -1; | 1515 dword_6BE138 = -1; |
2743 { | 2743 { |
2744 pGUIWindow_CurrentMenu->Release(); | 2744 pGUIWindow_CurrentMenu->Release(); |
2745 pEventTimer->Resume(); | 2745 pEventTimer->Resume(); |
2746 viewparams->bRedrawGameUI = 1; | 2746 viewparams->bRedrawGameUI = 1; |
2747 pCurrentScreen = SCREEN_GAME; | 2747 pCurrentScreen = SCREEN_GAME; |
2748 pIcons_LOD->ClearTextureList(); | 2748 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
2749 v103 = quick_spell_at_page + 11 * player->lastOpenedSpellbookPage; | 2749 v103 = quick_spell_at_page + 11 * player->lastOpenedSpellbookPage; |
2750 /*if ( dword_50C9E8 < 40 ) | 2750 /*if ( dword_50C9E8 < 40 ) |
2751 { | 2751 { |
2752 dword_50C9EC[3 * dword_50C9E8] = UIMSG_CastSpellFromBook; | 2752 dword_50C9EC[3 * dword_50C9E8] = UIMSG_CastSpellFromBook; |
2753 dword_50C9EC[3 * dword_50C9E8 + 1] = v103; | 2753 dword_50C9EC[3 * dword_50C9E8 + 1] = v103; |
3545 pMessageQueue_50CBD0->AddMessage(UIMSG_ChangeGameState, 0, 0); | 3545 pMessageQueue_50CBD0->AddMessage(UIMSG_ChangeGameState, 0, 0); |
3546 break; | 3546 break; |
3547 } | 3547 } |
3548 if ( pCurrentScreen == SCREEN_LOADGAME ) | 3548 if ( pCurrentScreen == SCREEN_LOADGAME ) |
3549 { | 3549 { |
3550 pIcons_LOD->ClearTextureList(); | 3550 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
3551 //crt_deconstruct_ptr_6A0118(); | 3551 //crt_deconstruct_ptr_6A0118(); |
3552 pTexture_PCX.Release(); | 3552 pTexture_PCX.Release(); |
3553 pTexture_PCX.Load("title.pcx", 0); | 3553 pTexture_PCX.Load("title.pcx", 0); |
3554 SetCurrentMenuID(MENU_MAIN); | 3554 SetCurrentMenuID(MENU_MAIN); |
3555 v15 = 1; | 3555 v15 = 1; |