Commit Graph

43183 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
3d2104460d HUGO: Show bitmap on first button in menu as a proof of concept
svn-id: r55101
2011-01-03 12:48:28 +00:00
Eugene Sandulenko
30b40c4745 HUGO: Stub for the top menu
svn-id: r55100
2011-01-03 12:38:13 +00:00
Eugene Sandulenko
04a9082d02 GUI: Implement PicButtonWidget
It is a button with picture intead of text. To be used by Hugo engine

svn-id: r55099
2011-01-03 12:23:50 +00:00
Paul Gilbert
e00c17712c M4: Removed redundant colour index recalculation in palette manager
svn-id: r55098
2011-01-03 11:36:39 +00:00
Arnaud Boutonné
eeaeab93e8 HUGO: Fix 2 bugs that were causing several crashes using the mouse
svn-id: r55097
2011-01-02 21:32:56 +00:00
Bastien Bouclet
83f0a28623 MOHAWK: Implement Myst opcodes 134 to 137, and 170 to 177, Stellar observatory sliders
svn-id: r55096
2011-01-02 17:06:43 +00:00
Alyssa Milburn
7e0744aa4a VIDEO: Stop leaking surface data in several codecs.
svn-id: r55095
2011-01-02 14:57:49 +00:00
Alyssa Milburn
940e4f936e MOHAWK: Don't leak the MIDI data.
svn-id: r55094
2011-01-02 14:57:20 +00:00
Alyssa Milburn
1f579add9f MOHAWK: Don't delete the MIDI driver before the parser.
The parser was trying to call into the deleted driver.

svn-id: r55093
2011-01-02 14:23:18 +00:00
Bastien Bouclet
fd5754d6af MOHAWK: Fix checking Myst rocket sound puzzle before moving all the sliders.
Fix a off by one graphical glitch that happened when moving sliders.
Implement opcode 300.

svn-id: r55092
2011-01-02 14:15:15 +00:00
Arnaud Boutonné
d063b074cd JANITORIAL: Suppress some useless includes
svn-id: r55091
2011-01-02 14:06:42 +00:00
Yotam Barnoy
c4095aabc5 PLUGINS: for uncached plugins, first check the loaded plugin before looking elsewhere
There are some calls to EngineManager::findGame() from within games, such as when loading saved games. It's critical not to unload the plugin from memory or other threads may crash. Therefore, we first scan using any plugin that's already in memory.

svn-id: r55089
2011-01-02 10:08:02 +00:00
Arnaud Boutonné
fcf40ad626 HUGO: Some space/tab cleanups
svn-id: r55088
2011-01-01 23:57:50 +00:00
Alyssa Milburn
319fdf40b2 COMMON: Fix comment about getButtonState.
svn-id: r55087
2011-01-01 22:36:33 +00:00
Filippos Karapetis
32d7e687ee SCI: debugC calls no longer require a debug level of 2 to show output
svn-id: r55086
2011-01-01 12:48:12 +00:00
Filippos Karapetis
d44a105e7f SCI: Disable continuous list checking by default
svn-id: r55085
2011-01-01 12:43:09 +00:00
Arnaud Boutonné
5d6771e3df HUGO: Midi are no longer looping. Add handling to default playlist
svn-id: r55084
2011-01-01 10:51:57 +00:00
Arnaud Boutonné
473ddccf50 HUGO: Reduce CPU usage by adding a delay in the main loop
svn-id: r55083
2011-01-01 10:13:42 +00:00
Arnaud Boutonné
6a299ce0b8 COPYRIGHT: Update copyright year - Happy new year!
svn-id: r55082
2010-12-31 23:04:49 +00:00
Arnaud Boutonné
3358001c39 HUGO: Add CTRL-l and CTRL-s keys used in Win versions.
CTRL-n has been added too, but is currently only a STUB

svn-id: r55081
2010-12-31 22:44:16 +00:00
Arnaud Boutonné
11d4742520 HUGO: Saving a game is no longer authorized when gameOverFl is set
svn-id: r55079
2010-12-31 16:25:28 +00:00
Torbjörn Andersson
aa9786604c JANITORIAL: Remove unnecessary semicolon.
svn-id: r55077
2010-12-31 15:19:42 +00:00
Arnaud Boutonné
1df582aecb HUGO: F6 now also closes inventory in Win versions
svn-id: r55076
2010-12-31 14:50:22 +00:00
Filippos Karapetis
e48b07e3bd SCI: Added workaround for script bug #3148418 - "QFG2: Script Error On last screen"
svn-id: r55075
2010-12-31 11:32:19 +00:00
David Turner
04043240b1 GOB: Minor Correction in Debug Console Header.
svn-id: r55074
2010-12-31 11:00:50 +00:00
David Turner
c71c3ab591 MOHAWK: Minor Correction to Graphics Debug Output.
svn-id: r55073
2010-12-31 10:58:59 +00:00
David Turner
f96c8f6e39 CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.
The collisionPage is only initialised with values when loadCtFw() / loadCtOS() is called.
However, currently during the display of the Delphine Software Logo in Operation Stealth,
checkCollision() is called, but the collisionPage has not been loaded.
To fix the invalid reads, have added code to set the page to zero after allocation.
Shouldn't cause any issues to FW as this will load over the top anyway.

Have also added debug output around this behaviour so that if this is not sufficient i.e. a collision page load is actually missing, then this will aid investigation.

svn-id: r55071
2010-12-31 09:14:49 +00:00
David Turner
c9330fb79e CINE: Close Memory Leak in PCSoundFxPlayer.
This leakage was reported by Valgrind while playing Operation Stealth.

svn-id: r55070
2010-12-31 09:07:44 +00:00
Torbjörn Andersson
9f9035c3df FMOPL: Fix GCC warnings when DBOPL_WAVE is not WAVE_TABLEMUL.
svn-id: r55069
2010-12-30 22:43:20 +00:00
Arnaud Boutonné
542f946155 HUGO: Fix default values in object_t structure for viewx field and followings.
This fixes some other bugs reported by D. Gray

svn-id: r55068
2010-12-30 22:07:12 +00:00
Arnaud Boutonné
1dd3142330 HUGO: Fix several bugs reported by D. Gray
svn-id: r55067
2010-12-30 21:07:38 +00:00
Bastien Bouclet
14cd97cc77 MOHAWK: Implement Myst opcodes 129 to 132, and 192 to 197, Stellar observatory buttons
svn-id: r55065
2010-12-30 13:53:14 +00:00
Yotam Barnoy
7558331550 PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS
ONE_PLUGIN_AT_A_TIME is too long.

svn-id: r55064
2010-12-30 08:01:58 +00:00
Bastien Bouclet
6c9a4d36ec MOHAWK: Implement Myst opcode 214, Stellar observatory initialization
svn-id: r55063
2010-12-29 19:33:49 +00:00
Florian Kagerer
5e88223e8e PLUGINS: fixed MSVC build
svn-id: r55062
2010-12-29 15:37:57 +00:00
Yotam Barnoy
8f36a5f887 PLUGINS: single plugin model now saves plugin filename to config file
After searching for the right plugin once, the filename will be saved to the config file under the domain 'plugin_files'. The key is the gameid and the value is the plugin file. The backup mechanism is searching plugin by plugin.

svn-id: r55061
2010-12-29 15:25:21 +00:00