Commit Graph

18455 Commits

Author SHA1 Message Date
Eugene Sandulenko
e7c9014b05 SWORD25: A bit better alpha blending. Still incorrect
svn-id: r53278
2010-10-12 23:13:45 +00:00
Paul Gilbert
b294e88f7e SWORD25: Converted FontResource to use ScummVM XML Parser
svn-id: r53277
2010-10-12 23:13:24 +00:00
Paul Gilbert
2c62016838 SWORD25: Added GetXmlFile helper function
The XML files included with the game don't include an XML header line, which is required by the ScummVM XML parser. This helper function encapsulates the GetFile method to return a buffer that includes the required line at the start.

svn-id: r53276
2010-10-12 23:13:03 +00:00
Eugene Sandulenko
4d11cf941e SWORD25: Another attempt to implement alpha blending. Looks a bit better.
svn-id: r53275
2010-10-12 23:12:41 +00:00
Eugene Sandulenko
e9d6fa094e SWORD25: Fix colors
svn-id: r53274
2010-10-12 23:12:20 +00:00
Eugene Sandulenko
b9efb23e03 SWORD25: Fix image blitting width.
svn-id: r53273
2010-10-12 23:12:03 +00:00
Eugene Sandulenko
fccc44851f SWORD25: Attempt to implement alpha blending. Code disabled.
svn-id: r53272
2010-10-12 23:11:41 +00:00
Eugene Sandulenko
de0b8addc4 SWORD25: Fix stupid error in Blit(). Now it shows stuff!
svn-id: r53271
2010-10-12 23:11:18 +00:00
Eugene Sandulenko
bab1358e51 SWORD25: More tweaking to image Blit, doesn't assert anymore.
Though in fact it is all wrong now.

svn-id: r53270
2010-10-12 23:10:57 +00:00
Eugene Sandulenko
c51f4629cf SWORD25: Implement graphics Fill() method
svn-id: r53269
2010-10-12 23:10:36 +00:00
Eugene Sandulenko
f1e7fb28a0 SWORD25: Fix early engine quit. Now it runs, hurray!
svn-id: r53268
2010-10-12 23:10:15 +00:00
Eugene Sandulenko
c875856d20 SWORD25: Implemented script tracing
To turn on traces turn on debugchannel 'script' and then use
debug level as a bitmask:
  1 - show function calls
  2 - show function exits
  3 - show every line

svn-id: r53267
2010-10-12 23:09:53 +00:00
Eugene Sandulenko
4d678fc3b8 SWORD25: Fix warning
svn-id: r53266
2010-10-12 23:09:32 +00:00
Paul Gilbert
1d16dfd281 SWORD25: Refactored engine to remove BS_Rect class
svn-id: r53265
2010-10-12 23:09:12 +00:00
Paul Gilbert
0186984671 SWORD25: Fixed return value of AppEnd
svn-id: r53264
2010-10-12 23:08:12 +00:00
Paul Gilbert
9efd8bac26 SWORD25: Removed now redundant 'using namespace std' lines
svn-id: r53263
2010-10-12 23:07:55 +00:00
Eugene Sandulenko
3fb0e9383b SWORD25: Removed last traces of STL
svn-id: r53262
2010-10-12 23:07:29 +00:00
Eugene Sandulenko
b01994a53b SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.

svn-id: r53261
2010-10-12 22:59:01 +00:00
Sylvain Dupont
4c4e821326 TOON: Fixed bug #3085971 with missing "fail" sound sfx
Bug #3085971: "TOON: Missing sfx for invalid Flux request"

svn-id: r53260
2010-10-12 22:57:03 +00:00
Eugene Sandulenko
be44216e5c SWORD25: eliminated BS_ prefix in all but kernel/
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko
485ff15d23 SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/
svn-id: r53258
2010-10-12 22:53:49 +00:00
Eugene Sandulenko
e71337861f SWORD25: brought CallBackRegisry class to our naming standards
svn-id: r53257
2010-10-12 22:51:37 +00:00
Paul Gilbert
596684101e SWORD25: Added implementation of rint method
Windows doesn't seem to implement this method; even examples for FMOD I saw had WIN32 defines that manually provided the method.

svn-id: r53256
2010-10-12 22:51:06 +00:00
Eugene Sandulenko
0a7cdd7128 SWORD25: Fix valgrind warning
svn-id: r53255
2010-10-12 22:50:47 +00:00
Eugene Sandulenko
a1d22a063b SWORD25: Fix warnings
svn-id: r53254
2010-10-12 22:50:28 +00:00
Eugene Sandulenko
b65284078a SWORD25: Debug output for image blitting
svn-id: r53253
2010-10-12 22:49:27 +00:00
Eugene Sandulenko
f95da5e3ee SWORD25: Made game run with extracted data
svn-id: r53252
2010-10-12 22:49:08 +00:00
Eugene Sandulenko
a21b148a9b SWORD25: Added possibility to run from extracted game.
Still doesn't start though

