New feature: Minigames are interactive actions that happen in a dedicated screen. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=347722&#msg_347722

GameDir >= r2350 is required.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8346 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-12-11 12:43:41 +00:00
parent ea9d5f74a5
commit d08b4d13b9
30 changed files with 1478 additions and 29 deletions
+19 -1
View File
@@ -140,6 +140,9 @@ CursorFileData CursorFileDatabase[] =
{"CURSORS\\sodamachine.sti" , FALSE, 0, ANIMATED_CURSOR, 3, NULL}, // Flugente: soda machine
{"CURSORS\\sodamachine_r.sti" , FALSE, 0, ANIMATED_CURSOR, 3, NULL},
{"CURSORS\\minigame.sti" , FALSE, 0, ANIMATED_CURSOR, 3, NULL}, // Flugente: minigames
{"CURSORS\\minigame_r.sti" , FALSE, 0, ANIMATED_CURSOR, 3, NULL},
{ "CURSORS\\can_01.sti" , FALSE, 0, 0, 0, NULL },
{ "CURSORS\\can_02.sti" , FALSE, 0, 0, 0, NULL },
{ "CURSORS\\cur_tagr_ncth.sti" , FALSE, 0, ANIMATED_CURSOR, 7, NULL },
@@ -1290,7 +1293,7 @@ CursorData CursorDatabase[] =
0, 0, 0, 0, 0,
2, CENTER_CURSOR, CENTER_CURSOR, 0, 0, 0, 0},
// Flugente: soad machine
// Flugente: soda machine
{C_TRINGS, 6, 0, HIDE_SUBCURSOR, HIDE_SUBCURSOR,
C_SODAMACHINE, 0, 0, CENTER_SUBCURSOR, CENTER_SUBCURSOR,
0, 0, 0, 0, 0,
@@ -1304,6 +1307,21 @@ CursorData CursorDatabase[] =
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
2, CENTER_CURSOR, CENTER_CURSOR, 0, 0, 0, 0},
// Flugente: minigames
{C_TRINGS, 6, 0, HIDE_SUBCURSOR, HIDE_SUBCURSOR,
C_MINIGAME, 0, 0, CENTER_SUBCURSOR, CENTER_SUBCURSOR,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
2, CENTER_CURSOR, CENTER_CURSOR, 0, 0, 0, 0},
{C_TRINGS, 6, 0, HIDE_SUBCURSOR, HIDE_SUBCURSOR,
C_MINIGAME_RED, 0, 0, CENTER_SUBCURSOR, CENTER_SUBCURSOR,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
2, CENTER_CURSOR, CENTER_CURSOR, 0, 0, 0, 0},
{ C_TRINGS, 6, 0, HIDE_SUBCURSOR, HIDE_SUBCURSOR,
C_FUEL , 0, 0, CENTER_SUBCURSOR, CENTER_SUBCURSOR,
+5
View File
@@ -174,6 +174,9 @@ typedef enum
CURSOR_SODAMACHINE,
CURSOR_SODAMACHINE_RED,
CURSOR_MINIGAME,
CURSOR_MINIGAME_RED,
CURSOR_FUEL,
CURSOR_FUEL_RED,
@@ -261,6 +264,8 @@ typedef enum
C_WATERTAP_RED,
C_SODAMACHINE,
C_SODAMACHINE_RED,
C_MINIGAME,
C_MINIGAME_RED,
C_FUEL,
C_FUEL_RED,
C_ACTIONMODERED_NCTH,
+1
View File
@@ -11184,6 +11184,7 @@ STR16 szInteractiveActionText[] =
L"%s 没有足够的钱。那真让人难为情",//L"%s doesn't have enough money. That's just embarassing.",
L"%s 从水龙头喝水",//L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
// WANNE: Some Chinese specific strings that needs to be in unicode!
+1
View File
@@ -11202,6 +11202,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
#endif //DUTCH
+1
View File
@@ -11185,6 +11185,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.",
};
#endif //ENGLISH
+1
View File
@@ -11184,6 +11184,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
#endif //FRENCH
+3 -2
View File
@@ -10986,8 +10986,8 @@ STR16 szWeatherTypeText[] = // TODO.Translate
STR16 szSnakeText[] =
{
L"%s evaded a snake attack!",
L"%s was attacked by a snake!",
L"%s weicht Schlangenangriff aus!",
L"%s wurde von Schlange angegriffen!",
};
STR16 szSMilitiaResourceText[] =
@@ -11014,6 +11014,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
#endif //GERMAN
+1
View File
@@ -11193,6 +11193,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
#endif //ITALIAN
+1
View File
@@ -11206,6 +11206,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
#endif //POLISH
+1
View File
@@ -11185,6 +11185,7 @@ STR16 szInteractiveActionText[] =
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
L"This machine doesn't seem to be working.", // TODO.Translate
};
#endif //RUSSIAN