Commit graph

101 commits

Author SHA1 Message Date
Travis Howell
6ea936c41f Add animate sprites by Y function for FF
svn-id: r22064
2006-04-21 03:09:21 +00:00
Travis Howell
fc3284efce Add back debug function
svn-id: r22063
2006-04-21 00:26:18 +00:00
Travis Howell
b80ef2cd8f Add some code for PanEvent in FF and cleanup
svn-id: r22062
2006-04-21 00:18:23 +00:00
Travis Howell
5482ec5db6 Add F9 key in FF, which toggles hitbox names
svn-id: r22059
2006-04-20 12:23:20 +00:00
Travis Howell
948301faaf Add timer difference in FF
svn-id: r22054
2006-04-20 08:58:30 +00:00
Travis Howell
04efb67f21 Fix mistake in vertical scrolling in FF
svn-id: r22051
2006-04-20 07:01:55 +00:00
Travis Howell
66cbf6c05d _rejectCount should only be incremented in checkNoOverWrite()
svn-id: r22050
2006-04-20 06:38:46 +00:00
Travis Howell
8121b8eebe Update resource managment, missed several changes from FF
svn-id: r22049
2006-04-20 05:54:25 +00:00
Travis Howell
56d856cd20 Cleanup
svn-id: r22047
2006-04-20 02:23:17 +00:00
Travis Howell
3917351a93 Minor cleanup
svn-id: r22044
2006-04-20 00:54:30 +00:00
Travis Howell
531a62939c Update resource managment for FF, this method is more efficent for Simon 1/2 too
svn-id: r22043
2006-04-20 00:42:54 +00:00
Travis Howell
18d0afaafd Correct dummyItems in FF and cleanup
svn-id: r22035
2006-04-19 11:54:38 +00:00
Travis Howell
75542e0f95 Add minor code differences in FF, might help corrupt graphics
svn-id: r22033
2006-04-19 11:01:03 +00:00
Travis Howell
506cdd9054 Fix time events continuing, when using the oracle in FF
svn-id: r22003
2006-04-18 11:38:18 +00:00
Travis Howell
b4c8b498de Scrolling comparisons should always be signed, fixes scrolling issue in maze of FF
svn-id: r21995
2006-04-18 00:15:25 +00:00
Travis Howell
d832f69f4c Adjust video playback code, due to false calls in prison of FF
svn-id: r21977
2006-04-17 13:19:36 +00:00
Travis Howell
82dfef4ce2 Improve sound support in FF and add MoviePlayer class
svn-id: r21975
2006-04-17 12:05:45 +00:00
Travis Howell
5b3f73f27c Intergrate the DXA player for Amiga/Macintosh verisons of FF, from cyx
svn-id: r21959
2006-04-17 04:02:48 +00:00
Travis Howell
2c5874e925 Handle unsigned variableArray reads better in FF, fixes more missing subroutines
svn-id: r21958
2006-04-17 01:31:02 +00:00
Travis Howell
30645d5e05 Only allocate scale buffer when using FF
svn-id: r21956
2006-04-17 00:35:38 +00:00
Travis Howell
632185fb7e Fix vertical scrolling
svn-id: r21955
2006-04-17 00:34:21 +00:00
Travis Howell
5b388fc48e Cleanup
svn-id: r21926
2006-04-15 22:37:48 +00:00
Travis Howell
53698416f2 Use different methods to avoid overflows to FF, to avoid regressions
svn-id: r21923
2006-04-15 22:14:18 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Travis Howell
e3737b9f47 Fix display of swap character logo in FF
svn-id: r21912
2006-04-15 14:25:41 +00:00
Travis Howell
5e8f44fcf2 Minor cleanup
svn-id: r21904
2006-04-15 07:56:55 +00:00
Travis Howell
3d36a28296 Adjust various number of textBox checks for FF
svn-id: r21902
2006-04-15 06:42:40 +00:00
Travis Howell
647b318a97 Increase array sizes for FF and cleanup
svn-id: r21901
2006-04-15 06:35:40 +00:00
Travis Howell
18e6b21e28 Add support for switching voice file in PC versions of FF and cleanup
svn-id: r21900
2006-04-15 05:24:44 +00:00
Travis Howell
10bc7b0887 Remove last use of hard coded language values and adjust settings for FF
svn-id: r21898
2006-04-15 01:48:52 +00:00
Travis Howell
601820548c Avoid possible regression in set_video_mode_internal() for Simon1
svn-id: r21884
2006-04-14 10:37:34 +00:00
Travis Howell
1a6849de91 Add speech support for Amiga verison of FF
svn-id: r21871
2006-04-14 05:13:59 +00:00
Travis Howell
de0dd94c9c Add support for sound effects in Amiga version of FF and cleanup
svn-id: r21870
2006-04-14 04:22:49 +00:00
Travis Howell
3407185358 Add invertBox function for FF
svn-id: r21854
2006-04-13 23:34:58 +00:00
Travis Howell
89c89c0209 Add code for save game interface in FF
svn-id: r21843
2006-04-13 14:26:46 +00:00
Travis Howell
4ef316713e Minor fixes to scrolling in FF
svn-id: r21837
2006-04-13 09:43:27 +00:00
Travis Howell
95993df800 Ooops, re-enable code in allocBlock()
svn-id: r21776
2006-04-11 00:42:19 +00:00
Travis Howell
c17e46b1f1 Update waitForSync() for FF and minor cleanup
svn-id: r21775
2006-04-11 00:37:54 +00:00
Travis Howell
8ae793c81e Cleanup
svn-id: r21773
2006-04-10 23:44:17 +00:00
Torbjörn Andersson
f07d60adc8 By now, it should be obvious that I'm trying to get rid of the o_ functions.
This is in preparation for the next stage of the cleanup.