svn-id: r53251
2010-10-12 22:48:45 +00:00
Eugene Sandulenko
a87dbb4c60 SWORD25: Actually blit images to screen.
svn-id: r53250
2010-10-12 22:48:22 +00:00
Eugene Sandulenko
24db2ad739 SWORD25: Implement BS_ScummVMPackageManager::doSearch.
Now all scripts run.

svn-id: r53249
2010-10-12 22:47:57 +00:00
Eugene Sandulenko
0cdab788ae SWORD25: Changed signature of FS searching method. Cleanup.
svn-id: r53248
2010-10-12 22:47:38 +00:00
Eugene Sandulenko
28d81a2a1c SWORD25: package manager. Style fixes. Cleanup
svn-id: r53247
2010-10-12 22:47:15 +00:00
Eugene Sandulenko
eb191e3590 SWORD25: Fix loading files with relative paths.
svn-id: r53246
2010-10-12 22:46:54 +00:00
Eugene Sandulenko
f4024d7d14 SWORD25: Fix initialization.
svn-id: r53245
2010-10-12 22:46:35 +00:00
Eugene Sandulenko
fbdbc089e0 SWORD25: Fix package manager. Now scripts run.
svn-id: r53244
2010-10-12 22:46:13 +00:00
Eugene Sandulenko
992c504968 SWORD25: Further fixes for package manager
svn-id: r53243
2010-10-12 22:45:53 +00:00
Eugene Sandulenko
06fc35ffe8 SWORD25: Make Lua package registering more robust.
svn-id: r53242
2010-10-12 22:45:32 +00:00
Eugene Sandulenko
4b1b3e5034 SWORD25: Better detection entry.
svn-id: r53241
2010-10-12 22:45:14 +00:00
Eugene Sandulenko
3f69477b44 SWORD25: Portability fixes. Now compiles and runs under Linux.
svn-id: r53240
2010-10-12 22:44:55 +00:00
Eugene Sandulenko
8977f88834 SWORD25: started fixing pakage manager
svn-id: r53239
2010-10-12 22:44:29 +00:00
Eugene Sandulenko
c97aee132a SWORD25: Fix log output.
svn-id: r53238
2010-10-12 22:44:11 +00:00
Eugene Sandulenko
3a8e1622af SWORD25: Fix conversion bugs in BS_LuaBindhelper::_CreateTable()
svn-id: r53237
2010-10-12 22:43:55 +00:00
Eugene Sandulenko
72130c284d SWORD25: Fix couple more warnings
svn-id: r53236
2010-10-12 22:43:36 +00:00
Eugene Sandulenko
43959cc6bd SWORD25: Turn on debugging by default
svn-id: r53235
2010-10-12 22:43:05 +00:00
Eugene Sandulenko
031a2fc88e SWORD25: Final linking fixes. Now it links!
svn-id: r53234
2010-10-12 22:42:44 +00:00
Eugene Sandulenko
5cf67ce36f SWORD25: Stubbed FMODExSound class
svn-id: r53233
2010-10-12 22:42:22 +00:00
Eugene Sandulenko
9be75f0acc SWORD25: Added missing file
svn-id: r53232
2010-10-12 22:42:01 +00:00
Eugene Sandulenko
2be2f8331b SWORD25: Get rid of glsprites library
svn-id: r53231
2010-10-12 22:41:44 +00:00
Eugene Sandulenko
fa224de16f SWORD25: Temporarily added tinyxml code
To speedup linking, added the code. It has to be replaced with our
XML parser.

svn-id: r53230
2010-10-12 22:41:04 +00:00
Eugene Sandulenko
23eace8f7d SWORD25: Next step of graphics code conversion.
Now it does not depend on glsprite library and may even show something

svn-id: r53229
2010-10-12 22:40:20 +00:00
Eugene Sandulenko
f010c4e2ad SWORD25: Fix linking
svn-id: r53228
2010-10-12 22:39:41 +00:00
Eugene Sandulenko
fd40021a72 SWORD25: Started rewriting gfx subsystem
svn-id: r53227
2010-10-12 22:39:23 +00:00
Eugene Sandulenko
d50dcb80ad SWORD25: Linking fixes.
svn-id: r53226
2010-10-12 22:38:49 +00:00
Eugene Sandulenko
ad5b74c9de SWORD25: Clean compile!
Under MinGW, with OpenGL and tinyxml.

