Commit Graph

138 Commits

Author SHA1 Message Date
Strangerke
33ef3352ce KINGDOM; Fix a bug in checkMainScreen(), implement a difference of the demo 2020-06-07 00:02:29 +02:00
Strangerke
ce6c1a2255 KINGDOM: Add a comment about a change in the demo, in displayIcon 2020-06-07 00:02:29 +02:00
Strangerke
317c2970a1 KINGDOM: Add comments related to a difference in the demo version 2020-06-07 00:02:29 +02:00
Strangerke
c4cc901c63 KINGDOM: add change in setATimer for the demo 2020-06-07 00:02:29 +02:00
Strangerke
ecacfbda0c KINGDOM: Finish the renaming of functions 2020-06-07 00:02:29 +02:00
Strangerke
3aeb4fb80b KINGDOM: Function renaming 2020-06-07 00:02:29 +02:00
Strangerke
2e925fb50c KINGDOM: Some renaming, consistently use boolean values for _pouch 2020-06-07 00:02:29 +02:00
Strangerke
99974e1b3d KINGDOM: Initial all variables like in the original 2020-06-07 00:02:29 +02:00
Strangerke
fb1ba7ea4d KINGDOM: Last renaming of class variables 2020-06-07 00:02:29 +02:00
Strangerke
c6b5280185 KINGDOM: Some more renaming 2020-06-07 00:02:29 +02:00
Strangerke
6fb6ca9ac1 KINGDOM: More renaming, ensure some boolean variables don't use numeric values 2020-06-07 00:02:29 +02:00
Strangerke
1aab6bbd0e KINGDOM: Use SearchMan, simplify filename arrays accordingly 2020-06-07 00:02:29 +02:00
Strangerke
ece26af631 KINGDOM: Partial implementation of PlayMovie, some more renaming 2020-06-07 00:02:29 +02:00
Strangerke
dcf0d4a38b KINGDOM: Some renaming, check and fix values used for booleans 2020-06-07 00:02:29 +02:00
Strangerke
78c84c23d3 KINGDOM: Start renaming 2020-06-07 00:02:29 +02:00
Strangerke
a2fe644845 KINGDOM: Improve savegame support 2020-06-07 00:02:29 +02:00
Strangerke
557c610138 KINGDOM: Implement DrawIcon, make a check in GL1 more coherent (style wise) 2020-06-07 00:02:29 +02:00
Strangerke
c42d08c49a KINGDOM: Fix issue in scene 11, clean up some boolean used as int 2020-06-07 00:02:29 +02:00
Strangerke
1ba96757f9 KINGDOM: Remove code disabling game loading button 2020-06-07 00:02:29 +02:00
Strangerke
d03ed1e356 KINGDOM: Improve delay 2020-06-07 00:02:29 +02:00
Strangerke
140f2f72d5 KINGDOM: Add code to handle timers 2020-06-07 00:02:29 +02:00
Strangerke
6410b3e615 KINGDOM: Implement SaveAS and RestoreAS 2020-06-07 00:02:29 +02:00
Strangerke
c2335db693 KINGDOM: Add some code in RestoreGame functions 2020-06-07 00:02:29 +02:00
Strangerke
db08471ed0 KINGDOM: Fix a couple of issues related to timers, add comments 2020-06-07 00:02:29 +02:00
Strangerke
4101e08741 KINGDOM: use boolean values when needed 2020-06-07 00:02:29 +02:00
Strangerke
224af60b28 KINGDOM: Handle CTRL-C like in the original 2020-06-07 00:02:29 +02:00
Strangerke
08c86eab59 KINGDOM: Rename _Nodes items, save/load them 2020-06-07 00:02:29 +02:00
Strangerke
b85f936748 KINGDOM: WIP work on savegames 2020-06-07 00:02:29 +02:00
Strangerke
8aacb1e372 KINGDOM: Remove some useless code 2020-06-07 00:02:29 +02:00
Strangerke
08f50c1f80 KINGDOM: Implement PlaySound 2020-06-07 00:02:29 +02:00
Strangerke
712c080c55 KINGDOM: Implement DrawInventory 2020-06-07 00:02:29 +02:00
Strangerke
b7fe735a80 KINGDOM: Implement ProcessMapInput and DrawRect 2020-06-07 00:02:29 +02:00
Strangerke
d35e51398e KINGDOM: Implement End Credits function 2020-06-07 00:02:29 +02:00
Strangerke
7228da69ad KINGDOM: Add GL3 opcodes 630, 631, 640 to 642 and 650 2020-06-07 00:02:29 +02:00
Strangerke
05e13b3e15 KINGDOM: Add GL3 opcodes 500, 501, 502, 511, 651, 660, 690 and 700 2020-06-07 00:02:29 +02:00
Strangerke
156b6213ee KINGDOM: Add GL3 opcodes 510, 512, 520, 521, 531, 540, 541, 542, 550 and 551 2020-06-07 00:02:29 +02:00
Strangerke
b5f4fd6c55 KINGDOM: Add GL3 opcodes 522, 530, 591 and 592 2020-06-07 00:02:29 +02:00
Strangerke
d9b46cc7b9 KINGDOM: ADD GL3 opcodes 590, 611 and 620 2020-06-07 00:02:29 +02:00
Strangerke
7a854033bc KINGDOM: Implement GL3 opcodes 560, 561, 562, 570, 571, 572, 580, 581, 600 and 610 2020-06-07 00:02:29 +02:00
Strangerke
74053fdc48 KINGDOM: Fix misleading code alignment in GL Opcode 731, Add opcode 552 and 582 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
2dd21c4c3c KINGDOM: Small warning fix 2020-06-07 00:02:29 +02:00
Strangerke
bdc3d58c65 KINGDOM: Fix a duplicate variable, implement GL opcodes 661, 670, 671, 680, 690, 691 and 721 2020-06-07 00:02:29 +02:00
Strangerke
37b7b85aba KINGDOM: Add GL3 opcodes 712 and 730 2020-06-07 00:02:29 +02:00
Strangerke
1d0165c9a2 KINGDOM: Add GL3 opcodes 711 and 731 2020-06-07 00:02:29 +02:00
Strangerke
63f36228d2 KINGDOM: Implement GL3 opcodes 710, 720, 741, 760, 761 2020-06-07 00:02:29 +02:00
Strangerke
1de2999d6c KINGDOM: Implement GL3 opcodes 740, 780, 781, 790 and 791 2020-06-07 00:02:29 +02:00
Strangerke
36df466c66 KINGDOM: Add GPL3 case 701 2020-06-07 00:02:29 +02:00
Strangerke
bcfd39c640 KINGDOM: Start work on GPLogic3 2020-06-07 00:02:29 +02:00
Strangerke
10d4793ebe KINGDOM: Fix icon behavior 2020-06-07 00:02:29 +02:00
Strangerke
5547300cfd KINGDOM: Fix ReadMouse 2020-06-07 00:02:29 +02:00
Strangerke
e13a3a056f KINGDOM: Add more debug traces in GL1 2020-06-07 00:02:29 +02:00
Strangerke
2faef73557 KINGDOM: Fix bug in GL1 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
498fce3394 KINGDOM: Log unused _UserInput 2020-06-07 00:02:29 +02:00
Strangerke
db34d3bf30 KINGDOM: Add some forgotten code 2020-06-07 00:02:29 +02:00
Strangerke
1d1cb6a4aa KINGDOM: Fix typo 2020-06-07 00:02:29 +02:00
Strangerke
5fb2e50cf3 KINGDOM: Implement ReadMouse 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
05aa762da9 KINGDOM: Small fixes 2020-06-07 00:02:29 +02:00
Strangerke
b32bb491a6 KINGDOM: Fix mouse cursor index 2020-06-07 00:02:29 +02:00
Strangerke
845aa0ca46 KINGDOM: Fix a couple of bugs in CursorType logic, some cleanup 2020-06-07 00:02:29 +02:00
Strangerke
aa440acd03 KINGDOM: Initialize CurrMap to avoid a crash 2020-06-07 00:02:29 +02:00
Strangerke
524dbe79b5 KINGDOM: Implement WaitKey, GetAKey and CursorType 2020-06-07 00:02:29 +02:00
Strangerke
f2c13960aa KINGDOM: Implement CheckMainScreen 2020-06-07 00:02:29 +02:00
Strangerke
409efe3ca8 KINGDOM: Implement InventoryAdd and InventoryDel 2020-06-07 00:02:29 +02:00
Strangerke
2789fcdd8c KINGDOM: Implement 3 more stubs 2020-06-07 00:02:29 +02:00
Strangerke
6c0258ceaf KINGDOM: Implement a couple of stubs, add a dummy value in MapExit 2020-06-07 00:02:29 +02:00
Strangerke
a2570c7e45 KINGDOM: Implement some stubs 2020-06-07 00:02:29 +02:00
Strangerke
d57dc7ed4f KINGDOM: Fix 2 GCC warnings (which includes a bug fix) 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
97a430f44b KINGDOM: Rename kingartData to something more useful now 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
abe6e93d19 KINGDOM: Fix some compiler warnings 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
9d7488e86d KINGDOM: Improve KingArt loader 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
574cb0a6ca KINGDOM: Parse and set cursor correctly 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
fe7a6f8688 KINGDOM: Small typo fix 2020-06-07 00:02:29 +02:00
Strangerke
03f0fb2b9d KINGDOM: Rewrite the loading of kingart, get rid of _ArtPtr, add DrawCursor 2020-06-07 00:02:29 +02:00
Hein-Pieter van Braam
791fc996e6 KINGDOM: Small compilation error fix 2020-06-07 00:02:29 +02:00
Strangerke
887d5b61a4 KINGDOM: Start to handle user input 2020-06-07 00:02:29 +02:00
Strangerke
96e34da3d6 KINGDOM: Implement DrawLocation 2020-06-07 00:02:29 +02:00
Strangerke
a0965a3915 KINGDOM: Hack transparency 2020-06-07 00:02:29 +02:00
Strangerke
b0defe793f KINGDOM: Implement some stubs 2020-06-07 00:02:29 +02:00
Strangerke
1d97e08d1d KINGDOM: Add Group Logic 4, fix some boolean values, 2020-06-07 00:02:29 +02:00
Strangerke
245f67c3ef KINGDOM: Add Group Logic 2 2020-06-07 00:02:29 +02:00
Strangerke
3231fda184 KINGDOM: Add GPLogic1 and a bunch of STUBs 2020-06-07 00:02:29 +02:00
Strangerke
73bbf10318 KINGDOM: Fix a bug, move pollevent to a new STUBed function 2020-06-07 00:02:29 +02:00
Strangerke
9016cacdd7 KINGDOM: Fix a crash, get rid of the off by one in resource handler, implement some stubs 2020-06-07 00:02:29 +02:00
Strangerke
1be5596b22 KINGDOM: Add GameHelp 2020-06-07 00:02:29 +02:00
Strangerke
758f318c4d KINGDOM: Implement TitlePage, InitPlay, InitHelp, add a couple of STUBs 2020-06-07 00:02:29 +02:00
Strangerke
f7bdd77d0c KINGDOM: Add some functions and constants (courtesy of TMM), fix the IFFDecoder for chunks with odd size 2020-06-07 00:02:29 +02:00
Strangerke
15d07a0cdd KINGDOM: Add some stubs and the main loop 2020-06-07 00:02:29 +02:00
Strangerke
fa37b76038 KINGDOM: Add skeletton engine 2020-06-07 00:02:29 +02:00