535 Commits

Author SHA1 Message Date
Paul Gilbert
2de068a98a GLK: ALAN3: Further warning fixes 2019-07-06 15:27:07 -07:00
Paul Gilbert
305330bda7 GLK: ALAN3: Change EOF to a uint32 EOD to fix compiler warnings 2019-07-06 15:27:07 -07:00
Paul Gilbert
822cd6f165 GLK: ALAN3: Further warning fixes 2019-07-06 15:27:07 -07:00
Paul Gilbert
cd7cf41414 GLK: ALAN3: Initial files commit 2019-07-06 15:27:07 -07:00
Paul Gilbert
13e7926849 GLK: ALAN2: Fix loading memory for Big Endian 2019-06-27 18:55:25 -07:00
Paul Gilbert
b0f132f488 GLK: ALAN2: Move Alan 2 interpreter out of debug builds block 2019-06-23 16:55:34 -07:00
Paul Gilbert
5eb0390aca GLK: ALAN2: Add loading savegames from launcher, deinitialization code 2019-06-23 16:19:42 -07:00
Paul Gilbert
e7fbd9268c GLK: ALAN2: Cleanup of data text file opening 2019-06-23 16:19:42 -07:00
Paul Gilbert
a53e00597b GLK: Show unknown variant dialog for unknown detection entries 2019-06-23 14:41:49 -07:00
Paul Gilbert
b2b78f48f0 GLK: ALAN2: Fixes for restarting in-game 2019-06-23 14:41:49 -07:00
Paul Gilbert
544c841343 GLK: ALAN2: Remove unused variable 2019-06-23 14:41:49 -07:00
Paul Gilbert
c0d5981ff9 GLK: ALAN2: Fix quitting in-game 2019-06-22 22:03:06 -07:00
Paul Gilbert
3683e74d65 GLK: ALAN2: Set up main game loop for restarting game 2019-06-22 22:03:06 -07:00
Paul Gilbert
ef2e7186dd GLK: ALAN2: Remove redundant includes 2019-06-22 15:06:35 -07:00
Paul Gilbert
bad3ecd643 GLK: ALAN2: Create jump context system to replace original setjmp
This is basically a simplified version of the ScummVM coroutines,
since we just need the ability to consistently break out to the
main game loop when a call is made to the error method
2019-06-22 14:40:50 -07:00
dreammaster
62eb0be065 GLK: ALAN2: Further gcc warning fixes 2019-06-22 14:40:50 -07:00
Paul Gilbert
d4075b188d GLK: ALAN2: Further gcc warning fixes 2019-06-22 14:40:50 -07:00
Paul Gilbert
8b509bbfee GLK: ALAN2: Warning fixes 2019-06-22 14:40:50 -07:00
Paul Gilbert
1249c33539 GLK: ALAN2: Change all EOF to EOD that is case to uint 2019-06-22 14:40:50 -07:00
dreammaster
2cf0320569 GLK: ALAN2: Fixing gcc warnings 2019-06-22 14:40:50 -07:00
dreammaster
2450df501c GLK: ALAN2: astyle formatting 2019-06-22 14:40:50 -07:00
dreammaster
a3fa9d12a9 GLK: ALAN2: Fix gcc errors for references to packed struct fields 2019-06-22 14:40:50 -07:00
Paul Gilbert
dd4108e7c7 GLK: ALAN2: Removing all the existing system specific ifdef blocks
I'm going to be shortly formatting the code and doing refactoring
to work around the setjmp calls in the original, so there's little
point in keeping the system specific ifdef blocks from the original
2019-06-22 14:40:50 -07:00
Paul Gilbert
8f75589971 GLK: ALAN2: Remove all prototype ifdef blocks 2019-06-22 14:40:50 -07:00
Paul Gilbert
ad1cecaeac GLK: ALAN2: Added savegame code 2019-06-22 14:40:49 -07:00
Paul Gilbert
df74652321 GLK: ALAN2: Added shouldQuit checks to break out of game loops 2019-06-22 14:40:49 -07:00
Paul Gilbert
b4ae2ec437 GLK: ALAN2: Open text data file on startup 2019-06-22 14:40:49 -07:00
Paul Gilbert
51a142aaf8 GLK: ALAN2: Loading fixes 2019-06-22 14:40:49 -07:00
Paul Gilbert
35cfe001c2 GLK: ALAN2: Add structure packing to types
These types map onto the uint32 memory array. Chances are that the
default packing would be fine, since each structure field is always
using four byte types, but better safe than sorry
2019-06-22 14:40:49 -07:00
Paul Gilbert
2fba84bf0a GLK: ALAN2: Add Glk window initialization 2019-06-22 14:40:49 -07:00
Paul Gilbert
0bbd9e2638 GLK: ALAN2: Fixes to game header loading and validation 2019-06-22 14:40:49 -07:00
Paul Gilbert
ed21388e11 GLK: ALAN2: Added missing main code file, hooked up to Alan2 engine skeleton 2019-06-22 14:40:49 -07:00
Paul Gilbert
08bc570308 GLK: ALAN2: Initial import of full set of interpreter files 2019-06-22 14:40:49 -07:00
Paul Gilbert
84dfa6d3b8 GLK: ALAN2: Remove previously added code fragments 2019-06-22 14:40:22 -07:00
Paul Gilbert
004df0ef90 GLK: ALAN2: Add detection entries 2019-06-22 14:40:22 -07:00
Paul Gilbert
448bf3f4fb GLK: ADVSYS: Fix Coverity warnings 2019-06-16 19:44:55 -07:00
Paul Gilbert
9dde3e6131 GLK: ADVSYS: Move AdvSys out of release build exclusion 2019-06-16 19:23:30 -07:00
Paul Gilbert
66babe212e GLK: ADVSYS: Fix restoring games in-game 2019-06-16 18:56:39 -07:00
Paul Gilbert
1afd60cd3e GLK: Change language Id in savegames to more portable language code 2019-06-16 18:03:17 -07:00
Paul Gilbert
2e69903cbb GLK: Change savegame interpreter Ids from index to 4 byte code 2019-06-16 17:55:16 -07:00
Paul Gilbert
fee7221810 GLK: ADVSYS: Fix inputs with indirect objects 2019-06-16 17:43:07 -07:00
Paul Gilbert
0bf2dc6d7b GLK: ADVSYS: Fix actions using OP_SEND 2019-06-16 17:04:53 -07:00
Paul Gilbert
c7a9306415 GLK: ADVSYS: Fixes for get action 2019-06-16 16:03:58 -07:00
Paul Gilbert
a9261a6d31 GLK: ADVSYS: Do a look action after loading a savegame from launcher 2019-06-16 14:59:26 -07:00
Paul Gilbert
611bea7d73 GLK: ADVSYS: Fix savegame area setup 2019-06-16 14:59:26 -07:00
Paul Gilbert
919670a565 GLK: ADVSYS: Save/load fixes 2019-06-16 14:59:26 -07:00
Paul Gilbert
553bb74f8c GLK: Further changeover of sub-engines to use new savegame code 2019-06-16 14:59:26 -07:00
Paul Gilbert
3876fb6710 GLK: In progress transition to all sub-engines using Quetzal save files 2019-06-16 14:59:26 -07:00
Paul Gilbert
3acba22cba GLK: FROTZ: Move creation of Quetzal ANNO chunk into base Quetzal writer 2019-06-16 14:59:26 -07:00
Paul Gilbert
3d299df773 GLK: FROTZ: Change Quetzal restoring to use new base Quetzal reader 2019-06-15 22:31:50 -07:00