svn-id: r53225
2010-10-12 22:38:23 +00:00
Eugene Sandulenko
ab85540a1b SWORD25: More compilation fixes
Now almost everything compiles fine. Several files were tricked
and there are references to tinyxml.h and of course fmod and agg.

OpenGL gfx renderer removed from the project, we need to create
our own from the scratch.

svn-id: r53224
2010-10-12 22:37:13 +00:00
Eugene Sandulenko
7257ee345b SWORD25: More compilation fixes
svn-id: r53223
2010-10-12 22:36:30 +00:00
Eugene Sandulenko
47904bc7b2 SWORD25: Mass-astyle.
svn-id: r53222
2010-10-12 22:35:55 +00:00
Eugene Sandulenko
ca17def625 SWORD25: Fix callbackregistry.h compilation
svn-id: r53221
2010-10-12 22:31:38 +00:00
Paul Gilbert
a5819c1e0a SWORD25: Converted remainder of package/ folder
svn-id: r53220
2010-10-12 22:31:18 +00:00
Eugene Sandulenko
a17ec87b7d SWORD25: Number of compilation and warning fixes
svn-id: r53219
2010-10-12 22:30:57 +00:00
Eugene Sandulenko
6dcf9f0ee5 SWORD25: std::string -> Common::String in gfx/
svn-id: r53218
2010-10-12 22:29:37 +00:00
Eugene Sandulenko
c1b5e5acb8 SWORD25: Fix warnings and compilation
svn-id: r53217
2010-10-12 22:28:54 +00:00
Paul Gilbert
87553862d9 SWORD25: Converted remainder of Kernel/ folder
svn-id: r53216
2010-10-12 22:28:21 +00:00
Eugene Sandulenko
bf53914c2a SWORD25: Fix compilation and several warnings
svn-id: r53215
2010-10-12 22:27:32 +00:00
Eugene Sandulenko
de0fe1db49 SWORD25: Mass-putting of all files in gfx/ into Sword25 namespace
svn-id: r53214
2010-10-12 22:27:03 +00:00
Eugene Sandulenko
eb30ebde2a SWORD25: Finish preliminary implementation of Theora decoder
svn-id: r53213
2010-10-12 22:25:18 +00:00
Paul Gilbert
6b755174bd SWORD25: Fixed some potentially uninitialised variable warnings
svn-id: r53212
2010-10-12 22:24:58 +00:00
Paul Gilbert
ccba0891fd SWORD25: Converted further files from old hashmap.h to Common::HashMap
This commit includes a class pointer hash function added in objectregistry.h that should be double-checked to see if it's correct.

svn-id: r53211
2010-10-12 22:24:37 +00:00
Paul Gilbert
7bc8cd284a SWORD25: Fixed string comparisons against pointers rather than contents
svn-id: r53210
2010-10-12 22:24:03 +00:00
Paul Gilbert
6984d24d06 SWORD25: Removed redundant kernel/hashmap.h
This was only used by the callbackregistery file, which is being converted to use the Common::HashMap class

svn-id: r53209
2010-10-12 22:23:43 +00:00
Paul Gilbert
49ea23c532 SWORD25: Fix for void * conversion errors
It turns out that strict C++ doesn't allow function pointers to be converted to void pointers and vice versa. Since there are two callback function pointer types - one with a KEY_COMMANDS enum parameter, and the other with an unsigned char type, I changed all void * occurances to a function pointer type with an 'int' parameter, and changed all implementation methods to take in an int parameter.

svn-id: r53208
2010-10-12 22:23:24 +00:00
Eugene Sandulenko
1e3b3af5c0 SWORD25: Start of plugging audio to Theora decoder
svn-id: r53207
2010-10-12 22:22:56 +00:00
Eugene Sandulenko
9b3e26e7a2 SWORD25: Start for VideoDecoder-compatible Theora player.
svn-id: r53206
2010-10-12 22:22:33 +00:00
Paul Gilbert
8533538c83 SWORD25: Mostly converted input/inputengine_script.cpp
I have the same problem with this file as inputengine.cpp.. I'm getting errors converting between 'void *' and CommandCallback function pointers.

svn-id: r53205
2010-10-12 22:22:03 +00:00
Paul Gilbert
f0b1aa92c2 SWORD25: Mostly converted callbackregistry.cpp
There is still one reference to 'It->second' that I haven't changed to 'It->value'.. if I do it, I start getting errors in ScummVM's hashmap.h, which I'm not sure how to resolve

