mirror of
https://github.com/jummy0/sb2-decomp
synced 2025-03-14 20:23:30 +01:00
Changes
This commit is contained in:
parent
3358f012dd
commit
0d00e1ad1f
@ -1 +1 @@
|
||||
CheckTime = 64 Memory = 2147483647
|
||||
CheckTime = 50 Memory = 2147483647
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,63 +1,206 @@
|
||||
event.cpp
|
||||
blupi.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(480,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(106,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(107,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.h(90,1): warning C4091: 'typedef ': ignored on left of '<unnamed-enum-KEY_NONE>' when no variable is declared
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(249,25): warning C4101: 'targetlevel': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(245,24): warning C4101: 'rcRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(245,18): warning C4101: 'clip': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(249,9): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(248,10): warning C4101: 'posMouse': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(353,8): warning C4101: 'test': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(352,8): warning C4101: 'posMouse': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(619,11): warning C4101: 'dest': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(617,13): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(618,10): warning C4101: 'rect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(655,11): warning C4101: 'rcRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(817,17): warning C4101: 'timeStep': unreferenced local variable
|
||||
button.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\button.cpp(52,12): warning C4101: 'icon': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\button.cpp(52,9): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\button.cpp(107,6): warning C4101: 'toolTips': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\button.cpp(130,8): warning C4101: 'rect': unreferenced local variable
|
||||
decor.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(107,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.h(90,1): warning C4091: 'typedef ': ignored on left of '<unnamed-enum-KEY_NONE>' when no variable is declared
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(25,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(119,8): warning C4101: 'door': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(118,8): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(129,9): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(540,16): warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(565,10): warning C4101: 'text': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(1051,18): warning C4553: '==': result of expression not used; did you intend '='?
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(1286,39): warning C4553: '==': result of expression not used; did you intend '='?
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(1539,9): warning C4553: '==': result of expression not used; did you intend '='?
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6540,8): warning C4101: 'type2': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6573,94): warning C4244: '=': conversion from 'LONG' to 'short', possible loss of data
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6596,6): warning C4101: 'players': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6711,7): warning C4101: 'rect2': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6710,10): warning C4101: 'rect1': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6712,7): warning C4101: 'rect3': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6728,26): warning C4309: '=': truncation of constant value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6729,26): warning C4309: '=': truncation of constant value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6742,25): warning C4309: '=': truncation of constant value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6743,25): warning C4309: '=': truncation of constant value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(6823,13): warning C4101: 'moveObject': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8145,9): warning C4101: 'tinyRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8200,7): warning C4101: 'tinyRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8222,9): warning C4101: 'tinyRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8258,9): warning C4101: 'src3': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8288,9): warning C4101: 'tinyRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8316,9): warning C4101: 'tinyRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8344,9): warning C4101: 'tinyRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8825,9): warning C4553: '==': result of expression not used; did you intend '='?
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(9058,16): warning C4129: '%': unrecognized character escape sequence
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(9062,15): warning C4129: 'w': unrecognized character escape sequence
|
||||
event.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(107,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.h(90,1): warning C4091: 'typedef ': ignored on left of '<unnamed-enum-KEY_NONE>' when no variable is declared
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1240,7): warning C4101: 'menuIndex': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1317,13): warning C4101: 'pos': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1466,13): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1494,13): warning C4101: 'toolTips': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1569,10): warning C4552: '!=': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1774,9): warning C4101: 'data': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1861,8): warning C4101: 'element': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1859,8): warning C4101: 'stream': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1908,57): warning C4101: 'icon': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1908,17): warning C4101: 'world': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1906,17): warning C4101: 'levels': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1908,42): warning C4101: 'volume': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1908,24): warning C4101: 'time': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1907,17): warning C4101: 'types': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1905,17): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1917,17): warning C4101: 'bEnable': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1908,50): warning C4101: 'pente': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1908,34): warning C4101: 'button': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2296,10): warning C4101: 'sound': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2556,21): warning C4101: 'sound': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2726,7): warning C4101: 'bUser': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2751,7): warning C4101: 'bUser': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2797,20): warning C4778: 'sprintf' : unterminated format string '% '
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2797,58): warning C4474: 'sprintf' : too many arguments passed for format string
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,15): warning C4101: 'world': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,28): warning C4101: 'total': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2794,8): warning C4101: 'pTerm': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,45): warning C4101: 'max': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,35): warning C4101: 'music': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2790,18): warning C4101: 'iconDim': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2790,8): warning C4101: 'totalDim': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,22): warning C4101: 'time': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,8): warning C4101: 'index': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2792,8): warning C4101: 'pButtonExist': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2789,42): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2793,8): warning C4101: 'bEnable': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2793,17): warning C4101: 'bHide': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2928,23): warning C4101: 'icon': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2928,14): warning C4101: 'channel': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2927,8): warning C4101: 'cel': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3086,8): warning C4101: 'pDest': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3087,8): warning C4101: 'indic': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3085,8): warning C4101: 'pText': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3088,12): warning C4101: 'h1': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3088,16): warning C4101: 'h2': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3088,8): warning C4101: 'nb': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3197,12): warning C4101: 'world': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3197,25): warning C4101: 'total': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3197,32): warning C4101: 'mission': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3197,19): warning C4101: 'time': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3335,8): warning C4101: 'doors': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2897,1): warning C4715: 'CEvent::ChangePhase': not all control paths return a value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2943,1): warning C4715: 'CEvent::BuildDown': not all control paths return a value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1319,13): warning C4101: 'pos': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1468,13): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1561,10): warning C4552: '!=': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1766,9): warning C4101: 'data': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1853,8): warning C4101: 'element': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1851,8): warning C4101: 'stream': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1904,8): warning C4101: 'textLeft': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1900,57): warning C4101: 'icon': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1900,17): warning C4101: 'world': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1898,17): warning C4101: 'levels': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1910,11): warning C4101: 'phase': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1900,42): warning C4101: 'volume': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1900,24): warning C4101: 'time': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1899,17): warning C4101: 'types': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1909,17): warning C4101: 'bEnable': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1900,50): warning C4101: 'pente': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(1900,34): warning C4101: 'button': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2515,12): warning C4552: '|': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2517,12): warning C4552: '|': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2520,12): warning C4552: '|': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2523,12): warning C4552: '|': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2526,12): warning C4552: '|': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2542,12): warning C4552: '|': result of expression not used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2357,10): warning C4101: 'sound': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2797,21): warning C4101: 'sound': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2922,8): warning C4101: 'pTerm': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2918,29): warning C4101: 'max': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2918,14): warning C4101: 'state': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2918,21): warning C4101: 'volume': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2920,8): warning C4101: 'pButtonExist': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(2918,6): warning C4101: 'button': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3018,7): warning C4101: 'bUser': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3043,7): warning C4101: 'bUser': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3086,8): warning C4101: 'pTerm': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3081,15): warning C4101: 'music': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3090,8): warning C4101: 'res': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3082,18): warning C4101: 'iconDim': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3082,8): warning C4101: 'totalDim': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3083,8): warning C4101: 'filename': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3088,8): warning C4101: 'doors': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3084,8): warning C4101: 'pButtonExist': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3081,25): warning C4101: 'j': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3081,22): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3085,8): warning C4101: 'bEnable': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3089,8): warning C4101: 'text': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3085,17): warning C4101: 'bHide': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3081,28): warning C4101: 'nb': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3262,23): warning C4101: 'icon': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3262,14): warning C4101: 'channel': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3261,8): warning C4101: 'cel': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3393,8): warning C4101: 'pDest': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3394,8): warning C4101: 'indic': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3392,8): warning C4101: 'pText': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3395,12): warning C4101: 'h1': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3395,16): warning C4101: 'h2': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3395,8): warning C4101: 'nb': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3504,12): warning C4101: 'world': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3504,25): warning C4101: 'total': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3504,32): warning C4101: 'mission': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3504,19): warning C4101: 'time': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3642,8): warning C4101: 'doors': unreferenced local variable
|
||||
jauge.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\jauge.cpp(78,26): warning C4293: '<<': shift count negative or too big, undefined behavior
|
||||
menu.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(107,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
misc.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
movie.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
pixmap.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(107,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.h(29,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.h(90,1): warning C4091: 'typedef ': ignored on left of '<unnamed-enum-KEY_NONE>' when no variable is declared
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(249,25): warning C4101: 'targetlevel': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(245,24): warning C4101: 'rcRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(245,18): warning C4101: 'clip': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(249,9): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(248,10): warning C4101: 'posMouse': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(353,8): warning C4101: 'test': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(352,8): warning C4101: 'posMouse': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(619,11): warning C4101: 'dest': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(617,13): warning C4101: 'i': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(618,10): warning C4101: 'rect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(655,11): warning C4101: 'rcRect': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\blupi.cpp(817,17): warning C4101: 'timeStep': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.cpp(954,7): warning C4101: 'image': unreferenced local variable
|
||||
sound.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\resource.h(107,9): warning C4005: 'TX_SHOWNEXT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(69,5): warning C4002: too many arguments for function-like macro invocation 'TRY_DS'
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(259,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(260,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(261,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(262,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(263,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(264,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(265,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(266,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(267,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(268,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(269,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(270,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\sound.cpp(271,3): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion
|
||||
text.cpp
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(241,9): warning C4005: 'MAXMOVEOBJECT': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\def.h(481,9): warning C4005: 'WM_PHASE_PRIVATE': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.h(12,9): warning C4005: 'DIRECTDRAW_VERSION': macro redefinition
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\text.cpp(120,6): warning C4101: 'width': unreferenced local variable
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\text.cpp(119,8): warning C4101: 'pos1': unreferenced local variable
|
||||
Generating Code...
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\pixmap.cpp(654,1): warning C4700: uninitialized local variable 'hErr' used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\event.cpp(3277,1): warning C4715: 'CEvent::BuildDown': not all control paths return a value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(865,1): warning C4700: uninitialized local variable 'thing' used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(5315,1): warning C4715: 'CDecor::BlupiIsGround': not all control paths return a value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(7888,1): warning C4700: uninitialized local variable 'tinyPoint' used
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8266,1): warning C4715: 'CDecor::MoveObjectDetect': not all control paths return a value
|
||||
C:\Users\JonAd\source\repos\HMVocaloid\Speedy-Eggbert-2-Source-Code-Decomp\decor.cpp(8411,1): warning C4700: uninitialized local variable 'moveObject' used
|
||||
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
|
||||
Starting pass 1
|
||||
Processed /DEFAULTLIB:winmm.lib
|
||||
@ -109,7 +252,7 @@ pixmap.obj : warning LNK4006: "unsigned long * * g_threadID" (?g_threadID@@3PAPA
|
||||
pixmap.obj : warning LNK4006: "int g_objectMax" (?g_objectMax@@3HA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "int g_elementMax" (?g_elementMax@@3HA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "int g_blupiMax" (?g_blupiMax@@3HA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "int g_exploMax" (?g_exploMax@@3HA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "int * g_exploMax" (?g_exploMax@@3PAHA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "short * g_object" (?g_object@@3PAFA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "short * g_element" (?g_element@@3PAFA) already defined in blupi.obj; second definition ignored
|
||||
pixmap.obj : warning LNK4006: "short * g_blupiCh" (?g_blupiCh@@3PAFA) already defined in blupi.obj; second definition ignored
|
||||
@ -487,10 +630,12 @@ pixmap.obj : warning LNK4006: "unsigned int g_lastPhase" (?g_lastPhase@@3IA) alr
|
||||
Searching C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\lib\x86\MSVCRTD.lib:
|
||||
Found "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
|
||||
Referenced in blupi.obj
|
||||
Referenced in event.obj
|
||||
Referenced in pixmap.obj
|
||||
Loaded MSVCRTD.lib(new_scalar.obj)
|
||||
Found "void __cdecl operator delete(void *,unsigned int)" (??3@YAXPAXI@Z)
|
||||
Referenced in blupi.obj
|
||||
Referenced in event.obj
|
||||
Referenced in pixmap.obj
|
||||
Loaded MSVCRTD.lib(delete_scalar_size.obj)
|
||||
Found ___report_rangecheckfailure
|
||||
@ -755,17 +900,6 @@ pixmap.obj : warning LNK4006: "unsigned int g_lastPhase" (?g_lastPhase@@3IA) alr
|
||||
Referenced in dsound.lib(DSOUND.dll)
|
||||
Loaded dsound.lib(DSOUND.dll)
|
||||
Searching C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\lib\x86\vcruntimed.lib:
|
||||
Found _memset
|
||||
Referenced in MSVCRTD.lib(utility_desktop.obj)
|
||||
Referenced in network.obj
|
||||
Referenced in pixmap.obj
|
||||
Referenced in sound.obj
|
||||
Referenced in wave.obj
|
||||
Referenced in blupi.obj
|
||||
Referenced in ddutil.obj
|
||||
Referenced in decor.obj
|
||||
Referenced in event.obj
|
||||
Loaded vcruntimed.lib(VCRUNTIME140D.dll)
|
||||
Found _strstr
|
||||
Referenced in blupi.obj
|
||||
Referenced in event.obj
|
||||
@ -782,6 +916,16 @@ pixmap.obj : warning LNK4006: "unsigned int g_lastPhase" (?g_lastPhase@@3IA) alr
|
||||
Referenced in event.obj
|
||||
Referenced in movie.obj
|
||||
Loaded vcruntimed.lib(VCRUNTIME140D.dll)
|
||||
Found _memset
|
||||
Referenced in pixmap.obj
|
||||
Referenced in sound.obj
|
||||
Referenced in wave.obj
|
||||
Referenced in MSVCRTD.lib(utility_desktop.obj)
|
||||
Referenced in ddutil.obj
|
||||
Referenced in decor.obj
|
||||
Referenced in event.obj
|
||||
Referenced in network.obj
|
||||
Loaded vcruntimed.lib(VCRUNTIME140D.dll)
|
||||
Found _memcpy
|
||||
Referenced in decor.obj
|
||||
Referenced in event.obj
|
||||
@ -1327,26 +1471,26 @@ pixmap.obj : warning LNK4006: "unsigned int g_lastPhase" (?g_lastPhase@@3IA) alr
|
||||
/v
|
||||
/x
|
||||
/fo
|
||||
"C:\Users\JonAd\AppData\Local\Temp\lnk{1CC531A7-6BE1-4795-9A13-AFBA69E25027}.tmp"
|
||||
"C:\Users\JonAd\AppData\Local\Temp\lnk{8AA96EE1-1CFA-4510-9DF9-D84B7AAE67B7}.tmp"
|
||||
"C:\Users\JonAd\AppData\Local\Temp\lnk{98FD0423-99C1-4BE8-9E33-D4451369DDD9}.tmp"
|
||||
"C:\Users\JonAd\AppData\Local\Temp\lnk{B03E132D-6905-4640-8933-5A00B1FC93C2}.tmp"
|
||||
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
|
||||
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
|
||||
Using codepage 1252 as default
|
||||
Creating C:\Users\JonAd\AppData\Local\Temp\lnk{1CC531A7-6BE1-4795-9A13-AFBA69E25027}.tmp
|
||||
Creating C:\Users\JonAd\AppData\Local\Temp\lnk{98FD0423-99C1-4BE8-9E33-D4451369DDD9}.tmp
|
||||
|
||||
|
||||
C:\Users\JonAd\AppData\Local\Temp\lnk{8AA96EE1-1CFA-4510-9DF9-D84B7AAE67B7}.tmp.
|
||||
C:\Users\JonAd\AppData\Local\Temp\lnk{B03E132D-6905-4640-8933-5A00B1FC93C2}.tmp.
|
||||
Writing 24:1, lang:0x409, size 381
|
||||
Invoking cvtres.exe:
|
||||
/machine:x86
|
||||
/verbose
|
||||
/out:"C:\Users\JonAd\AppData\Local\Temp\lnk{1F3B9A1E-D8E0-438E-9FB4-716384BB5EA7}.tmp"
|
||||
/out:"C:\Users\JonAd\AppData\Local\Temp\lnk{1166C1B4-9E29-4466-B17C-3FFB54577887}.tmp"
|
||||
/readonly
|
||||
"Speedy E.e424a3cb\Debug\Eggbert2.res"
|
||||
"C:\Users\JonAd\AppData\Local\Temp\lnk{1CC531A7-6BE1-4795-9A13-AFBA69E25027}.tmp"
|
||||
"C:\Users\JonAd\AppData\Local\Temp\lnk{98FD0423-99C1-4BE8-9E33-D4451369DDD9}.tmp"
|
||||
Microsoft (R) Windows Resource To Object Converter Version 14.40.33811.0
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15
blupi.cpp
15
blupi.cpp
@ -73,7 +73,7 @@ LPDWORD* g_threadID;
|
||||
int g_objectMax;
|
||||
int g_elementMax;
|
||||
int g_blupiMax;
|
||||
int g_exploMax;
|
||||
int g_exploMax[100];
|
||||
short g_object[6];
|
||||
short g_element[6];
|
||||
short g_blupiCh[6];
|
||||
@ -375,7 +375,6 @@ void SetDecor()
|
||||
g_pEvent->DrawButtons();
|
||||
g_lastPhase = phase;
|
||||
g_pPixmap->MouseBackDraw();
|
||||
return;
|
||||
}
|
||||
|
||||
BOOL RestoreGame()
|
||||
@ -724,7 +723,7 @@ static BOOL DoInit(HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
|
||||
ChangeSprite(SPRITE_WAIT);
|
||||
|
||||
ZeroMemory(&g_pPixmap, sizeof(7068));
|
||||
//ZeroMemory(&g_pPixmap, sizeof(7068));
|
||||
|
||||
if (!bOK)
|
||||
{
|
||||
@ -757,7 +756,7 @@ static BOOL DoInit(HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
g_pPixmap->SetTrueColor(TRUE);
|
||||
g_pPixmap->SetTrueColorDecor(TRUE);
|
||||
|
||||
ZeroMemory(&g_pSound, sizeof(644));
|
||||
//ZeroMemory(&g_pSound, sizeof(644));
|
||||
|
||||
g_pSound = new CSound;
|
||||
if (g_pSound == NULL) return InitFail("New sound", TRUE);
|
||||
@ -766,21 +765,21 @@ static BOOL DoInit(HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
g_pSound->CacheAll();
|
||||
g_pSound->SetState(TRUE);
|
||||
|
||||
ZeroMemory(&g_pMovie, sizeof(164));
|
||||
//ZeroMemory(&g_pMovie, sizeof(164));
|
||||
|
||||
g_pMovie = new CMovie;
|
||||
if (g_pMovie == NULL) return InitFail("New movie", FALSE);
|
||||
|
||||
g_pMovie->Create();
|
||||
|
||||
ZeroMemory(&g_pDecor, sizeof(156448));
|
||||
//ZeroMemory(&g_pDecor, sizeof(156448));
|
||||
|
||||
g_pDecor = new CDecor;
|
||||
if (g_pDecor == NULL) return InitFail("New decor", FALSE);
|
||||
|
||||
g_pDecor->Create(g_hWnd, g_pSound, g_pPixmap, g_pNetwork);
|
||||
|
||||
ZeroMemory(&g_pEvent, sizeof(39904));
|
||||
//ZeroMemory(&g_pEvent, sizeof(39904));
|
||||
|
||||
g_pEvent = new CEvent;
|
||||
if (g_pEvent == NULL) return InitFail("New event", FALSE);
|
||||
@ -790,7 +789,7 @@ static BOOL DoInit(HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
g_pEvent->SetMouseType(g_mouseType);
|
||||
g_pEvent->ChangePhase(WM_PHASE_INIT);
|
||||
|
||||
ZeroMemory(&g_pNetwork, sizeof(20));
|
||||
//ZeroMemory(&g_pNetwork, sizeof(20));
|
||||
|
||||
g_pNetwork = new CNetwork;
|
||||
if (g_pNetwork == NULL) return InitFail("New network", FALSE);
|
||||
|
122
button.cpp
122
button.cpp
@ -46,7 +46,7 @@ CButton::~CButton()
|
||||
// Create a new Button
|
||||
|
||||
BOOL CButton::Create(HWND hWnd, CPixmap *pPixmap, CSound *pSound,
|
||||
POINT pos, int type, int* pMenu, int nbMenu, int *pToolTips, int nbToolTips, BOOL bMinimizeRedraw, int region, UINT message)
|
||||
POINT pos, int type, BOOL bMinimizeRedraw, UINT message)
|
||||
{
|
||||
POINT iconDim;
|
||||
int i, icon;
|
||||
@ -57,110 +57,66 @@ BOOL CButton::Create(HWND hWnd, CPixmap *pPixmap, CSound *pSound,
|
||||
};
|
||||
|
||||
if ( type < 0 || type > 0 ) return FALSE;
|
||||
|
||||
|
||||
iconDim.x = ttypes[type*2+0];
|
||||
iconDim.y = ttypes[type*2+1];
|
||||
iconDim.x = ttypes[type * 2 + 0];
|
||||
iconDim.y = ttypes[type * 2 + 1];
|
||||
|
||||
m_hWnd = hWnd;
|
||||
m_pPixmap = pPixmap;
|
||||
m_pSound = pSound;
|
||||
m_type = type;
|
||||
m_bMinimizeRedraw = bMinimizeRedraw;
|
||||
m_bEnable = TRUE;
|
||||
m_bHide = FALSE;
|
||||
m_bSomething = FALSE;
|
||||
m_message = message;
|
||||
m_pos.x = pos.x;
|
||||
m_pos.y = pos.y;
|
||||
m_dim.x = iconDim.x;
|
||||
m_dim.y = iconDim.y;
|
||||
m_nbMenu = nbMenu;
|
||||
m_nbToolTips = nbToolTips;
|
||||
m_selMenu = 0;
|
||||
m_state = 0;
|
||||
m_mouseState = 0;
|
||||
m_bMouseDown = FALSE;
|
||||
m_bRedraw = TRUE;
|
||||
|
||||
/* Do we need this yet?
|
||||
///////////////////////////////////////////////////
|
||||
for ( i=0 ; i<nbMenu ; i++ )
|
||||
{
|
||||
icon = pMenu[i];
|
||||
|
||||
if ( region == 1 ) // palmiers ?
|
||||
{
|
||||
if ( icon == 0 ) icon = 90; // sol normal
|
||||
if ( icon == 1 ) icon = 91; // sol inflammable
|
||||
if ( icon == 2 ) icon = 92; // sol inculte
|
||||
if ( icon == 7 ) icon = 9; // plante
|
||||
if ( icon == 8 ) icon = 10; // arbre
|
||||
}
|
||||
|
||||
if ( region == 2 ) // hiver ?
|
||||
{
|
||||
if ( icon == 0 ) icon = 96; // sol normal
|
||||
if ( icon == 1 ) icon = 97; // sol inflammable
|
||||
if ( icon == 2 ) icon = 98; // sol inculte
|
||||
if ( icon == 8 ) icon = 99; // arbre
|
||||
}
|
||||
|
||||
if ( region == 3 ) // sapin ?
|
||||
{
|
||||
if ( icon == 0 ) icon = 102; // sol normal
|
||||
if ( icon == 1 ) icon = 103; // sol inflammable
|
||||
if ( icon == 2 ) icon = 104; // sol inculte
|
||||
if ( icon == 8 ) icon = 105; // arbre
|
||||
}
|
||||
|
||||
m_iconMenu[i] = icon;
|
||||
}
|
||||
|
||||
for ( i=0 ; i<nbToolTips ; i++ )
|
||||
{
|
||||
m_toolTips[i] = pToolTips[i];
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
/////////////////////////////////////////////////////
|
||||
*/
|
||||
m_hWnd = hWnd;
|
||||
m_pPixmap = pPixmap;
|
||||
m_pSound = pSound;
|
||||
m_type = type;
|
||||
m_bMinimizeRedraw = bMinimizeRedraw;
|
||||
m_bEnable = TRUE;
|
||||
m_bHide = FALSE;
|
||||
m_bSomething = FALSE;
|
||||
m_message = message;
|
||||
m_pos.x = pos.x;
|
||||
m_pos.y = pos.y;
|
||||
m_dim.x = iconDim.x;
|
||||
m_dim.y = iconDim.y;
|
||||
m_nbMenu = 0;
|
||||
m_nbToolTips = 0;
|
||||
m_selMenu = 0;
|
||||
m_state = 0;
|
||||
m_mouseState = 0;
|
||||
m_bMouseDown = FALSE;
|
||||
m_bRedraw = TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// Space for unknown menu function.
|
||||
|
||||
void CButton::SetSomethingMenu(int* icon, int somethingMenu)
|
||||
void CButton::SetIconMenu(int* icon, int iconMenu)
|
||||
{
|
||||
int i = somethingMenu;
|
||||
int* iconMenu;
|
||||
int menu;
|
||||
int i = iconMenu;
|
||||
int* iconMenu2;
|
||||
|
||||
if (somethingMenu > 0)
|
||||
if (0 < iconMenu)
|
||||
{
|
||||
for (i = 0; i < somethingMenu; i++)
|
||||
iconMenu2 = m_iconMenu;
|
||||
for (i = 0; i < iconMenu; i++)
|
||||
{
|
||||
icon++;
|
||||
m_iconMenu[i] = (int)icon;
|
||||
m_iconMenu[i] = icon[i];
|
||||
}
|
||||
}
|
||||
m_nbMenu = somethingMenu;
|
||||
m_nbMenu = iconMenu;
|
||||
}
|
||||
|
||||
void CButton::MenuToolTips(int* menu, int menuTooltips)
|
||||
void CButton::SetToolTips(int* menu, int menuTooltips)
|
||||
{
|
||||
int toolTips;
|
||||
int* menuTool;
|
||||
int i;
|
||||
|
||||
if (menuTooltips > 0)
|
||||
if (0 < menuTooltips)
|
||||
{
|
||||
menuTool = m_toolTips;
|
||||
i = menuTooltips;
|
||||
do
|
||||
for (i = 0; i < menuTooltips; i++)
|
||||
{
|
||||
toolTips = *menu++;
|
||||
*menuTool++ = toolTips;
|
||||
--i;
|
||||
} while (i);
|
||||
menu++;
|
||||
m_toolTips[i] = menu[i];
|
||||
}
|
||||
}
|
||||
m_nbToolTips = menuTooltips;
|
||||
}
|
||||
|
6
button.h
6
button.h
@ -15,9 +15,9 @@ public:
|
||||
~CButton();
|
||||
|
||||
BOOL Create(HWND hWnd, CPixmap *pPixmap, CSound *pSound,
|
||||
POINT pos, int type, int* pMenu, int nbMenu, int* pToolTips, int nbToolTips, BOOL bMinimizeRedraw, int region, UINT message);
|
||||
void SetSomethingMenu(int* icon, int somethingMenu);
|
||||
void MenuToolTips(int* menu, int menuTooltips);
|
||||
POINT pos, int type, BOOL bMinimizeRedraw, UINT message);
|
||||
void SetIconMenu(int* icon, int iconMenu);
|
||||
void SetToolTips(int* menu, int menuTooltips);
|
||||
void Draw();
|
||||
void Redraw();
|
||||
|
||||
|
64
decor.cpp
64
decor.cpp
@ -1162,6 +1162,7 @@ void CDecor::AdaptDoors(BOOL bPrivate, int mission)
|
||||
POINT pos;
|
||||
POINT pos2;
|
||||
int i;
|
||||
int p;
|
||||
|
||||
m_bPrivate = bPrivate;
|
||||
m_mission = mission;
|
||||
@ -1170,12 +1171,13 @@ void CDecor::AdaptDoors(BOOL bPrivate, int mission)
|
||||
pos.y = 0;
|
||||
pos2.x = 0;
|
||||
pos2.y = 0;
|
||||
p = bPrivate;
|
||||
|
||||
if (bPrivate == FALSE)
|
||||
{
|
||||
if (mission == 1)
|
||||
{
|
||||
do
|
||||
for (p = 0; p < 20; p++)
|
||||
{
|
||||
if ((SearchDoor(bPrivate, pos2, pos) != FALSE) && ((*(char*)((int)m_lastDecorIcon + bPrivate + 0xFFFFFF) == '\0' ||
|
||||
(m_bCheatDoors != FALSE))))
|
||||
@ -1199,7 +1201,7 @@ void CDecor::AdaptDoors(BOOL bPrivate, int mission)
|
||||
PlaySoundB(SOUND_33_DOOR, m_moveObject[i]->posStart, 0);
|
||||
}
|
||||
bPrivate = bPrivate + TRUE;
|
||||
} while ((int)bPrivate < 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -6610,7 +6612,7 @@ void CDecor::NotifPop()
|
||||
|
||||
notifText = m_notifText;
|
||||
i = 3;
|
||||
do
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
string = strlen((const char*)(i + 100)) + 1;
|
||||
num = (int)notifText + 100 + string++;
|
||||
@ -6619,7 +6621,7 @@ void CDecor::NotifPop()
|
||||
string += 100;
|
||||
memcpy(num3, num2, string - 1);
|
||||
--i;
|
||||
} while (i);
|
||||
}
|
||||
if (i == 0)
|
||||
{
|
||||
m_notifText[3][0] = '\0';
|
||||
@ -6721,9 +6723,7 @@ void CDecor::NetDataFlush()
|
||||
playerPackets = m_netPlayerPacketsRecieved;
|
||||
net = (LONG*)m_netVitesses[0].y;
|
||||
|
||||
i = 4;
|
||||
|
||||
while (i != 0)
|
||||
for (i = 0; i < 4; i++)
|
||||
{
|
||||
m_netPacketIcon.icon = 65535;
|
||||
m_netPacketIcon.type = 65535;
|
||||
@ -9091,50 +9091,12 @@ BOOL CDecor::CurrentRead(int gamer, int mission, BOOL bUser)
|
||||
/*
|
||||
BOOL CDecor::MissionStart(int gamer, int rank, BOOL bUser)
|
||||
{
|
||||
char filename[MAX_PATH];
|
||||
int* pBuffer;
|
||||
FILE* stream;
|
||||
int num;
|
||||
Cellule(*pDecor)[100];
|
||||
char filename[MAX_PATH];
|
||||
FILE* file = NULL;
|
||||
DescFile* pBuffer = NULL;
|
||||
int majRev, minRev;
|
||||
int nb, i, x, y;
|
||||
|
||||
pBuffer = NULL;
|
||||
sprintf(filename, "data\\s%.3d-%.3d.blp", gamer, rank);
|
||||
AddUserPath(filename);
|
||||
stream = fopen(filename, "wb");
|
||||
|
||||
if (!stream)
|
||||
{
|
||||
pBuffer = (int*)malloc(57008);
|
||||
if (pBuffer == NULL) if (stream != NULL) fclose(stream);
|
||||
}
|
||||
|
||||
if (pBuffer)
|
||||
{
|
||||
memset(pBuffer, 0, 57008);
|
||||
*pBuffer = 57008;
|
||||
pBuffer[1] = 1;
|
||||
pBuffer[2] = 4;
|
||||
pBuffer[3] = 0;
|
||||
memcpy(pBuffer + 53, m_decor, 20000);
|
||||
memcpy(pBuffer + 5053, m_bigDecor, 20000);
|
||||
memcpy(pBuffer + 10053, m_balleTraj, 1300);
|
||||
memcpy(pBuffer + 10378, m_moveTraj, 1300);
|
||||
memcpy(pBuffer + 10703, m_moveObject, 9600);
|
||||
pBuffer[13153] = m_posDecor.x;
|
||||
pBuffer[13154] = m_posDecor.y;
|
||||
pBuffer[13155] = m_dimDecor.x;
|
||||
pBuffer[13156] = m_dimDecor.y;
|
||||
pBuffer[13157] = m_phase;
|
||||
pBuffer[13158] = m_term;
|
||||
pBuffer[13159] = m_music;
|
||||
pBuffer[13160] = m_region;
|
||||
pBuffer[13161] = m_time;
|
||||
memcpy(pBuffer + 13162, m_missionTitle, 100);
|
||||
pBuffer[13237] = m_nbRankCaisse;
|
||||
memcpy(pBuffer + 13238, m_rankCaisse, 804);
|
||||
pBuffer[13438] = m_nbLinkCaisse;
|
||||
memcpy(pBuffer + 13439, m_linkCaisse, 800);
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
@ -9182,7 +9144,7 @@ BOOL CDecor::Read(int gamer, int rank, BOOL* pbMission, BOOL* pbPrivate)
|
||||
m_posDecor.y = ptr[13154];
|
||||
m_dimDecor.x = ptr[13155];
|
||||
m_dimDecor.y = ptr[13156];
|
||||
m_phase = (WMessage)ptr[13157];
|
||||
m_phase = ptr[13157];
|
||||
m_term = ptr[13158];
|
||||
m_music = ptr[13159];
|
||||
m_region = ptr[13160];
|
||||
|
17
decor.h
17
decor.h
@ -297,16 +297,17 @@ typedef struct
|
||||
{
|
||||
short majRev;
|
||||
short minRev;
|
||||
short reserve1[100];
|
||||
BOOL bDemo;
|
||||
short reserve1[98];
|
||||
POINT posDecor;
|
||||
POINT dimDecor;
|
||||
short world;
|
||||
POINT dimDecor;
|
||||
short world;
|
||||
short music;
|
||||
short region;
|
||||
short reserve2[51];
|
||||
POINT blupiPos[4];
|
||||
int blupiDir[4];
|
||||
char name[100];
|
||||
short reserve2[50];
|
||||
POINT blupiPos[100];
|
||||
int blupiDir[100];
|
||||
char libelle[100];
|
||||
short reserve3[196];
|
||||
}
|
||||
DescFile;
|
||||
@ -789,7 +790,7 @@ protected:
|
||||
BOOL m_blupiRestart;
|
||||
POINT m_worldDims;
|
||||
POINT m_selectedCelPos;
|
||||
WMessage m_phase;
|
||||
int m_phase;
|
||||
int m_voyagePhase;
|
||||
POINT m_sucettePos;
|
||||
int m_sucetteType;
|
||||
|
14
def.h
14
def.h
@ -252,6 +252,7 @@
|
||||
#define WM_DECOR3 (WM_USER+22)
|
||||
#define WM_DECOR4 (WM_USER+23)
|
||||
#define WM_DECOR5 (WM_USER+24)
|
||||
#define WM_DECOR11 1054
|
||||
|
||||
|
||||
#define WM_ACTION_GO (WM_USER+30)
|
||||
@ -429,7 +430,7 @@
|
||||
#define WM_PHASE_TERM (WM_USER+507)
|
||||
#define WM_PHASE_WIN (WM_USER+508)
|
||||
#define WM_PHASE_LOST (WM_USER+509)
|
||||
#define WM_PHASE_STOP (WM_USER+510)
|
||||
|
||||
|
||||
#define WM_PHASE_MUSIC (WM_USER+512)
|
||||
#define WM_PHASE_PLAYMOVIE (WM_USER+513)
|
||||
@ -443,7 +444,7 @@
|
||||
#define WM_PHASE_INSERT (WM_USER+521)
|
||||
#define WM_PHASE_HISTORY0 (WM_USER+522)
|
||||
#define WM_PHASE_HISTORY1 (WM_USER+523)
|
||||
#define WM_PHASE_HELP (WM_USER+524)
|
||||
#define WM_PHASE_HELP 1583
|
||||
#define WM_PHASE_H0MOVIE (WM_USER+525)
|
||||
#define WM_PHASE_H1MOVIE (WM_USER+526)
|
||||
#define WM_PHASE_H2MOVIE (WM_USER+527)
|
||||
@ -454,7 +455,7 @@
|
||||
#define WM_PHASE_BYE (WM_USER+532)
|
||||
#define WM_PHASE_SKILL1 (WM_USER+533)
|
||||
#define WM_PHASE_SKILL2 (WM_USER+534)
|
||||
#define WM_PHASE_DEMO (WM_USER+535)
|
||||
#define WM_PHASE_DEMO 1557
|
||||
#define WM_PHASE_INTRO1 (WM_USER+536)
|
||||
#define WM_PHASE_INTRO2 (WM_USER+537)
|
||||
#define WM_PHASE_PLAYTEST (WM_USER+538)
|
||||
@ -479,9 +480,12 @@
|
||||
#define WM_PHASE_WINMOVIEm 1551
|
||||
#define WM_PHASE_PRIVATE 1554
|
||||
#define WM_PHASE_NAMEd 1558
|
||||
#define WM_PHASE_WRITEd 1559
|
||||
#define WM_PHASE_READd 1560
|
||||
#define WM_PHASE_CONFIRM 1562
|
||||
#define WM_PHASE_YES 1563
|
||||
#define WM_PHASE_61C 1564
|
||||
#define WM_PHASE_61F 1567
|
||||
#define WM_PHASE_SERVICE 1568
|
||||
#define WM_PHASE_DPLAY_DO_SERVICE 1569
|
||||
#define WM_PHASE_DPLAY_CANCEL_SERVICE 1570
|
||||
@ -491,7 +495,11 @@
|
||||
#define WM_PHASE_DPLAY_REFRESH 1574
|
||||
#define WM_PHASE_DPLAY_CANCEL_SESSION 1575
|
||||
#define WM_PHASE_MULTI 1576
|
||||
#define WM_PHASE_DPLAY_START_GAME_2 1577
|
||||
#define WM_PHASE_DPLAY_CANCEL_MULTI 1578
|
||||
#define WM_PHASE_DPLAY_CREATE 1580
|
||||
#define WM_PHASE_DPLAY_CANCEL_CREATE 1581
|
||||
#define WM_PHASE_STOP 1582
|
||||
#define WM_PHASE_634 1588
|
||||
#define WM_PHASE_GWRITE 1584
|
||||
#define WM_PHASE_GREADp 1585
|
||||
|
651
event.cpp
651
event.cpp
@ -117,23 +117,23 @@ static Phase table[] =
|
||||
FALSE,
|
||||
{
|
||||
{
|
||||
WM_PHASE_DEMO,
|
||||
WM_PHASE_GAMER,
|
||||
0, {1,48},
|
||||
86, 410,
|
||||
{1,TX_BUTTON_APPRENDRE},
|
||||
},
|
||||
{
|
||||
WM_PHASE_DEMO,
|
||||
0, {1,84},
|
||||
128, 410,
|
||||
{1,TX_BUTTON_DEMO},
|
||||
},
|
||||
{
|
||||
WM_PHASE_BYE,
|
||||
//? WM_CLOSE,
|
||||
0, {1,84},
|
||||
128, 410,
|
||||
{1,TX_BUTTON_QUITTER},
|
||||
},
|
||||
{
|
||||
WM_PHASE_SCHOOL,
|
||||
0, {1,6},
|
||||
21, 410,
|
||||
{1,TX_BUTTON_APPRENDRE},
|
||||
540, 410,
|
||||
{1,TX_BUTTON_QUITTER},
|
||||
},
|
||||
{
|
||||
0
|
||||
@ -450,7 +450,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_SETUPp,
|
||||
"image16\\setup.blp",
|
||||
"setup.blp",
|
||||
FALSE,
|
||||
{
|
||||
{
|
||||
@ -517,7 +517,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_READ,
|
||||
"image16\\read.blp",
|
||||
"read.blp",
|
||||
FALSE,
|
||||
{
|
||||
{
|
||||
@ -594,7 +594,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_WRITE,
|
||||
"image16\\write.blp",
|
||||
"write.blp",
|
||||
FALSE,
|
||||
{
|
||||
{
|
||||
@ -671,7 +671,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_WRITEp,
|
||||
"image16\\write.blp",
|
||||
"write.blp",
|
||||
FALSE,
|
||||
{
|
||||
{
|
||||
@ -748,7 +748,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_LOST,
|
||||
"image16\\lost.blp",
|
||||
"lost.blp",
|
||||
TRUE,
|
||||
{
|
||||
{
|
||||
@ -860,7 +860,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_BUTTON,
|
||||
"image16\\button00.blp",
|
||||
"button00.blp",
|
||||
TRUE,
|
||||
{
|
||||
{
|
||||
@ -1206,7 +1206,7 @@ static Phase table[] =
|
||||
|
||||
{
|
||||
WM_PHASE_INSERT,
|
||||
"image\\insert.blp",
|
||||
"insert.blp",
|
||||
FALSE,
|
||||
{
|
||||
//? {
|
||||
@ -1242,6 +1242,8 @@ CEvent::CEvent()
|
||||
|
||||
CMenu(m_menu);
|
||||
|
||||
new CButton;
|
||||
|
||||
m_somethingJoystick = 0;
|
||||
m_bFullScreen = TRUE;
|
||||
m_mouseType = MOUSETYPEGRA;
|
||||
@ -1488,46 +1490,36 @@ void CEvent::FlushInput()
|
||||
|
||||
BOOL CEvent::CreateButtons()
|
||||
{
|
||||
int i = 0, message, num = 0, size;
|
||||
int num3 = 0;
|
||||
int* iconMenu;
|
||||
POINT pos, toolTips;
|
||||
BOOL bMinimizeRedraw = FALSE;
|
||||
CButton* button;
|
||||
int i = 0, message, nb;
|
||||
POINT pos;
|
||||
BOOL bMinimizeRedraw = FALSE;
|
||||
|
||||
size = m_phase * sizeof(Phase);
|
||||
button = m_buttons;
|
||||
|
||||
|
||||
if (table[m_index].buttons[0].message != 0)
|
||||
while (table[m_index].buttons[i].message != 0)
|
||||
{
|
||||
pos.x = table[m_index].buttons[i].x;
|
||||
pos.y = table[m_index].buttons[i].y;
|
||||
message = table[m_index].buttons[i].message;
|
||||
|
||||
while (table[m_index].buttons[1].iconMenu + -8 != 0)
|
||||
m_buttons[i].Create(m_hWnd, m_pPixmap, m_pSound, pos,
|
||||
table[m_index].buttons[i].type,
|
||||
bMinimizeRedraw,
|
||||
message);
|
||||
|
||||
nb = table[m_index].buttons[i].iconMenu[0];
|
||||
if (!m_bAccessBuild &&
|
||||
m_phase == WM_PHASE_BUILD &&
|
||||
message == WM_DECOR11)
|
||||
{
|
||||
pos.x = table[m_index].buttons[i].x;
|
||||
pos.y = table[m_index].buttons[i].y;
|
||||
|
||||
message = table[m_index].buttons[i].message;
|
||||
|
||||
m_buttons[i].Create(m_hWnd, m_pPixmap, m_pSound, pos,
|
||||
table[m_index].buttons[i].type,
|
||||
table[m_index].buttons[i].iconMenu + size,
|
||||
table[m_index].buttons[i].iconMenu[0],
|
||||
table[m_index].buttons[i].toolTips + size,
|
||||
table[m_index].buttons[i].toolTips[0],
|
||||
bMinimizeRedraw, m_pDecor->GetRegion(), message);
|
||||
|
||||
iconMenu = table[m_index].buttons[i].iconMenu + (m_phase * sizeof(Phase));
|
||||
if (((m_bAccessBuild == FALSE) && (m_phase == WM_PHASE_BUILD)) && (message == 1054))
|
||||
{
|
||||
iconMenu++;
|
||||
}
|
||||
m_buttons->SetSomethingMenu(table[m_index].buttons[i].iconMenu + i + 4, *(int*)iconMenu);
|
||||
m_buttons->MenuToolTips(table[m_index].buttons[i].toolTips + i + 4, *(int*)table[m_index].buttons[i].toolTips + i);
|
||||
nb -= 6; // voir (*+)
|
||||
}
|
||||
|
||||
m_buttons[i].SetIconMenu(table[m_index].buttons[i].iconMenu + 1, nb);
|
||||
m_buttons[i].SetToolTips(table[m_index].buttons[i].toolTips + 1,
|
||||
table[m_index].buttons[i].toolTips[0]);
|
||||
i++;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
}
|
||||
|
||||
void CEvent::ReadInput()
|
||||
@ -1805,27 +1797,27 @@ void CEvent::ChatSend()
|
||||
void CEvent::ChatMessageSound(char* data)
|
||||
{
|
||||
int num;
|
||||
int i = 0;
|
||||
char (*chatZone);
|
||||
char(*chat)[5];
|
||||
POINT pos;
|
||||
|
||||
num = 3;
|
||||
chatZone = m_chatZone[0];
|
||||
do
|
||||
for (i = 0; i < 6; i++)
|
||||
{
|
||||
if (chatZone = '\0')
|
||||
if (chatZone == '\0')
|
||||
{
|
||||
chat = m_chatZone + num * 20;
|
||||
goto error;
|
||||
chat = m_chatZone + i * 20;
|
||||
goto LABEL;
|
||||
}
|
||||
num++;
|
||||
chatZone = chatZone + 100;
|
||||
} while (num < 6);
|
||||
}
|
||||
HandleChatBuffer();
|
||||
chat = (char(*) [5])m_text;
|
||||
return;
|
||||
|
||||
error:
|
||||
LABEL:
|
||||
strcpy((char*)chat, data);
|
||||
pos.x = 320;
|
||||
pos.y = 240;
|
||||
@ -1949,9 +1941,9 @@ BOOL CEvent::DrawButtons()
|
||||
}
|
||||
m_pDecor->OutputNetDebug(text);
|
||||
|
||||
phase = m_phase;
|
||||
|
||||
if (((phase != WM_PHASE_PLAY) && (phase != WM_PHASE_PLAYTEST)) && (phase != WM_PHASE_BUILD))
|
||||
|
||||
if (((m_phase != WM_PHASE_PLAY) && (m_phase != WM_PHASE_PLAYTEST)) && (m_phase != WM_PHASE_BUILD))
|
||||
{
|
||||
rect.right = 302;
|
||||
rect.left = 2;
|
||||
@ -1961,13 +1953,24 @@ BOOL CEvent::DrawButtons()
|
||||
pos.y = 2;
|
||||
m_pPixmap->DrawPart(-1, 0, pos, rect, 1, FALSE);
|
||||
}
|
||||
DrawTextLeft(m_pPixmap, pos, textLeft, 10);
|
||||
pos.x = 2;
|
||||
pos.y = 2;
|
||||
DrawTextLeft(m_pPixmap, pos, text, 10);
|
||||
|
||||
if (m_phase == WM_PHASE_INIT)
|
||||
{
|
||||
pos.x = 158;
|
||||
pos.y = 446;
|
||||
DrawTextB(m_pPixmap, pos, (char*)"Version 2.0", FONTLITTLE);
|
||||
}
|
||||
|
||||
i = 0;
|
||||
while (table[m_index].buttons[i].message != 0)
|
||||
{
|
||||
m_buttons[i].Draw();
|
||||
i++;
|
||||
}
|
||||
|
||||
if (m_phase == WM_PHASE_GAMER)
|
||||
{
|
||||
LoadString(TX_CHOOSEGAMER, res, 100);
|
||||
@ -2004,6 +2007,64 @@ BOOL CEvent::DrawButtons()
|
||||
pos.y = 190;
|
||||
DrawTextLeft(m_pPixmap, pos, res, FONTSLIM);
|
||||
}
|
||||
|
||||
if (m_phase == WM_PHASE_NAMEg)
|
||||
{
|
||||
LoadString(TX_CHOOSEPLAYER, res, 100);
|
||||
lg = GetTextWidth(res, 0);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 102;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 1);
|
||||
LoadString(TX_WRITENAME, res, 100);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 190;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 0);
|
||||
pos.x = 320;
|
||||
pos.y = 232;
|
||||
PutTextInputBox(pos);
|
||||
}
|
||||
|
||||
if (m_phase == WM_PHASE_CLEARg)
|
||||
{
|
||||
LoadString(TX_CHOOSEGAMER, res, 100);
|
||||
lg = GetTextWidth(res, 0);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 102;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 1);
|
||||
LoadString(TX_DISCARDGAME, res, 100);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 210;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 0);
|
||||
strcpy(res, m_gamerName);
|
||||
strcat(res, " ?");
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 230;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 0);
|
||||
}
|
||||
|
||||
if (m_phase == WM_PHASE_CLEARd)
|
||||
{
|
||||
LoadString(TX_DESIGNMISSION, res, 100);
|
||||
lg = GetTextWidth(res, 0);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 104;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 1);
|
||||
LoadString(TX_DELETEMISSION, res, 100);
|
||||
GetWorld();
|
||||
sprintf(text, res);
|
||||
lg = GetTextWidth(text, 0);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 210;
|
||||
DrawTextLeft(m_pPixmap, pos, text, 0);
|
||||
strcpy(res, m_pDecor->GetMissionTitle());
|
||||
if (res[0] == '\0') LoadString(TX_NONAME, res, 100);
|
||||
strcat(res, " ?");
|
||||
lg = GetTextWidth(res, 0);
|
||||
pos.x = 320 - lg / 2;
|
||||
pos.y = 230;
|
||||
DrawTextLeft(m_pPixmap, pos, res, 0);
|
||||
}
|
||||
|
||||
if (m_phase == WM_PHASE_SETUP || m_phase == WM_PHASE_SETUPp)
|
||||
{
|
||||
sound = m_pSound->GetAudioVolume();
|
||||
@ -2308,7 +2369,7 @@ BOOL CEvent::TreatEventBase(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
if (m_posCheat == 0)
|
||||
{
|
||||
m_rankCheat = -1;
|
||||
|
||||
|
||||
for (i = 0; i < 9; i++)
|
||||
{
|
||||
if ((char)wParam == cheat_code[i][0])
|
||||
@ -2363,87 +2424,267 @@ BOOL CEvent::TreatEventBase(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
switch (wParam)
|
||||
{
|
||||
case VK_END:
|
||||
DemoRecStop();
|
||||
case VK_END:
|
||||
DemoRecStop();
|
||||
return TRUE;
|
||||
case VK_ESCAPE:
|
||||
if (m_bRunMovie)
|
||||
{
|
||||
StopMovie();
|
||||
m_pSound->SetSuspendSkip(1);
|
||||
return TRUE;
|
||||
case VK_ESCAPE:
|
||||
if (m_bRunMovie)
|
||||
}
|
||||
if (m_phase = WM_PHASE_PLAY)
|
||||
{
|
||||
if ((m_bPrivate == FALSE) && (m_bMulti == FALSE))
|
||||
{
|
||||
StopMovie();
|
||||
m_pSound->SetSuspendSkip(1);
|
||||
if (m_mission == 1)
|
||||
{
|
||||
return ChangePhase(WM_PHASE_GAMER);
|
||||
}
|
||||
if ((m_mission % 10 == 0) && (m_mission != 10))
|
||||
{
|
||||
SetMission(1);
|
||||
m_phase = WM_PHASE_PLAY;
|
||||
return ChangePhase(WM_PHASE_PLAY);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((m_phase != WM_PHASE_GREADp) && (m_phase != WM_PHASE_GWRITE))
|
||||
{
|
||||
if ((m_phase == WM_PHASE_SETUP) ||
|
||||
(((m_phase == WM_PHASE_NAMEg || (m_phase == WM_PHASE_HELP)) || (m_phase == WM_PHASE_GREAD))))
|
||||
{
|
||||
ChangePhase(WM_PHASE_GAMER);
|
||||
return TRUE;
|
||||
}
|
||||
if (((m_phase == WM_PHASE_SETUPp) || (m_phase == WM_PHASE_HELP)) || (m_phase == WM_PHASE_STOP))
|
||||
{
|
||||
ChangePhase(WM_PHASE_PLAY);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase != WM_PHASE_PLAYTEST)
|
||||
{
|
||||
if (m_phase != WM_PHASE_SETUP)
|
||||
if (((m_phase != WM_PHASE_LOST) && (m_phase != WM_PHASE_LOSTd)) &&
|
||||
((m_phase != WM_PHASE_BUILD &&
|
||||
((((m_phase != WM_PHASE_REGION && (m_phase != WM_PHASE_NAMEd)) && (m_phase != WM_PHASE_MUSIC))
|
||||
&& ((m_phase != WM_PHASE_READd && (m_phase != WM_PHASE_WRITEd))))))))
|
||||
{
|
||||
if (m_phase != WM_PHASE_NAMEg)
|
||||
if ((m_phase == WM_PHASE_INFO) || (m_phase == WM_PHASE_WINm))
|
||||
{
|
||||
if (m_phase == WM_PHASE_NAMEd)
|
||||
{
|
||||
m_pDecor->SetGamerName(m_textInput);
|
||||
ChangePhase(WM_PHASE_INFO);
|
||||
return TRUE;
|
||||
}
|
||||
if ((m_phase == WM_PHASE_INIT) || (m_phase == WM_PHASE_WINm)) ChangePhase(WM_PHASE_GAMER); return TRUE;
|
||||
if ((m_phase == WM_PHASE_BUILD) || ((m_phase == WM_PHASE_LOSTd || m_phase == WM_PHASE_LOST))) ChangePhase(WM_PHASE_INFO); return TRUE;
|
||||
if (((m_phase != WM_PHASE_INFO) && (m_phase != WM_PHASE_STOP)) && (m_phase != WM_PHASE_HELP))
|
||||
{
|
||||
if (m_phase == WM_PHASE_SERVICE)
|
||||
{
|
||||
ChangePhase(WM_PHASE_DPLAY_DO_SERVICE);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_CREATE)
|
||||
{
|
||||
ChangePhase(WM_PHASE_DPLAY_CREATE);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_MULTI)
|
||||
{
|
||||
ChatSend();
|
||||
return TRUE;
|
||||
}
|
||||
if (((m_phase != WM_PHASE_GREAD) && (m_phase != WM_PHASE_GREADp)) || ((m_fileIndex < 0 || LoadState(m_fileIndex) == FALSE)))
|
||||
{
|
||||
if (m_phase != WM_PHASE_GWRITE) return TRUE;
|
||||
|
||||
if (m_fileIndex < 0) return TRUE;
|
||||
|
||||
if (SaveState(m_fileIndex) == FALSE) return TRUE;
|
||||
}
|
||||
}
|
||||
ChangePhase(WM_PHASE_GAMER);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_GAMER)
|
||||
{
|
||||
ChangePhase(WM_PHASE_INIT);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_SERVICE)
|
||||
{
|
||||
ChangePhase(WM_PHASE_DPLAY_CANCEL_SERVICE);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_SESSION)
|
||||
{
|
||||
ChangePhase(WM_PHASE_DPLAY_CANCEL_SESSION);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_CREATE)
|
||||
{
|
||||
ChangePhase(WM_PHASE_DPLAY_CANCEL_MULTI);
|
||||
return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_BYE)
|
||||
{
|
||||
PostMessageA(m_hWnd, WM_CLOSE, 0, 0);
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
strcpy(m_gamerName, m_textInput);
|
||||
ChangePhase(WM_PHASE_INFO);
|
||||
return TRUE;
|
||||
}
|
||||
ChangePhase(WM_PHASE_608);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
ChangePhase(WM_PHASE_STOP);
|
||||
return TRUE;
|
||||
case VK_SHIFT:
|
||||
m_input | KEY_FIRE;
|
||||
case VK_LEFT:
|
||||
m_input | KEY_LEFT;
|
||||
break;
|
||||
case VK_UP:
|
||||
m_input | KEY_UP;
|
||||
break;
|
||||
case VK_RIGHT:
|
||||
m_input | KEY_RIGHT;
|
||||
break;
|
||||
case VK_DOWN:
|
||||
m_input | KEY_DOWN;
|
||||
break;
|
||||
case VK_HOME:
|
||||
return TRUE;
|
||||
case VK_SPACE:
|
||||
if (m_bRunMovie)
|
||||
{
|
||||
StopMovie();
|
||||
m_pSound->SetSuspendSkip(1);
|
||||
return TRUE;
|
||||
}
|
||||
case VK_PAUSE:
|
||||
m_bPause = !m_bPause;
|
||||
NetSetPause((m_pDecor->GetPause()), m_bPause);
|
||||
return TRUE;
|
||||
case VK_CONTROL:
|
||||
m_input | KEY_JUMP;
|
||||
break;
|
||||
case VK_F1:
|
||||
if (m_phase == WM_PHASE_PLAY)
|
||||
{
|
||||
ChangePhase(WM_PHASE_HELP);
|
||||
return TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
case VK_F2:
|
||||
if (m_phase == WM_PHASE_PLAY)
|
||||
{
|
||||
ChangePhase(WM_PHASE_SETUPp);
|
||||
return TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
case VK_F3:
|
||||
if (m_phase == WM_PHASE_PLAY)
|
||||
{
|
||||
ChangePhase(WM_PHASE_GWRITE);
|
||||
return TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
case VK_F4:
|
||||
if (m_phase == WM_PHASE_PLAY)
|
||||
{
|
||||
ChangePhase(WM_PHASE_GREADp);
|
||||
return TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (m_phase != WM_PHASE_PLAY && m_phase != WM_PHASE_PLAYTEST)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
// Unknown Function
|
||||
|
||||
switch (wParam)
|
||||
{
|
||||
case WM_RBUTTONDOWN:
|
||||
m_bMouseDown = TRUE;
|
||||
MouseSprite(pos);
|
||||
if (EventButtons(message, wParam, lParam)) return TRUE;
|
||||
if (m_phase == WM_PHASE_BUILD)
|
||||
case WM_KEYUP:
|
||||
switch (wParam)
|
||||
{
|
||||
if (BuildDown(pos, fwKeys)) return TRUE;
|
||||
}
|
||||
if (m_phase == WM_PHASE_PLAY)
|
||||
{
|
||||
// if (PlayDown(pos, fwKeys)) return TRUE;
|
||||
case VK_CONTROL:
|
||||
m_bCtrlDown = FALSE;
|
||||
m_bFillMouse = FALSE;
|
||||
MouseSprite(GetMousePos());
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_RBUTTONDOWN:
|
||||
m_bMousePress = TRUE;
|
||||
MouseSprite(pos);
|
||||
if (EventButtons(message, wParam, lParam)) return TRUE;
|
||||
break;
|
||||
case WM_MOUSEMOVE:
|
||||
if (m_mouseType == MOUSETYPEGRA)
|
||||
{
|
||||
if (m_bShowMouse)
|
||||
{
|
||||
ShowCursor(FALSE);
|
||||
m_pPixmap->MouseShow(TRUE);
|
||||
m_bShowMouse = FALSE;
|
||||
}
|
||||
}
|
||||
if (m_mouseType == MOUSETYPEWINPOS &&
|
||||
(pos.x != m_oldMousePos.x ||
|
||||
pos.y != m_oldMousePos.y))
|
||||
{
|
||||
m_oldMousePos = pos;
|
||||
ClientToScreen(m_hWnd, &m_oldMousePos);
|
||||
SetCursorPos(m_oldMousePos.x, m_oldMousePos.y);
|
||||
}
|
||||
m_oldMousePos = pos;
|
||||
|
||||
MouseSprite(pos);
|
||||
if (EventButtons(message, wParam, lParam)) return TRUE;
|
||||
break;
|
||||
|
||||
case WM_NCMOUSEMOVE:
|
||||
if (m_mouseType == MOUSETYPEGRA)
|
||||
{
|
||||
if (!m_bShowMouse)
|
||||
{
|
||||
ShowCursor(TRUE);
|
||||
m_pPixmap->MouseShow(FALSE);
|
||||
m_bShowMouse = TRUE;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case WM_RBUTTONUP:
|
||||
m_bMousePress = FALSE;
|
||||
if (EventButtons(message, wParam, lParam)) return TRUE;
|
||||
break;
|
||||
case WM_PHASE_INIT:
|
||||
case WM_PHASE_PLAY:
|
||||
case WM_PHASE_BUILD:
|
||||
case WM_PHASE_NAMEg:
|
||||
case WM_PHASE_CLEARg:
|
||||
case WM_PHASE_INFO:
|
||||
case WM_PHASE_PLAYTEST:
|
||||
case WM_PHASE_SETUP:
|
||||
case WM_PHASE_MUSIC:
|
||||
case WM_PHASE_PLAYMOVIE:
|
||||
case WM_PHASE_WINMOVIE:
|
||||
case WM_PHASE_SETUPp:
|
||||
case WM_PHASE_REGION:
|
||||
case WM_PHASE_GAMER:
|
||||
case WM_PHASE_WINMOVIEd:
|
||||
case WM_PHASE_WINMOVIEm:
|
||||
case WM_PHASE_BYE:
|
||||
case WM_PHASE_NAMEd:
|
||||
case WM_PHASE_WRITEd:
|
||||
case WM_PHASE_READd:
|
||||
case WM_PHASE_CLEARd:
|
||||
case WM_PHASE_SERVICE:
|
||||
case WM_PHASE_DPLAY_DO_SERVICE:
|
||||
case WM_PHASE_DPLAY_CANCEL_SERVICE:
|
||||
case WM_PHASE_SESSION:
|
||||
case WM_PHASE_JOINGAME:
|
||||
case WM_PHASE_DPLAY_CREATE_LOBBY:
|
||||
case WM_PHASE_DPLAY_REFRESH:
|
||||
case WM_PHASE_DPLAY_CANCEL_SESSION:
|
||||
case WM_PHASE_MULTI:
|
||||
case WM_PHASE_DPLAY_START_GAME_2:
|
||||
case WM_PHASE_DPLAY_CANCEL_MULTI:
|
||||
case WM_PHASE_CREATE:
|
||||
case WM_PHASE_DPLAY_CREATE:
|
||||
case WM_PHASE_DPLAY_CANCEL_CREATE:
|
||||
case WM_PHASE_STOP:
|
||||
case WM_PHASE_HELP:
|
||||
case WM_PHASE_GWRITE:
|
||||
case WM_PHASE_GREADp:
|
||||
case WM_PHASE_GREAD:
|
||||
case WM_PHASE_DOQUIT:
|
||||
case WM_PHASE_634:
|
||||
if (ChangePhase(message) != FALSE)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
case WM_PHASE_PRIVATE:
|
||||
m_bPrivate = TRUE;
|
||||
if (ChangePhase(WM_PHASE_INFO) != FALSE)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
case WM_PHASE_DEMO:
|
||||
m_demoNumber = 0;
|
||||
DemoPlayStart();
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -2672,6 +2913,57 @@ BOOL CEvent::IsMulti()
|
||||
return m_bMulti;
|
||||
}
|
||||
|
||||
void CEvent::ChangeButtons(int message)
|
||||
{
|
||||
int button, state, volume, max;
|
||||
int i;
|
||||
char* pButtonExist;
|
||||
char playerName[260];
|
||||
Term* pTerm;
|
||||
|
||||
if (((m_phase == WM_PHASE_GAMER) && (WM_BUTTON0 < message)) && (WM_BUTTON11 > message))
|
||||
{
|
||||
m_gamer = message + 0x4c8;
|
||||
for (i = 0; i < 10; i++)
|
||||
{
|
||||
SetState(i + WM_BUTTON1, m_gamer + -1 == i);
|
||||
}
|
||||
ReadInfo(m_gamer);
|
||||
}
|
||||
if ((m_phase == WM_PHASE_NAMEg) && (message == WM_PHASE_CONFIRM))
|
||||
{
|
||||
strcpy(m_gamerName, m_textInput);
|
||||
WriteInfo(m_gamer, playerName);
|
||||
}
|
||||
if ((m_phase == WM_PHASE_NAMEd) && (message == WM_PHASE_61C))
|
||||
{
|
||||
m_pDecor->SetGamerName(m_textInput);
|
||||
ChangePhase(WM_PHASE_INFO);
|
||||
}
|
||||
if ((m_phase == WM_PHASE_CLEARg) && (message == WM_PHASE_YES))
|
||||
{
|
||||
ReadPlayer(m_gamer);
|
||||
ChangePhase(WM_PHASE_GAMER);
|
||||
}
|
||||
if ((m_phase == WM_PHASE_CLEARd) && (message == WM_PHASE_61F))
|
||||
{
|
||||
m_pDecor->SomethingMissionPath(m_gamer, GetWorld(), m_bAccessBuild == FALSE);
|
||||
ChangePhase(WM_PHASE_INFO);
|
||||
}
|
||||
if (m_phase == WM_PHASE_MUSIC)
|
||||
{
|
||||
m_pDecor->SetMusic(message + ~WM_BUTTON0);
|
||||
ChangePhase(m_phase);
|
||||
}
|
||||
if (m_phase == WM_PHASE_REGION)
|
||||
{
|
||||
if ((WM_BUTTON0 < message) && (WM_BUTTON33 > message))
|
||||
{
|
||||
m_pDecor->SetRegion(message + ~WM_BUTTON0);
|
||||
ChangePhase(m_phase);
|
||||
}
|
||||
}
|
||||
}
|
||||
int CEvent::GetWorldGroup()
|
||||
{
|
||||
int mission;
|
||||
@ -2786,26 +3078,30 @@ void CEvent::SomethingUserMissions(char* lpFilename, LPCSTR fileSomething)
|
||||
|
||||
BOOL CEvent::ChangePhase(UINT phase)
|
||||
{
|
||||
int index, world, time, total, music, i, max, mission;
|
||||
int index, music, i, j, nb, oldPhase;
|
||||
POINT totalDim, iconDim;
|
||||
char filename[MAX_PATH];
|
||||
char* pButtonExist;
|
||||
BOOL bEnable, bHide;
|
||||
Term* pTerm;
|
||||
char* playerName;
|
||||
char doors[200];
|
||||
char text[100];
|
||||
char res[100];
|
||||
|
||||
sprintf(filename, "CEvent::ChangePhase [Begin] --- % ", phase);
|
||||
OutputNetDebug(filename);
|
||||
|
||||
// sprintf(filename, "CEvent::ChangePhase [Begin] --- % ", phase - WM_USER);
|
||||
// OutputNetDebug(filename);
|
||||
if (phase == WM_PHASE_634)
|
||||
{
|
||||
PostMessageA(m_hWnd, 16, 0, 0);
|
||||
PostMessageA(m_hWnd, 16, 0, 0);
|
||||
return TRUE;
|
||||
}
|
||||
m_pDecor->SetSpeedY(m_bDemoPlay);
|
||||
if (m_mouseType == MOUSETYPEGRA && m_bFullScreen != 0)
|
||||
if (m_mouseType == MOUSETYPEGRA && m_bFullScreen)
|
||||
{
|
||||
ShowCursor(FALSE);
|
||||
m_bShowMouse = FALSE;
|
||||
ShowCursor(TRUE);
|
||||
m_bShowMouse = TRUE;
|
||||
}
|
||||
if (phase == WM_PHASE_608)
|
||||
{
|
||||
@ -2813,9 +3109,9 @@ BOOL CEvent::ChangePhase(UINT phase)
|
||||
phase = WM_PHASE_BUILD;
|
||||
}
|
||||
|
||||
if (m_bDemoPlay == 0 &&
|
||||
if (m_bDemoPlay == FALSE &&
|
||||
phase == WM_PHASE_PLAY ||
|
||||
phase == WM_PHASE_PLAY ||
|
||||
m_phase == WM_PHASE_PLAY ||
|
||||
phase == WM_PHASE_STOP ||
|
||||
phase == WM_PHASE_SETUP ||
|
||||
phase == WM_PHASE_HELP ||
|
||||
@ -2828,19 +3124,29 @@ BOOL CEvent::ChangePhase(UINT phase)
|
||||
|
||||
m_textToolTips[0] = 0;
|
||||
m_posToolTips.x = -1;
|
||||
m_pDecor->SetPause(FALSE);
|
||||
m_bPause = FALSE;
|
||||
m_bCtrlDown = FALSE;
|
||||
m_bMouseDown = FALSE;
|
||||
m_bInfoHelp = FALSE;
|
||||
m_bHiliInfoButton = FALSE;
|
||||
m_bHiliHelpButton = FALSE;
|
||||
|
||||
if ((((((m_bMulti != FALSE) && (phase != WM_PHASE_PLAY)) && (phase != WM_PHASE_DOQUIT)) && ((phase != WM_PHASE_STOP && (phase != WM_PHASE_SETUPp)))) && ((phase != WM_PHASE_HELP && ((phase != WM_PHASE_GREAD && (phase != WM_PHASE_GREADp)))))) && (phase != WM_PHASE_GWRITE))
|
||||
{
|
||||
//m_pNetwork->Close();
|
||||
m_bMulti = FALSE;
|
||||
m_pDecor->SetMulti(FALSE);
|
||||
}
|
||||
|
||||
if (phase == WM_PHASE_INIT)
|
||||
if (m_phase == WM_PHASE_INIT)
|
||||
{
|
||||
m_demoTime = 0;
|
||||
}
|
||||
|
||||
if (phase == WM_PHASE_PLAY)
|
||||
{
|
||||
if (((m_bDemoPlay == FALSE) && (mission = GetWorld(), 299 < mission)) && (mission = GetWorld(), mission < LXIMAGE / 2))
|
||||
if (((m_bDemoPlay == FALSE) && (index = GetWorld(), 299 < index)) && (index = GetWorld(), index < LXIMAGE / 2))
|
||||
{
|
||||
DemoRecStart();
|
||||
}
|
||||
@ -2854,6 +3160,7 @@ BOOL CEvent::ChangePhase(UINT phase)
|
||||
{
|
||||
if (m_bPrivate == FALSE)
|
||||
{
|
||||
int mission;
|
||||
mission = m_mission;
|
||||
if (mission != 1)
|
||||
{
|
||||
@ -2866,24 +3173,36 @@ BOOL CEvent::ChangePhase(UINT phase)
|
||||
mission = (mission / 10) * 10;
|
||||
}
|
||||
SetMission(m_mission);
|
||||
m_phase = (WMessage)WM_PHASE_PLAY;
|
||||
m_phase = WM_PHASE_PLAY;
|
||||
|
||||
return ChangePhase(WM_PHASE_PLAY);
|
||||
}
|
||||
return ChangePhase(WM_PHASE_GAMER);
|
||||
}
|
||||
}
|
||||
else if (m_bMulti == 0)
|
||||
|
||||
|
||||
if (phase == WM_PHASE_DPLAY_DO_SERVICE)
|
||||
{
|
||||
return ChangePhase(WM_PHASE_INFO);
|
||||
if (NetCreate(m_fileIndex) != FALSE)
|
||||
{
|
||||
m_pNetwork->FreeProviderList();
|
||||
if (NetEnumSessions() != FALSE)
|
||||
return ChangePhase(WM_PHASE_SESSION);
|
||||
}
|
||||
m_pNetwork->FreeProviderList();
|
||||
return ChangePhase(WM_PHASE_SERVICE);
|
||||
}
|
||||
|
||||
CreateButtons();
|
||||
|
||||
if (SearchPhase(phase) < 0)
|
||||
if (phase == WM_PHASE_DPLAY_CANCEL_SERVICE)
|
||||
{
|
||||
return 0;
|
||||
m_pNetwork->FreeProviderList();
|
||||
return ChangePhase(WM_PHASE_GAMER);
|
||||
}
|
||||
|
||||
index = SearchPhase(phase);
|
||||
if (index < 0) return FALSE;
|
||||
|
||||
m_pPixmap->MouseInvalidate();
|
||||
HideMouse(FALSE);
|
||||
WaitMouse(TRUE);
|
||||
@ -2894,6 +3213,21 @@ BOOL CEvent::ChangePhase(UINT phase)
|
||||
WriteInfo(m_gamer, playerName);
|
||||
}
|
||||
|
||||
oldPhase = m_phase;
|
||||
m_phase = phase;
|
||||
m_index = index;
|
||||
|
||||
if ((((oldPhase == WM_PHASE_BUILD) && (phase == WM_PHASE_INFO)) || (oldPhase == WM_PHASE_REGION)) || ((oldPhase == WM_PHASE_NAMEd || (oldPhase == WM_PHASE_MUSIC))))
|
||||
{
|
||||
//m_pDecor->CurrentWrite(m_gamer, GetWorld(), (m_bAccessBuild == FALSE));
|
||||
}
|
||||
|
||||
CreateButtons();
|
||||
m_bMenu = FALSE;
|
||||
m_menu.Delete();
|
||||
|
||||
WaitMouse(FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
UINT CEvent::GetPhase()
|
||||
@ -2991,7 +3325,6 @@ BOOL CEvent::BuildUp(POINT pos, int fwKeys)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
void CEvent::TryPhase()
|
||||
{
|
||||
m_tryPhase = 1;
|
||||
@ -3009,32 +3342,6 @@ int CEvent::GetTryPhase()
|
||||
return m_tryPhase;
|
||||
}
|
||||
|
||||
void CEvent::GetDoors(int doors)
|
||||
{
|
||||
for (int i = 0; i < 200; i++)
|
||||
{
|
||||
doors[i] = (int)data[Gamer];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CEvent::TableSomething()
|
||||
{
|
||||
char filename[MAX_PATH];
|
||||
|
||||
if (strstr(filename, table[m_index].backName))
|
||||
{
|
||||
AddCDPath(filename);
|
||||
}
|
||||
if (!m_pPixmap->CacheAll(CHBACK, filename, totalDim, iconDim, FALSE, GetRegion()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
BOOL CEvent::StartMovie(char* pFilename)
|
||||
{
|
||||
RECT rect;
|
||||
@ -3428,13 +3735,13 @@ error:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL CEvent::ReadPlayer()
|
||||
BOOL CEvent::ReadPlayer(int gamer)
|
||||
{
|
||||
char filename[MAX_PATH];
|
||||
|
||||
m_playerIndex = 0;
|
||||
|
||||
strcpy(filename, "data\\info%.3d.blp");
|
||||
sprintf(filename, "data\\info%.3d.blp", gamer);
|
||||
AddUserPath(filename);
|
||||
remove(filename);
|
||||
return TRUE;
|
||||
|
2
event.h
2
event.h
@ -215,7 +215,7 @@ protected:
|
||||
void TryPhase();
|
||||
void UnTryPhase();
|
||||
int GetTryPhase();
|
||||
BOOL ReadPlayer();
|
||||
BOOL ReadPlayer(int gamer);
|
||||
void PutTextInputBox(POINT pos);
|
||||
|
||||
|
||||
|
66
pixmap.cpp
66
pixmap.cpp
@ -308,6 +308,7 @@ BOOL CPixmap::Restore()
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
void CPixmap::QuickIcon(int channel, int rank, POINT pos)
|
||||
{
|
||||
int num;
|
||||
@ -376,7 +377,7 @@ void CPixmap::QuickIcon(int channel, int rank, POINT pos)
|
||||
rect.bottom = rect.top + rect.bottom;
|
||||
goto LABEL_1;
|
||||
}
|
||||
if (g_exploMax <= rank)
|
||||
if ((int)g_exploMax <= rank)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -432,6 +433,7 @@ LABEL_1:
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Initialise la palette syst<73>me.
|
||||
|
||||
BOOL CPixmap::InitSysPalette()
|
||||
@ -999,11 +1001,11 @@ BOOL CPixmap::CacheAll(BOOL cache, HWND hWnd, BOOL bFullScreen, BOOL bTrueColor,
|
||||
}
|
||||
else
|
||||
{
|
||||
*(char*)image = (LXIMAGE) << 64;
|
||||
|
||||
rect.right = LXIMAGE;
|
||||
rect.bottom = LYIMAGE;
|
||||
rect.left = LOWORD(image);
|
||||
rect.top = HIWORD(image);
|
||||
rect.right = HIWORD(image);
|
||||
rect.left = 0;
|
||||
rect.top = 0;
|
||||
DrawImage(0, 0, rect, 1);
|
||||
Display();
|
||||
}
|
||||
@ -1250,6 +1252,8 @@ BOOL CPixmap::DrawIcon(int chDst, int channel, int rank, POINT pos,
|
||||
int mode, BOOL bMask)
|
||||
{
|
||||
int nbx, nby;
|
||||
short rank1, rank2, rank3, rank4;
|
||||
LONG lRank5;
|
||||
RECT rect;
|
||||
HRESULT ddrval;
|
||||
COLORREF oldColor1, oldColor2;
|
||||
@ -1260,13 +1264,25 @@ BOOL CPixmap::DrawIcon(int chDst, int channel, int rank, POINT pos,
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
rank1 = g_object[rank * 6];
|
||||
rank2 = g_object[rank * 6 + 1];
|
||||
rank3 = g_object[rank * 6 + 3];
|
||||
rank4 = g_object[rank * 6 + 4] + rank1;
|
||||
lRank5 = g_object[rank * 6 + 5] + rank2;
|
||||
pos.x = pos.x + g_object[rank * +2];
|
||||
}
|
||||
else if (channel == CHELEMENT)
|
||||
{
|
||||
if (g_elementMax <= rank) {
|
||||
return FALSE;
|
||||
}
|
||||
rank1 = g_element[rank * 6];
|
||||
rank2 = g_element[rank * 6 + 1];
|
||||
rank3 = g_element[rank * 6 + 3];
|
||||
rank4 = g_element[rank * 6 + 4] + rank1;
|
||||
lRank5 = g_element[rank * 6 + 5] + rank2;
|
||||
pos.x = pos.x + g_element[rank * 6 + 2];
|
||||
|
||||
}
|
||||
else if (channel == CHBLUPI ||
|
||||
channel == CHBLUPI1 ||
|
||||
@ -1277,38 +1293,46 @@ BOOL CPixmap::DrawIcon(int chDst, int channel, int rank, POINT pos,
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
rank1 = g_blupiCh[rank * 6];
|
||||
rank2 = g_blupiCh[rank * 6 + 1];
|
||||
rank3 = g_blupiCh[rank * 6 + 4] + rank1;
|
||||
rank4 = g_blupiCh[rank * 6 + 5] + rank2;
|
||||
lRank5 = g_blupiCh[rank * 6 + 2];
|
||||
pos.x = pos.x + g_blupiCh[rank * 6 + 2];
|
||||
}
|
||||
else
|
||||
{
|
||||
if (channel != CHEXPLO)
|
||||
{
|
||||
nbx = m_totalDim[channel].x / m_iconDim[channel].x;
|
||||
nby = m_totalDim[channel].y / m_iconDim[channel].y;
|
||||
|
||||
if (channel < 0 || channel >= MAXIMAGE) return FALSE;
|
||||
if (m_lpDDSurface[channel] == NULL) return FALSE;
|
||||
if (m_iconDim[channel].x == 0 ||
|
||||
m_iconDim[channel].y == 0) return FALSE;
|
||||
nbx = m_totalDim[channel].x / m_iconDim[channel].x;
|
||||
nby = m_totalDim[channel].y / m_iconDim[channel].y;
|
||||
if (rank < 0 || rank >= nbx * nby) return FALSE;
|
||||
|
||||
}
|
||||
|
||||
if ((int)g_exploMax <= rank) return FALSE;
|
||||
|
||||
rank1 = g_explo[rank * 6];
|
||||
rank2 = g_explo[rank * 6 + 1];
|
||||
rank3 = g_explo[rank * 6 + 4] + rank1;
|
||||
rank4 = g_explo[rank * 6 + 4] + rank2;
|
||||
lRank5 = g_explo[rank * 6 + 2];
|
||||
pos.x = pos.x + g_explo[rank * 6 + 2];
|
||||
}
|
||||
if (g_exploMax <= rank) return FALSE;
|
||||
|
||||
if ( channel < 0 || channel >= MAXIMAGE ) return FALSE;
|
||||
if ( m_lpDDSurface[channel] == NULL ) return FALSE;
|
||||
|
||||
if ( m_iconDim[channel].x == 0 ||
|
||||
m_iconDim[channel].y == 0 ) return FALSE;
|
||||
pos.y = pos.y + rank3;
|
||||
|
||||
nbx = m_totalDim[channel].x / m_iconDim[channel].x;
|
||||
nby = m_totalDim[channel].y / m_iconDim[channel].y;
|
||||
|
||||
if ( rank < 0 || rank >= nbx*nby ) return FALSE;
|
||||
|
||||
rect.left = (rank%nbx)*m_iconDim[channel].x;
|
||||
rect.top = (rank/nbx)*m_iconDim[channel].y;
|
||||
rect.right = rect.left + m_iconDim[channel].x;
|
||||
rect.bottom = rect.top + m_iconDim[channel].y;
|
||||
rect.left = (rank % nbx) * m_iconDim[channel].x;
|
||||
rect.top = (rank / nbx) * m_iconDim[channel].y;
|
||||
rect.right = rect.left + m_iconDim[channel].x;
|
||||
rect.bottom = rect.top + m_iconDim[channel].y;
|
||||
|
||||
oldColor1 = m_colorSurface[2*channel+0];
|
||||
oldColor2 = m_colorSurface[2*channel+1];
|
||||
|
@ -79,6 +79,7 @@
|
||||
#define TX_BUTTON_SETUP7 156
|
||||
#define TX_BUTTON_SETUP8 157
|
||||
#define TX_READINFO 167
|
||||
#define TX_WRITENAME 172
|
||||
#define TX_CONFIRM 174
|
||||
#define TX_CANCEL 175
|
||||
#define TX_YES 176
|
||||
|
Loading…
x
Reference in New Issue
Block a user