By now, I have merged most of the o_ opcode functions into the corresponding
o1_ opcode function. There are a few pure o_ opcode functions left, but it
makes sense to keep them separate functions since they are part of groups of
other functions. Now, to get rid of the remaining o_ functions I have:

Dropped the "o_" prefix from the following functions: o_kill_sprite_simon1(),
o_kill_sprite_simon2(), o_waitForSync(), o_freezeBottom(), o_setTextColor(),
o_fadeToBlack(), o_waitForMark(), o_unk_132_helper_3(), o_unk_132_helper(),
o_clearCharacter(), o_fileError().

Renamed o_sync() to sendSync().
Renamed o_mouseOn() to scriptMouseOn(), and moved it to items.cpp
Renamed o_mouseOff() to scriptMouseOff(), and moved it to items.cpp

svn-id: r21760
2006-04-10 09:18:07 +00:00
Torbjörn Andersson
f1c79ee518 Merged o_setup_cond_c() into o1_getDollar2(). (We could merge
setup_cond_c_helper() into o1_getDollar2() as well, but for now I'm only trying
to get rid of the o_* functions.)

svn-id: r21759
2006-04-10 08:49:28 +00:00
Torbjörn Andersson
ea4e5dbb82 Merged o_printStr() into o1_screenTextMsg().
svn-id: r21758
2006-04-10 08:42:29 +00:00
Torbjörn Andersson
7ab84e4d99 Merged o_pathfind() into o1_getPathPosn().
svn-id: r21757
2006-04-10 08:34:16 +00:00
Torbjörn Andersson
e931f9d07d Merged o_loadZone() and o_unloadZone() into o1_loadZone() and o1_unloadZone().
svn-id: r21752
2006-04-10 08:00:29 +00:00
Torbjörn Andersson
9dcd19778f Merged o_set_video_mode() into o1_picture().
svn-id: r21747
2006-04-10 07:09:03 +00:00
Torbjörn Andersson
e67f1a9923 Merged o_vga_reset() into o1_killAnimate().
svn-id: r21744
2006-04-10 06:51:20 +00:00
Travis Howell
55cc897cff Add time code for FF and minor cleanup
svn-id: r21714
2006-04-09 06:06:10 +00:00
Travis Howell
202406e31b Add centreScroll() for FF and hyperbox code differences in FF.
svn-id: r21712
2006-04-09 04:53:31 +00:00
Eugene Sandulenko
5a2ad04a9e Introduced language EN_ANY used for general English game entries. EN_USA and
EN_GRB should be used for games which have both variants. Currently it is
MM NES and BASS. All other are switched to EN_ANY.

svn-id: r21702
2006-04-08 23:12:56 +00:00
Travis Howell
b596065122 Fixes for oracle in FF and cleanup
svn-id: r21680
2006-04-08 07:13:07 +00:00