svn-id: r53204
2010-10-12 22:21:43 +00:00
Paul Gilbert
86bef1508c SWORD25: Converted the input engine to use the ScummVM event manager
svn-id: r53203
2010-10-12 22:21:24 +00:00
Paul Gilbert
fab86ba222 SWORD25: Converted Savegame Load/Save code
In addition to converting the loading/saving of savefiles to use the SaveFileManager interface, also converted the date/time code to use the ScummVM TimeDate structure.

svn-id: r53202
2010-10-12 22:20:41 +00:00
Paul Gilbert
b9044a6a27 SWORD25: Changing service registration to use replacement ScummVM Package Manager
svn-id: r53201
2010-10-12 22:20:11 +00:00
Paul Gilbert
56d82aade1 SWORD25: Converted inputengine.cpp
svn-id: r53200
2010-10-12 22:19:03 +00:00
Sylvain Dupont
8061d8cac9 TOON: Fixed bug #3086025 with bad inventory behavior
Bug #3086025 "TOON: Inventory not working correctly with butter"

svn-id: r53199
2010-10-12 22:18:43 +00:00
Paul Gilbert
2006e564a1 SWORD25: Moved the Lua library into it's own namespace
Previously with some of the files I was leaving the #include references to the library inside the global namespace. However, since the engine itself is now inside a namespace, I had to do a lot of changes, such as lua_State to ::lua_State. This way is cleaner, and I just need to add a 'using namespace Lua' where needed.

svn-id: r53198
2010-10-12 22:18:35 +00:00
Paul Gilbert
53a9d2d0a1 SWORD25: Converted the math folder files
svn-id: r53197
2010-10-12 22:17:11 +00:00
Florian Kagerer
2f86c7a45c SCUMM/FM-TOWNS: start fixing japanese font drawing
svn-id: r53196
2010-10-12 22:17:00 +00:00
Paul Gilbert
2d8e94e4ff SWORD25: Converted Lua interface classes
svn-id: r53195
2010-10-12 22:16:21 +00:00
Paul Gilbert
ea29e41b86 SWORD25: Reimplemented package manager for ScummVM using Common::Archive
svn-id: r53194
2010-10-12 22:15:42 +00:00
Eugene Sandulenko
bed623b11e SWORD25: Fix compilation
svn-id: r53193
2010-10-12 22:15:10 +00:00
Eugene Sandulenko
6a55700935 SWORD25: Removed leftover include references
svn-id: r53192
2010-10-12 22:14:33 +00:00
Eugene Sandulenko
11b485122c SWORD25: get rid of custom md5.cpp and Windows-specific debug stuff
All version ID generation is useless for ScummVM as we have our own clear
versions. Thus removing all of that.

svn-id: r53191
2010-10-12 22:14:14 +00:00
Eugene Sandulenko
cb35fc3497 SWORD25: Update GUIO
svn-id: r53190
2010-10-12 22:13:43 +00:00
Eugene Sandulenko
023b970480 SWORD25: Update detection to modern state
svn-id: r53189
2010-10-12 22:13:26 +00:00
Eugene Sandulenko
293bf95c01 SWORD25: Replacing headers with ScummVM ones plus original (C)
svn-id: r53188
2010-10-12 22:13:00 +00:00
Paul Gilbert
5cad3bcf02 SWORD25: Converted the Resource Manager
svn-id: r53187
2010-10-12 22:01:35 +00:00
Paul Gilbert
878f5a49f7 SWORD25: Implemented ScummVM version of BS_FileSystemUtil interface
svn-id: r53186
2010-10-12 22:01:08 +00:00
Paul Gilbert
ee24f79ca1 SWORD25: Added and fixed the remaining engine setup/execution/free code
svn-id: r53185
2010-10-12 22:00:10 +00:00
Paul Gilbert
e78b19a650 SWORD25: Converted kernel/kernel.cpp to compile under ScummVM
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation.
The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files.

svn-id: r53184
2010-10-12 21:55:38 +00:00
Eugene Sandulenko
69b618a8f5 SWORD25: Compilation fixes
Majority of files now compile under Windoze.

