Commit Graph
63 Commits
Author SHA1 Message Date
Paul Gilbert babe4d9ef2 GLK: ALAN2: Change detections list to use common GlkDetectionEntry 2019-07-14 10:47:52 -07:00
Le Philousophe 1c87f428d0 GLK: Fix off-by-one memory read
The for loop shouldn't check previous entity on the first iteration
2019-07-07 09:26:52 -07:00
Paul Gilbert d9e5c709d4 GLK: ALAN3: Move Alan3 out of release build ifdef 2019-07-06 19:40:04 -07:00
Paul Gilbert 8952503207 GLK: ALAN3: One final attempt at an openpandora fix 2019-07-06 18:52:39 -07:00
Paul Gilbert b288640d90 GLK: ALAN3: Another attempt at an openpandora fix 2019-07-06 18:20:03 -07:00
Paul Gilbert 2fd5d82078 GLK: ALAN3: Refactoring save code to see if it fixes openpandora gcc 2019-07-06 17:59:39 -07:00
Paul Gilbert 54b838cd60 GLK: ALAN2: Cleanup of unused variables 2019-07-06 16:01:10 -07:00
Paul Gilbert 5dda48c1c7 GLK: Change other sub-engines to use GlkDetectedGame 2019-07-06 15:27:10 -07:00
Paul Gilbert f0d5304a4c GLK: ALAN3: Fix jumps.h macros 2019-07-06 15:27:08 -07:00
Paul Gilbert 13e7926849 GLK: ALAN2: Fix loading memory for Big Endian 2019-06-27 18:55:25 -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 553bb74f8c GLK: Further changeover of sub-engines to use new savegame code 2019-06-16 14:59:26 -07:00
Paul Gilbert 96ebd81e5f GLK: HUGO: NULL to nullptr, Amiga compilation fix 2019-05-11 16:15:07 +10:00
Cameron Cawley 17f0937f00 GLK: Fix warnings 2019-04-29 16:25:54 +10:00
Paul Gilbert 37e083dcaf GLK: ALAN2: Fix incorrect string duplication 2019-02-11 18:26:55 -08:00
Paul Gilbert 22e5913f18 GLK: ALAN2: Fix a bunch of comparison warnings 2019-02-10 11:52:30 -08:00
Filippos Karapetis fe96c942ef GLK: ALAN2: Resolve some TODOs. Some cleanup 2019-01-06 22:15:37 +02:00
Filippos Karapetis 1d8a069e24 GLK: ALAN2: Initialize game file name 2019-01-06 22:14:42 +02:00
Paul Gilbert 85816c8a54 GLK: Make a _gameFile field in the base Glk engine 2019-01-02 23:13:13 -08:00
Paul Gilbert 013f39cb5d GLK: Standardizing on a common GameDescriptor class for detectors 2018-12-31 19:47:14 -08:00
Paul Gilbert f218400d3b GLK: Simplify arrays of valid extensions in detection code
Suggested by Sev as a way to avoid having both arrays and array sizes
2018-12-28 20:45:45 -08:00
Thierry Crozat 787a62c62d GLK: Fix multiple definitions of litCount variable 2018-12-28 22:37:30 +01:00