527 Commits

Author SHA1 Message Date
Paweł Kołodziejski
604d4d96ea fixed potential unitialized variables, one array overflow
svn-id: r30571
2008-01-19 20:00:36 +00:00
Kari Salminen
0bfbd62ce7 Fixed obsolete comment.
svn-id: r30535
2008-01-17 12:21:31 +00:00
Kari Salminen
931b4abe5e Confirmed that the Amiga version of Space Quest II v2.0F using Amiga AGI 2.202 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
svn-id: r30533
2008-01-17 11:36:54 +00:00
Kari Salminen
5a2440ce1b Fix for isalpha() assertions (Almost identical to revision 29924's fix). Added the rationale for this fix in comments so hopefully this won't happen a third time at the same point in code ;).
svn-id: r30531
2008-01-17 11:16:00 +00:00
Kari Salminen
d6e2e1431c Confirmed that Amiga version of King's Quest III (v1.01 1986-11-08) using Amiga AGI 2.090 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
svn-id: r30516
2008-01-16 15:19:33 +00:00
Kari Salminen
d167ad4066 Workaround for bug #1660424 (KQ4: Zombie bug) which is a script bug present in the original game.
svn-id: r30482
2008-01-14 17:03:14 +00:00
Kari Salminen
a493647076 Indentation
svn-id: r30478
2008-01-13 23:43:17 +00:00
Filippos Karapetis
05b28340bf Cleanup and simplification
svn-id: r30405
2008-01-11 10:59:43 +00:00
Filippos Karapetis
5a652c9471 Don't show help when the alt or shift keys are pressed
svn-id: r30404
2008-01-11 10:20:31 +00:00
Filippos Karapetis
1603afe632 Cleanup and simplification
svn-id: r30403
2008-01-11 09:52:06 +00:00
Kari Salminen
286a3da49b Remove disabling of moving using mouse in mines in Amiga's Gold Rush introduced in r30375. So bug #1733297 remains although not stricly in its original form (Moving using mouse in the mines bugs still but not identically as when the bug report was given).
svn-id: r30377
2008-01-10 12:40:57 +00:00
Kari Salminen
6b372d97ee Disable moving using mouse in mines (Rooms 147-162) and 'adj.ego.move.to.x.y'-command (Which uses 2 arguments) in Amiga's Gold Rush. This temporary hack fixes bug #1733297 (GR: Actor stuck (Amiga version)).
svn-id: r30375
2008-01-10 12:02:03 +00:00
Filippos Karapetis
6f4acae161 Fixed some issues with AGI keyboard input
svn-id: r30356
2008-01-09 12:59:11 +00:00
Filippos Karapetis
85b3a4a59e Added a debug command, did some cleanup
svn-id: r30351
2008-01-09 10:31:52 +00:00
Filippos Karapetis
b0f2e823e0 Cleanup of the debugger commands, added some more commands, removed now obsolete debug code
svn-id: r30350
2008-01-09 09:46:26 +00:00
Filippos Karapetis
c14d420141 Added a debug console for Mickey's Space Adventures
svn-id: r30349
2008-01-09 09:19:17 +00:00
Max Horn
5dbc89c119 typo
svn-id: r30328
2008-01-07 19:41:27 +00:00
Kari Salminen
2f50a2416c Reject AGIPAL-files with over 6 bits per color component. Makes at least fanmade AGI game Naturette II's colors not be messed up anymore.
svn-id: r30326
2008-01-07 18:58:30 +00:00
Kari Salminen
e9f3b27c03 Add detection data for a finished fanmade AGI game Naturette IV (2007-10-05).
svn-id: r30324
2008-01-07 18:29:33 +00:00
Kari Salminen
01a256455d Add partial implementation of obj.status.v-command (Based on observations of the command's output in the Amiga version of Gold Rush!).
svn-id: r30321
2008-01-07 08:57:28 +00:00
Torbjörn Andersson
063aecaf7a Fixed warning.
svn-id: r30269
2008-01-05 23:01:25 +00:00
Kari Salminen
64601d446f Workaround for Amiga Gold Rush's broken picture 147 by patching it.
svn-id: r30263
2008-01-05 21:10:49 +00:00
Kari Salminen
5f7a037bda Implement a workaround to hide.mouse-command for Amiga's Gold Rush. Fixes walking with mouse in room 192 (The hanging scene i.e. the copy protection failure scene).
svn-id: r30259
2008-01-05 20:52:30 +00:00
Kari Salminen
d604f51d42 Implement unknown test command 19 (hopefully) properly and name it unofficially as the in.motion.using.mouse-command.
svn-id: r30251
2008-01-05 20:35:18 +00:00
Kari Salminen
28bbae1745 Make AGIPAL also accept 'pal.100' (Original hacked interpreter also does this).
svn-id: r30213
2008-01-04 00:24:29 +00:00
Max Horn
a1503bf7c8 Fix another -Wuninitialized warnings - n could have been returned w/o having been set first
svn-id: r30211
2008-01-03 23:55:42 +00:00
Max Horn
67d14ed322 Silence a -Wuninitialized warning
svn-id: r30205
2008-01-03 23:36:55 +00:00
Kari Salminen
e75207d9d7 Made AGIPAL-loading more lenient with errors. Added AGIPAL-flag to Naturette 3. These together fix Naturette 3's intro (No more long shakings).
svn-id: r30193
2008-01-03 09:43:50 +00:00
Kari Salminen
0ddfc0a64e Fix for the Space Trek sprite duplication bug (#1659209). Makes commands position and position.v use coordinate clipping for Space Trek.
svn-id: r30190
2008-01-03 08:41:40 +00:00
Kari Salminen
5e7cc8b2d9 Add GF_OLDAMIGAV20 game flag for correctly setting computer type (v20 i.e. vComputer) for particular old Amiga AGI games (Space Quest I v1.2 at the moment).
svn-id: r30164
2008-01-02 19:10:01 +00:00
Kari Salminen
6dfaaf3018 Set AGI's computer type variable (v20 i.e. vComputer) according to the used platform. Now using different values for IBM-PC, Atari ST, Amiga and Apple IIGS platforms.
svn-id: r30153
2008-01-02 16:36:47 +00:00
Kari Salminen
9db76278ef Set amount of free memory (v8 i.e. vFreePages) to maximum value (Also when loading a saved game!). Fixes Gold Rush's help screen and bible passage showing.
svn-id: r30136
2008-01-02 00:35:32 +00:00
Max Horn
d104637a3a Do not use abort (for that matter, shouldn't used exit(), either, but we (ab)use that in various places anyway...)
svn-id: r29994
2007-12-25 23:33:08 +00:00
Kari Salminen
c10f74411e Show objects always using priority 15. Fixes bug #1858037 (AGI: show.obj priority error).
svn-id: r29984
2007-12-25 16:17:22 +00:00
Max Horn
4b897807c5 Clarify AGI FIXME
svn-id: r29930
2007-12-20 22:14:50 +00:00
Filippos Karapetis
193760a40f Fix for isalpha() assertions
svn-id: r29924
2007-12-20 17:04:15 +00:00
Max Horn
44effa32eb Further changes to the AGI keyboard code, matching it against the original Sarien SDL input code. There are still quite some bits which are unclear to me, though
svn-id: r29921
2007-12-20 14:57:05 +00:00
Max Horn
d7e358acfa More cleanup
svn-id: r29917
2007-12-20 14:28:40 +00:00
Max Horn
a47446600a get rid of unused globals
svn-id: r29916
2007-12-20 14:26:03 +00:00
Filippos Karapetis
40661e5698 Use CLIP template for clipping in the AGI engine
svn-id: r29854
2007-12-13 19:44:27 +00:00
Filippos Karapetis
32a3b60167 Save game header is 32 bits, not 16
svn-id: r29819
2007-12-10 20:19:53 +00:00
Filippos Karapetis
f625562aff Oops, fixed some problems with the last commit
svn-id: r29817
2007-12-10 18:57:17 +00:00
Filippos Karapetis
dd2386cde4 It's now possible again to import saved games from the original interpreter of Winnie the Pooh
svn-id: r29816
2007-12-10 18:51:48 +00:00
Max Horn
87fadf6b45 cleanup
svn-id: r29795
2007-12-09 15:24:06 +00:00
Max Horn
0758feea62 cleanup
svn-id: r29792
2007-12-09 14:48:36 +00:00
Filippos Karapetis
3980bd73ea Saving and loading in Winnie the Pooh should now be endian and alignment safe. Note that this breaks older saved games and it's no longer possible to use saved games from the original game interpreter
svn-id: r29771
2007-12-08 18:25:00 +00:00
Filippos Karapetis
f1a1254581 Renamed SAVEGAME_VERSION to MSA_SAVEGAME_VERSION
svn-id: r29770
2007-12-08 18:19:09 +00:00
Filippos Karapetis
b24f10dde0 The variables nFrame and iItem can also have negative values
svn-id: r29769
2007-12-08 18:16:30 +00:00
Filippos Karapetis
621f798241 Saving and loading in Mickey's Space Adventure should now be endian and alignment safe. Note that this breaks older saved games
svn-id: r29768
2007-12-08 17:51:23 +00:00
Max Horn
1ed6cae306 Fix compiler warning
svn-id: r29761
2007-12-08 10:13:44 +00:00