svn-id: r53182
2010-10-12 21:54:21 +00:00
Eugene Sandulenko
e8bca8b8fe SWORD25: Fixed rest of the include paths
svn-id: r53181
2010-10-12 21:52:41 +00:00
Eugene Sandulenko
65da804f58 SWORD25: Path fixes for includes
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko
7b964a2823 SWORD25: Make couple file compilable
svn-id: r53179
2010-10-12 21:47:48 +00:00
Eugene Sandulenko
221fc150c6 SWORD25: Moving Lua one level up
svn-id: r53178
2010-10-12 21:47:06 +00:00
Eugene Sandulenko
1af6e17b0e SWORD25: Remove main_win.cpp
svn-id: r53177
2010-10-12 21:40:43 +00:00
Eugene Sandulenko
c939bc753e SWORD25: Remove memorydumper which is Windows-specific
svn-id: r53176
2010-10-12 21:40:24 +00:00
Eugene Sandulenko
804cf1c4c7 SWORD25: Fix some includes
svn-id: r53175
2010-10-12 21:40:00 +00:00
Eugene Sandulenko
385e494439 SWORD25: removed ASM usage
svn-id: r53174
2010-10-12 21:39:36 +00:00
Eugene Sandulenko
2cbeeb1e97 SWORD25: Removed cpuinfo.cpp file
svn-id: r53173
2010-10-12 21:39:16 +00:00
Eugene Sandulenko
7e2e168470 SWORD25: Added module.mk
svn-id: r53172
2010-10-12 21:38:54 +00:00
Eugene Sandulenko
a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00
Arnaud Boutonné
7723d91c95 HUGO: Add lineHandler for v3 Dos, fix/add comments
svn-id: r53170
2010-10-12 21:12:54 +00:00
Eugene Sandulenko
dbde2e46e3 SWORD25: Added detection of libtheora, png an dplugged in the engine
svn-id: r53169
2010-10-12 21:12:50 +00:00
Eugene Sandulenko
82e819d48a SWORD25: Initial dummy engine
svn-id: r53168
2010-10-12 21:02:41 +00:00
Arnaud Boutonné
7e5f66a4c8 HUGO: enable left diagonals
svn-id: r53167
2010-10-12 20:00:23 +00:00
Eugene Sandulenko
77e70a7187 AGI: Fix bug #3017908 with MIDI music
Bug #3017908: "AGI: No music with the new MIDI patch"
Thanks to Raziel^ for pinpointing the bug.

svn-id: r53166
2010-10-12 19:44:40 +00:00
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Sylvain Dupont
eb52eb32a0 TOON: Fixed Flux disappearing in barn when talking to the cow
Several animations are not present for every Flux facing.
There is an hardcoded table to handle this.

svn-id: r53157
2010-10-11 23:16:15 +00:00
Sylvain Dupont
95c0e6cc42 TOON: Fixed uninitialized var
svn-id: r53156
2010-10-11 23:14:32 +00:00
Sylvain Dupont
21cb3a62b6 TOON: Reverted script throttle for now and fixed anim timing issue
svn-id: r53155
2010-10-11 23:12:59 +00:00
Arnaud Boutonné
2978053a00 HUGO: Split classes with multiple version in separate files
svn-id: r53152
2010-10-11 21:41:31 +00:00
Filippos Karapetis
576d6429bc TOON: Reduced CPU usage by about 40%
svn-id: r53151
2010-10-11 21:27:28 +00:00
Willem Jan Palenstijn
0fd6b7608e AGI: Fix one more strncpy/strncat issue
svn-id: r53148
2010-10-11 17:52:44 +00:00
Johannes Schickel
cc0afa92b3 AGI: Fix possible buffer overflow.
This is based on patch #3085298 "overflows in agi and parallaction".

svn-id: r53147
2010-10-11 17:07:53 +00:00
Johannes Schickel
c3366755ef PARALLACTION: Fix out of bounds access.
This is a partial commit of patch #3085298 "overflows in agi and parallaction".

