Commit Graph

43469 Commits

Author SHA1 Message Date
Filippos Karapetis
59d00fca17 SCI: Removed leftover end markers from the opcode formats array
svn-id: r55153
2011-01-07 19:31:19 +00:00
Bastien Bouclet
b55e593cdd MOHAWK: Merge Myst intro opcode 100 with generic opcode 40 into engine method changeStack
svn-id: r55152
2011-01-07 19:26:31 +00:00
Filippos Karapetis
6b250f8c9b SCI2/2.1: Improvements to the find_callk debug function, and some kernel function updates
- Improved the find_callk function to properly find the end of script objects, by
monitoring jump calls
- Added three extra special calls to find_callk: find kernel function calls to dummy,
unused and unmapped kernel functions
- Updated several kernel function calls because of the above functionality
- The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added 
a FIXME for it

svn-id: r55151
2011-01-07 18:25:38 +00:00
Jordi Vilalta Prat
2f7c04e54b GROOVIE: Fix a memory leak reported by cppcheck.
svn-id: r55150
2011-01-07 17:44:20 +00:00
Marcus Comstedt
176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00
Nicola Mettifogo
31ffb39939 PARALLACTION: keep music playing during the intro (fix bug #2879791).
svn-id: r55148
2011-01-07 16:19:13 +00:00
Nicola Mettifogo
9dd0e0f94c PARALLACTION: fix music playback (bug #2879793).
* Do not restart character theme is already playing.
* Play the correct tune in the night club.
* Do not play muisc in the location meant to be silent.

svn-id: r55147
2011-01-07 16:00:08 +00:00
Nicola Mettifogo
75d7ee9bd6 PARALLACTION: remove code duplication in NS sound code.
svn-id: r55146
2011-01-07 15:17:07 +00:00
Arnaud Boutonné
868717b444 TOOLS: Add Dos intro music number in hugo.dat
svn-id: r55145
2011-01-07 15:14:38 +00:00
Marcus Comstedt
710e41c3e8 DC: Check plugins for required symbols
Make sure that all the required symbols exist in generated plugins.
If not, the strip command may have removed them...

svn-id: r55144
2011-01-07 14:40:25 +00:00
Johannes Schickel
f9ebeb330b GRAPHICS: Some basic documentation for Font.
svn-id: r55143
2011-01-07 12:43:00 +00:00
Johannes Schickel
2817f80db8 GRAPHICS: Add some doxygen comments to Surface.
svn-id: r55142
2011-01-07 12:26:01 +00:00
Filippos Karapetis
576efc526b SCI: The SCI2.1 SVGA version of MUMG is named "Mixed-Up Mother Goose Deluxe"
svn-id: r55139
2011-01-07 00:19:54 +00:00
Filippos Karapetis
1796e7afdd SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug
functions with empty function calls
- Marked several unused or debug kernel functions as stub
- Added some games where the rest of the unimplemented SCI2.1 kernel functions are used

svn-id: r55138
2011-01-07 00:12:18 +00:00
Filippos Karapetis
49f965a547 SCI2.1: Added a sanity check for VMD video positioning, for the demo of Lighthouse
svn-id: r55137
2011-01-07 00:07:33 +00:00
Filippos Karapetis
a6994413ea SCI2.1: Show the kernel table used in the "version" console command
Transitive SCI2.1 games (e.g. QFG4CD and PQ4CD, as well as GK2 demo) used a SCI2 table,
with some added functions. If a SCI2.1 game is loaded, show what kernel table it uses

svn-id: r55136
2011-01-07 00:05:14 +00:00
Max Horn
4b2f92b5e5 AGI: Rewrote predictive code matcher
The new code is simpler, avoids a potential buffer overrun
(by avoiding to to use a buffer in the first place), and
hopefully has slightly more sane matching properties.

svn-id: r55135
2011-01-06 21:11:24 +00:00
Arnaud Boutonné
fc130351f3 HUGO: Fix GCC warnings, second try (sorry)
svn-id: r55134
2011-01-06 14:30:34 +00:00
Arnaud Boutonné
910d2d577a HUGO: Fix GCC warnings
svn-id: r55133
2011-01-06 14:16:23 +00:00
Arnaud Boutonné
46e5149269 HUGO: Implement DOS player
svn-id: r55132
2011-01-06 14:06:04 +00:00
Arnaud Boutonné
bb9ad6afe4 HUGO: Improve intro in H3 Dos
After a check on youtube (clone2727), fix the character used 
in the map during intro in H3 DOS

svn-id: r55131
2011-01-06 07:54:23 +00:00
David Turner
ccc3830b49 SWORD25: Update configure Script to set LUA platform configuration for linux*
This changes removes the tmpnam warning when building the Sword 2.5 engine.
This fix sets the top level define which is used by engines/sword25/util/lua/luaconf.h to configure the LUA interpreter build, but only for linux* targets. 
Other targets may need a similar fix.
Note : LUA_USE_POSIX is used in preference to LUA_USE_LINUX as this causes another warning associated with the dlopen usage.

svn-id: r55130
2011-01-06 00:43:36 +00:00
Matthew Hoops
0338febe57 HUGO: Correct font sizes used in the Hugo1 DOS intro
svn-id: r55129
2011-01-05 23:48:44 +00:00
Arnaud Boutonné
9dde7e2b87 HUGO: Little cleanup
svn-id: r55128
2011-01-05 23:39:36 +00:00
Arnaud Boutonné
7b1e6bd2f8 HUGO: Fix warning using GCC
svn-id: r55127
2011-01-05 22:35:07 +00:00
Arnaud Boutonné
0ac25c43a0 HUGO: Use Win2 fonts in intro.
Win1 font is loaded too, but fails as it's not yet supported

svn-id: r55126
2011-01-05 22:28:37 +00:00
Matthew Hoops
4e05e450c3 VIDEO: Mirror QuickTime's mishandling of its own mdat atoms
While the specs say that the 'mdat' ("media data") atom is required in all QuickTime files, QuickTime makes no check if the atom is actually present. This allows for some videos with typos in the atom tag in them to play in QuickTime anyway. The offsets in the 'stco' atom are only used instead.

This will fix a video in DS2 Mac and a music file in IHNM Mac (although this is not needed for either just yet).

svn-id: r55125
2011-01-05 18:06:46 +00:00
Max Horn
0a8189fd41 AGI: cleanup
svn-id: r55124
2011-01-05 13:04:08 +00:00
Filippos Karapetis
2d5dc8c638 SCI: Cleanup
svn-id: r55123
2011-01-04 23:19:04 +00:00
Filippos Karapetis
f2234f8ee3 SCI: Fixed part of bug #3150767 - "KQ5 French crash on startup, only partial English text"
This is a regression from r54510

svn-id: r55122
2011-01-04 23:11:19 +00:00
Eugene Sandulenko
11780744c2 HUGO: Proper implementation for menu closing when clicked outside of it
svn-id: r55121
2011-01-04 21:45:09 +00:00
Matthew Hoops
bee912ff54 GRAPHICS: Add support for Windows FON/FNT fonts
As required by Hugo and Mohawk.

svn-id: r55120
2011-01-04 20:39:27 +00:00
Filippos Karapetis
34ae92033c SCI: Moved the "SCI" bit to the extras field, to preserve the original naming of the games
svn-id: r55119
2011-01-04 19:46:18 +00:00
Filippos Karapetis
9fe6540dd9 SCI: Corrected game description for LSL1 (thanks Raziel)
svn-id: r55118
2011-01-04 19:23:05 +00:00
Arnaud Boutonné
2477c733da HUGO: Use several 'off' buttons in the menu
svn-id: r55117
2011-01-04 14:18:43 +00:00
Filippos Karapetis
d050b811bb SCI: Slight cleanup to the garbage collector
svn-id: r55116
2011-01-04 12:29:23 +00:00
Filippos Karapetis
77a1915377 SCI: Some changes to the naming scheme of some games
- For remakes like KQ1, KQ4 and LSL1, the "SCI remake" bit has been moved to the game
description (as it's part of the description, not the extras)
- The "VGA" bit has been removed from the extras. Only the "EGA" bit remains for EGA
versions, to distinguish them from their VGA counterparts, when they exist

svn-id: r55115
2011-01-04 09:09:56 +00:00
Arnaud Boutonné
9ee74fee8a HUGO: Implement menu commands
Also did some cleanup, and had to comment out 
handleMouseUp() as it's currently not working really well

svn-id: r55114
2011-01-04 08:36:03 +00:00
Alyssa Milburn
e59eb31ba9 MOHAWK: Add stopMidi() function.
svn-id: r55113
2011-01-03 22:53:34 +00:00
Alyssa Milburn
4fe73d47fd MOHAWK: Add game type/detection for CSTime.
svn-id: r55112
2011-01-03 22:53:12 +00:00
Alyssa Milburn
2c8b4161ff MOHAWK: Add/update some resource FourCC entries.
svn-id: r55111
2011-01-03 22:52:50 +00:00
Matthew Hoops
9074a27211 MOHAWK: Use integer math where floating point isn't required
svn-id: r55110
2011-01-03 20:44:27 +00:00
Matthew Hoops
8a77f49a59 MOHAWK: Cleanup some spacing, formatting, and naming
svn-id: r55109
2011-01-03 20:40:07 +00:00
Filippos Karapetis
cdb5e55f75 HUGO: Renamed the "cmd" parameter to "command", as "cmd" is a struct in game.h
svn-id: r55108
2011-01-03 19:44:30 +00:00
Eugene Sandulenko
f517b6d344 HUGO: Added stub for menu commands and implemented menu closing
svn-id: r55107
2011-01-03 19:08:10 +00:00
Matthew Hoops
def3c562cb MOHAWK: Silence a gcc warning
svn-id: r55106
2011-01-03 18:45:04 +00:00
Eugene Sandulenko
3344d1b5aa HUGO: Implement top menu autoscaling
svn-id: r55105
2011-01-03 18:17:13 +00:00
Bastien Bouclet
2c95f1f8e1 MOHAWK: Implement Myst opcodes 133, Stellar observatory go button
svn-id: r55104
2011-01-03 17:37:52 +00:00
Arnaud Boutonné
42a41ebd85 HUGO: Load bitmaps from hugo.dat
- set menu bitmaps to 'on' buttons by default
- rename menu entries to match a bit better the original

svn-id: r55103
2011-01-03 16:19:00 +00:00
Arnaud Boutonné
e670e698f1 TOOLS: Add button bitmaps to create_hugo
svn-id: r55102
2011-01-03 16:15:52 +00:00