Johannes Schickel
e35dd4df1c
Change "FM-Towns" to "FM-TOWNS" for consistency.
...
svn-id: r42232
2009-07-07 19:00:39 +00:00
Johannes Schickel
8c65d4d4a9
- Rename FontSJIS::enableShadow to enableOutline.
...
- Initialize outline to false by default in FontTowns.
svn-id: r42231
2009-07-07 18:17:30 +00:00
Johannes Schickel
62eebc3e17
- Added support for outlined FM-Towns ROM drawing
...
- Adapted KYRA to use that
svn-id: r42230
2009-07-07 18:10:35 +00:00
Eugene Sandulenko
9bdf1a2ab1
kFeatures800 -> kFeatures800x600 in order to have more meaningful name
...
svn-id: r42229
2009-07-07 17:11:29 +00:00
Johannes Schickel
ec2c7cfefa
Adapt KYRA to use the new Graphics::FontSJIS code.
...
svn-id: r42222
2009-07-07 14:22:39 +00:00
Johannes Schickel
8623081666
Add generic functionallity to draw FM-Towns ROM. (To be used by KYRA and SCI)
...
svn-id: r42221
2009-07-07 14:22:23 +00:00
Filippos Karapetis
ab8c3d56b8
Removed the weird checks for a maximum resource number (the sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges).
...
svn-id: r42219
2009-07-07 13:39:24 +00:00
Arnaud Boutonné
09efaaa1c9
Change SaveLoad_Playtoons case
...
svn-id: r42217
2009-07-07 12:51:21 +00:00
Filippos Karapetis
74670cc834
Removed the superfluous sci_version_types array (it's essentially the same as the versionNames array)
...
svn-id: r42216
2009-07-07 12:29:55 +00:00
Arnaud Boutonné
add4d124b2
- Add a new gametype for 'The Land of the Magic Stones'
...
- Add detection of the french version
- Add a new game feature for 800*600
svn-id: r42215
2009-07-07 12:03:27 +00:00
Arnaud Boutonné
a0ab8c9c0c
- Separate Playtoons gametypes from in GobEngine::initGameParts()
...
- Add a specific save/load class for Playtoons as some specific files need to be tested
svn-id: r42214
2009-07-07 11:58:22 +00:00
Filippos Karapetis
a9aaf56b3e
Cleanup: added an enum for the auto-detected features, removed the selectors which are only used for auto-detection from the convenience selector map and placed feature auto-detection in a separate function. Also, now the automatically detected graphics resources are shown in the console.
...
svn-id: r42212
2009-07-07 11:14:18 +00:00
Filippos Karapetis
d55f7e72d0
Added auto-detection for games with older headers for script blocks, and removed game flag GF_SCI0_OLD
...
svn-id: r42211
2009-07-07 10:28:05 +00:00
Filippos Karapetis
e4f6330418
Added a SCI1.1 case in the lofss opcode, like in the lofsa opcode (essentially, lofss and lofsa both load an offset, with lofsa loading it in the accumulator and lofss in the stack). lofss is rarely used in SCI1.1 games, which explains why no lofss-related crashes have been observed in SCI1.1
...
svn-id: r42209
2009-07-07 07:51:26 +00:00
Arnaud Boutonné
45b7e5bbc2
Add detection of Playtoons 2 En
...
svn-id: r42208
2009-07-07 07:51:18 +00:00
Filippos Karapetis
c716e43a2b
- Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01
...
- Simplified the checks for EGA and VGA graphics
- Fixed a bug in script_adjust_opcode_formats()
- Simplified the code in GfxResManager::getView() a bit
svn-id: r42206
2009-07-07 07:44:25 +00:00
Paul Gilbert
b50b5ae5a4
Removed the shooting workaround delay - the overlay number can vary, so it isn't a reliable way of identifying the specific message
...
svn-id: r42205
2009-07-07 07:41:02 +00:00
Travis Howell
1e568222e4
Set the correct sound rate for Personal Nightmare.
...
svn-id: r42202
2009-07-07 07:02:04 +00:00
Filippos Karapetis
2e3419c8cb
Prevent a crash when the engine errors out before the game state is initialized
...
svn-id: r42201
2009-07-07 06:53:53 +00:00
Filippos Karapetis
0a8cd4a27d
Removed unused define
...
svn-id: r42200
2009-07-07 06:29:07 +00:00
Paul Gilbert
3dd21aa218
Fix to the return values of the Op_GetMouseButton library function now allows the game's "Fisticuffs path" to work properly
...
svn-id: r42199
2009-07-07 06:23:09 +00:00
Paul Gilbert
7cc82cfea1
Added workaround to briefly pause when displaying the first message of the shooting cut-scene, so it can be read properly
...
svn-id: r42198
2009-07-07 02:51:42 +00:00
Paul Gilbert
5270c82523
Bugfix so that user delays work correctly
...
svn-id: r42197
2009-07-07 02:49:33 +00:00
Paul Gilbert
7f7edabbdd
Bugfix so the game speed will correctly change after showing the credits when the game is restarted
...
svn-id: r42196
2009-07-07 01:14:55 +00:00
Filippos Karapetis
219b0de0d2
Renamed SCI_VERSION_01 -> SCI_VERSION_01_EGA
...
svn-id: r42181
2009-07-06 16:22:14 +00:00
Johannes Schickel
c22010b3d2
Fix RTL from Kyra3 main menu. (It now doesn't quit ScummVM anymore)
...
svn-id: r42180
2009-07-06 16:17:03 +00:00
Filippos Karapetis
30d1462da0
Swapped the music and audio resource check for SCI1.1 games. Digital sound effects are now preferred over the synthesized ones
...
svn-id: r42179
2009-07-06 15:50:44 +00:00
Filippos Karapetis
8f284ad396
KQ6CD should be working correctly again
...
svn-id: r42178
2009-07-06 15:30:07 +00:00
Jordi Vilalta Prat
69a3e2759e
Groovie: Improve ROQ timing and audio sync (noticeable at least in the Clandestiny trailer)
...
svn-id: r42177
2009-07-06 15:23:50 +00:00
Sven Hesse
77c7c1cf81
Loop over the string instead of copying and then editing it (hopefully, the PSP GCC won't ICE again here :P)
...
svn-id: r42176
2009-07-06 13:52:47 +00:00
Joost Peters
de995433c6
add workaround for PSP compiler ICE
...
svn-id: r42175
2009-07-06 13:09:50 +00:00
Filippos Karapetis
b38c5f8c5c
Proper handling of sound effects marked as music resources
...
svn-id: r42174
2009-07-06 12:44:55 +00:00
Paul Gilbert
3abc1e8375
Removed all the current special cases coding for user (mouse press) waiting, and reimplemented it exactly the way the original did
...
svn-id: r42173
2009-07-06 12:33:05 +00:00
Filippos Karapetis
250a1a915a
When a song isn't found, send a "stop handle" event so that the engine won't wait forever (e.g. in SQ4CD, perhaps others)
...
svn-id: r42172
2009-07-06 11:33:28 +00:00
Sven Hesse
e182cc0b9f
Splitting up the big evaluate() function
...
svn-id: r42171
2009-07-06 11:19:37 +00:00
Filippos Karapetis
87988c69ee
Assigned several unimplemented/unused kernel functions as stubs, so that we know when they're used and how they're called
...
svn-id: r42170
2009-07-06 11:19:19 +00:00
Filippos Karapetis
bceacbd922
Added seChanged the warning displayed when a selector can't be mapped to a debugC - it's perfectly normal not to find certain selectors in certain SCI versions. Also, fixed the SCI version enums
...
svn-id: r42169
2009-07-06 11:15:42 +00:00
Filippos Karapetis
1f3f4ccdd2
Fixed compilation
...
svn-id: r42168
2009-07-06 11:10:35 +00:00
Filippos Karapetis
522b161bec
Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls
...
svn-id: r42167
2009-07-06 10:39:22 +00:00
Travis Howell
3ce15cb9b7
Ooops, remove debug code.
...
svn-id: r42164
2009-07-06 06:24:04 +00:00
Travis Howell
dc0f6dce76
Use graphics surfaces for screen buffers, and always use correct pitch when writing to the frameBuffer.
...
svn-id: r42163
2009-07-06 06:21:59 +00:00
Paul Gilbert
08df8dc272
Bugfix for node enabling/disabling, which was previously allowing the player to walk through closed doors and into the walls
...
svn-id: r42162
2009-07-06 02:46:59 +00:00
Sven Hesse
c3d9acf309
Adding more comments
...
svn-id: r42161
2009-07-06 01:41:29 +00:00
Sven Hesse
edfaf7bc3c
Added an enum for the hotspot states
...
svn-id: r42155
2009-07-05 21:40:51 +00:00
Sven Hesse
29e97533c1
Adding some hotspot debug messages
...
svn-id: r42154
2009-07-05 21:40:20 +00:00
Sven Hesse
50108e9135
Renaming the last occurences of "Collision" to "Hotspot"
...
svn-id: r42153
2009-07-05 21:39:55 +00:00
Sven Hesse
c88b9be2a7
Reordering some methods
...
svn-id: r42150
2009-07-05 19:58:09 +00:00
Sven Hesse
d6c99ae861
Renaming FontDesc::extraData to charWidths
...
svn-id: r42149
2009-07-05 19:57:55 +00:00
Sven Hesse
62fcf1177d
More input related split-offs
...
svn-id: r42148
2009-07-05 19:57:37 +00:00
Sven Hesse
5a85a13615
Split off some drawing related functions
...
svn-id: r42147
2009-07-05 19:57:22 +00:00