svn-id: r53146
2010-10-11 17:07:34 +00:00
Matthew Hoops
ed93a58955 HUGO: Use _targetName for naming save files
svn-id: r53145
2010-10-10 23:24:57 +00:00
Sylvain Dupont
ce97c61079 TOON: Fixed offsets in hard coded conversation musics
svn-id: r53144
2010-10-10 23:10:14 +00:00
Max Horn
7642cd002a SCI: Fix warning about uninitialized variable
svn-id: r53140
2010-10-10 22:25:30 +00:00
Arnaud Boutonné
6ebd324be4 HUGO: Add specific takeObject and dropObject for H1 DOS
svn-id: r53135
2010-10-10 22:13:38 +00:00
Sylvain Dupont
a4c657b8cf TOON: Made all ToonEngine functions non-virtual
svn-id: r53134
2010-10-10 21:40:25 +00:00
Johannes Schickel
97f042e530 TOON: Adapt include guard for consistency.
svn-id: r53133
2010-10-10 21:26:37 +00:00
Johannes Schickel
85f770599f TOON: Coding guideline corrections.
svn-id: r53132
2010-10-10 21:26:18 +00:00
Sylvain Dupont
0c6c03bfd6 TOON: Fix potential undefined operation warning
svn-id: r53131
2010-10-10 21:19:40 +00:00
Sylvain Dupont
aa89bbbcbd TOON: Music attenuation when someone talks
svn-id: r53130
2010-10-10 21:12:10 +00:00
Sylvain Dupont
23aa94ec02 TOON: Fix fast animation "Ready" on Sweetfighter game
svn-id: r53129
2010-10-10 20:30:36 +00:00
Arnaud Boutonné
9c56271839 HUGO: Add debug channels to new parser functions
svn-id: r53128
2010-10-10 20:13:59 +00:00
Sylvain Dupont
927f560eb2 TOON: Fixed bad Flux state when restoring a game
svn-id: r53127
2010-10-10 16:52:15 +00:00
Torbjörn Andersson
1f6bc7e309 TOON: Fix distortion in some looped music
This was very noticeable in the footman conversation music.

svn-id: r53125
2010-10-10 16:13:55 +00:00
Sylvain Dupont
c952f7aa58 TOON: Added special conversation musics
svn-id: r53124
2010-10-10 15:47:05 +00:00
Sylvain Dupont
0d6d895478 TOON: Disable too many levels of recursion with click events
svn-id: r53119
2010-10-10 14:30:13 +00:00
Sylvain Dupont
7a7eabb139 TOON: Fix end of idle animations
svn-id: r53118
2010-10-10 14:27:19 +00:00
Florian Kagerer
2c691e1168 LOOM PC-Engine: fix mouse cursor
svn-id: r53117
2010-10-10 14:22:10 +00:00
Arnaud Boutonné
440bcaa060 HUGO: Fix 'Exit' command behavior in the DOS versions
svn-id: r53116
2010-10-10 13:06:48 +00:00
Florian Kagerer
8e6ce812d1 LOOM PC-Engine: fix regression
svn-id: r53113
2010-10-10 10:26:49 +00:00
Arnaud Boutonné
550d340959 HUGO: Now force initial save
This should fix the corrupted initial savegame problem

svn-id: r53111
2010-10-10 10:00:55 +00:00
Arnaud Boutonné
c50a149a35 HUGO: Remove sound off when saving
svn-id: r53110
2010-10-10 09:59:40 +00:00
Arnaud Boutonné
a4c16f7447 HUGO: Move Dos strings from Parser to hugo.dat
svn-id: r53109
2010-10-10 09:47:19 +00:00
Arnaud Boutonné
ced1aba1ea HUGO: New parser for H1 Dos and H2 Dos.
Add specific parser functions for H1 Dos and H2 Dos

svn-id: r53106
2010-10-10 07:43:42 +00:00
Florian Kagerer
89fd5b31c1 SCUMM/FM-TOWNS: minor fix for sfx code
svn-id: r53103
2010-10-09 16:39:56 +00:00
Florian Kagerer
5ce63fb78f KYRA: fix regression in Screen_v2::generateOverlay()
(very noticeable in LOL PC-98)

svn-id: r53102
2010-10-09 14:55:33 +00:00
Torbjörn Andersson
212d6cc1f0 TOON: Fix black spots in title picture.
A "full palette" is, presumably, 256 colours, not 255.

svn-id: r53101
2010-10-09 11:33:29 +00:00
Torbjörn Andersson
30556795fd TOON: Removed unnecessary "break"s (right after "return"s)
svn-id: r53100
2010-10-09 11:27:25 +00:00
Johannes Schickel
571fe5d21e TOON: Constify some more tables.
svn-id: r53099
2010-10-09 11:18:19 +00:00
Johannes Schickel
eef9f7b57b TOON: Ran astyle over the toon engine (+ some manual corrections).
svn-id: r53098
2010-10-09 11:11:26 +00:00
Torbjörn Andersson
20e6baca22 TOON: More semi-colon cleanup.
svn-id: r53097
2010-10-09 10:41:01 +00:00
Ori Avtalion
2ab013941a TOON: Semicolon cleanup
svn-id: r53096
2010-10-09 10:29:11 +00:00
Florian Kagerer
88416b870d SCUMM/FM-TOWNS: cleanup sfx code
svn-id: r53095
2010-10-09 01:36:38 +00:00
Matthew Hoops
0acdaf30b2 TOON: Merge toondemo game id into toon
ADGF_DEMO already marks it as a demo, so labeling the id as "Demo" would be redundant.

svn-id: r53094
2010-10-09 01:21:06 +00:00
Sylvain Dupont
3a0ad4c41c TOON: String fixes for motoezx build
svn-id: r53093
2010-10-09 00:29:10 +00:00
Johannes Schickel
2a984d1d3f TOON: Make some static data tables const.
svn-id: r53092
2010-10-09 00:26:58 +00:00
Sylvain Dupont
0fc6572b65 VIDEO: Remove useless references in handleAudioTrack function
svn-id: r53091
2010-10-09 00:17:55 +00:00
Eugene Sandulenko
e11637c7bc TOON: Normalized include paths
svn-id: r53089
2010-10-08 22:45:28 +00:00
Eugene Sandulenko
3aa0345ab3 TOON: Fixed guard defines
svn-id: r53088
2010-10-08 22:33:58 +00:00
Eugene Sandulenko
cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00
Willem Jan Palenstijn
28ade1826a SCI: Support kGetTime modes 2 and 3 in SCI 0_LATE
This fixes bug #3083879 in Iceman.

svn-id: r53077
2010-10-08 18:33:54 +00:00
Florian Kagerer
b58bbd719c SCUMM/FM-TOWNS: fixed threading issue in sfx code
svn-id: r53074
2010-10-08 16:31:08 +00:00
Florian Kagerer
4ad65e5179 SCUMM/FM-TOWNS: fixed possible invalid mem access in sfx code
svn-id: r53073
2010-10-08 13:50:11 +00:00
Filippos Karapetis
744a1829ac SCI: Added a check for magnifier cursor multipliers
Sierra SCI only allowed multipliers 1, 2 and 4, and errored out on unexpected
values, thus we do the same

svn-id: r53072
2010-10-08 13:33:54 +00:00
Martin Kiewitz
6dcf366b7d SCI: fixing mag cursor as far as possible
added TODO for real proper implementation
at least the alignment and content shown is now correct

svn-id: r53071
2010-10-08 12:41:03 +00:00
Martin Kiewitz
6798b01569 SCI: add global scaling again to kAddToPic
fixes regression of r52887 - lb2 actors not scaled correctly bug #3083577

needs to get backported

svn-id: r53068
2010-10-08 10:35:25 +00:00
Florian Kagerer
a214e08c0d SCUMM/FM-TOWNS: minor change in sfx code
svn-id: r53061
2010-10-07 22:20:22 +00:00
Filippos Karapetis
e1a5b5cda1 SCI: Fix for bug #3083151 - "QFG3: Long pause while loading specific savegame"
svn-id: r53060
2010-10-07 21:50:47 +00:00
Willem Jan Palenstijn
9fae823f61 SCI: Add one more workaround for end of QfG3 Awari
svn-id: r53058
2010-10-07 20:48:55 +00:00
Filippos Karapetis
7f6fa7e030 SCUMM: Silenced signed/unsigned warnings, removed unused variable
svn-id: r53055
2010-10-07 20:18:33 +00:00
Filippos Karapetis
cacfefa699 SCI: bugfix for magnifier cursors
When deleting the resources related to magnifier cursors, zero them out
as well. Fixes crash when exiting a game after using a magnifier cursor

svn-id: r53054
2010-10-07 20:00:32 +00:00
Florian Kagerer
cf9c948433 SCUMM/FM-TOWNS: cleanup
svn-id: r53053
2010-10-07 19:27:11 +00:00
Florian Kagerer
01c9b17068 SCUMM/FM-TOWNS: improved sfx support for indy4 and monkey2
svn-id: r53052
2010-10-07 19:23:49 +00:00
Filippos Karapetis
8fcd25bcce SCI: Added a define to disable room transitions
This is only useful for development, for speedy runs of games, and should NOT be
used in general, as it may introduce graphics glitches

svn-id: r53049
2010-10-07 15:30:30 +00:00
Willem Jan Palenstijn
95118b172e SCI: Still show warning for uninit. reads in release mode
svn-id: r53047
2010-10-07 14:57:59 +00:00
Martin Kiewitz
2879e19b6a SCI: unknown valgrind cases->fake 0 when official
we will fake 0 instead of error()ing out in official releases, when an uninitialized temp is read

is supposed to get backported

svn-id: r53046
2010-10-07 14:40:11 +00:00
Martin Kiewitz
5ba3475f93 SCI: fixing kBaseSetter on scaled views
adding check, if view is scaleable
also just copying nsRect now instead of recalculating - fixes lb2 regression at the docks (calling taxi hangs the game, bug #3982289) - i noticed this difference before but copying nsRect didnt work back then (i guess because of other bugs), that's why i recalculated it

should get backported, but only after some more testing - maybe someone should play through lb2 again

svn-id: r53045
2010-10-07 11:25:09 +00:00
Sven Hesse
8e523d9d2f GOB: Fix object videos with more than 255 frames
A regression of the CoktelDecoder rewrite.

svn-id: r53043
2010-10-07 09:18:15 +00:00
Paul Gilbert
b15f51ad7b LURE: Fix for #3062794 - Diermot cannot leave room 7
svn-id: r53039
2010-10-06 09:55:41 +00:00
Sven Hesse
7ffd94004e GOB: Try to also open VMD files in Gob3 Win
Because the scripts reference it as IMD, while there are actually
only VMDs files in the data files of the Windows version

svn-id: r53037
2010-10-05 21:22:30 +00:00
Sven Hesse
2a99d3d4b1 GOB: Silence compiler warnings
svn-id: r53036
2010-10-05 20:59:47 +00:00
Thierry Crozat
77f57cd8f8 DRASCULA: Add MD5 for improved French version of the game
svn-id: r53034
2010-10-05 20:11:19 +00:00
Florian Kagerer
5af782c5d2 SCUMM/FM-TOWNS: disable new graphics code in DS port
svn-id: r53033
2010-10-05 19:04:52 +00:00
Sven Hesse
b749b28c09 GOB: Fix text display in Gob3 Windows/ADI
svn-id: r53032
2010-10-05 18:54:30 +00:00
Paul Gilbert
c19c9482b2 LURE: Bugfix for #3008511 - Goewin stuck at counter
svn-id: r53029
2010-10-05 10:50:22 +00:00
Filippos Karapetis
c8fd37c9f0 SCI: Some fixes for zoom cursors
- Now the cursor buffer is initialized outside the mouse movement code, thus saving
a memcpy there
- Plugged some memory leaks
- Removed an obsolete check

svn-id: r53028
2010-10-05 10:30:26 +00:00
Paul Gilbert
61afea6cbe LURE: Bugfix for #3060480 - Ratpouch alternating between rooms
svn-id: r53026
2010-10-05 09:14:18 +00:00
Florian Kagerer
3185b9df42 SCUMM/FM-TOWNS: cleanup
svn-id: r53016
2010-10-04 17:03:38 +00:00
Martin Kiewitz
04a8ff06a2 SCI: fixing crash in mag cursor code for pharkas
svn-id: r53014
2010-10-04 09:23:06 +00:00
Filippos Karapetis
165432ad19 SCI: Several corrections for magnifier cursors
svn-id: r53010
2010-10-04 06:05:34 +00:00
Willem Jan Palenstijn
d1fb1d5b26 SCI: Fix AltInput crash in non-parser games
svn-id: r53008
2010-10-03 23:56:17 +00:00
Filippos Karapetis
27745c2143 SCI: Added missing initialization of _zoomBitmap
svn-id: r53007
2010-10-03 23:55:28 +00:00
Filippos Karapetis
c9e3a93c04 SCI: Added detection entry for KQ5/PC-98 (bug report #3073583)
svn-id: r53005
2010-10-03 23:10:45 +00:00
Filippos Karapetis
ce8a2fbbbc SCI: Added support for SCI1.1+ magnifier cursors (bug #3034973).
These are special cursors which zoom parts of a view dynamically. Examples
are Freddy Pharkas, when reading the prescription with the whiskey and LB2,
when using the magnifying glass on the Rosetta Stone

svn-id: r53003
2010-10-03 22:41:35 +00:00
Willem Jan Palenstijn
11d9f1ec54 SCI: Support alternative inputs from vocab 913
This allows the input of accented characters and Japanese using plain ascii
in non-English games.

svn-id: r53001
2010-10-03 20:58:50 +00:00
Florian Kagerer
0596971dec SCUMM/FM-TOWNS: cleanup
svn-id: r53000
2010-10-03 20:44:58 +00:00
Florian Kagerer
5d7ce32fbd SCUMM/FM-TOWNS: fix mouse cursor colors
svn-id: r52999
2010-10-03 20:29:22 +00:00
Torbjörn Andersson
8d297f065a AGI: Properly detect the autosave slot in the save dialog
Forward-ported from branch. Let's do this the easy way for now, even
if I'm not sure why the save dialog shows the autosave slot anyway.

svn-id: r52997
2010-10-03 18:38:38 +00:00
Florian Kagerer
c9713bef7c SCUMM/FM-TOWNS: improve merging of graphics layers
svn-id: r52995
2010-10-03 17:25:38 +00:00