Sven Hesse
dbdce9616c
Encapsulating hotspot state reading
...
svn-id: r42142
2009-07-05 19:56:03 +00:00
Florian Kagerer
b43664e368
LOL: cleanup
...
svn-id: r42141
2009-07-05 16:29:17 +00:00
Florian Kagerer
501df3adf8
LOL: - reduce code duplication
...
svn-id: r42140
2009-07-05 14:58:22 +00:00
Marcus Comstedt
415d0c5b03
Refresh the screen if pollEvent() is called without updateScreen() being called for a long time.
...
svn-id: r42139
2009-07-05 14:57:03 +00:00
Johannes Schickel
c353e8de1f
Removed pushing of EVENT_SCREEN_CHANGED on theme load. This event should only be pushed by the backend.
...
svn-id: r42138
2009-07-05 14:12:04 +00:00
Johannes Schickel
4956052ca4
Got rid of HACK, which was used to setup new cursor on theme change.
...
svn-id: r42137
2009-07-05 14:11:54 +00:00
Filippos Karapetis
d424bee608
Merged the two SCI1 versions in one more file
...
svn-id: r42136
2009-07-05 13:07:11 +00:00
Sven Hesse
daaba72677
Adding a workaround for an invalid expression in Gob1 EGA
...
svn-id: r42135
2009-07-05 12:52:14 +00:00
Filippos Karapetis
0b4e5c43d3
Updated the MSVC project files of the gob engine
...
svn-id: r42134
2009-07-05 11:58:42 +00:00
Filippos Karapetis
c31d1b3180
- Fixed feature auto-detection for Conquests of Camelot
...
- Auto-detected features are now printed in the console (to ease debugging)
svn-id: r42132
2009-07-05 11:49:05 +00:00
Sven Hesse
7e7c86a337
Removing the now unneeded Game_v* classes
...
svn-id: r42131
2009-07-05 11:30:14 +00:00
Sven Hesse
7e11c18fa2
Putting the Urban noCD check into Init_v6::initGame()
...
svn-id: r42130
2009-07-05 11:29:54 +00:00
Sven Hesse
14172febf7
Merging playTot()
...
svn-id: r42129
2009-07-05 11:29:30 +00:00
Sven Hesse
7be3530ffb
Merging Game's and Game_v6's totSub()
...
svn-id: r42128
2009-07-05 11:29:13 +00:00
Sven Hesse
4e70129d60
Merging Game_v1's and Game_v2's prepareStart()
...
svn-id: r42127
2009-07-05 11:28:57 +00:00
Sven Hesse
3b9add8330
Fixing indent
...
svn-id: r42126
2009-07-05 11:28:38 +00:00
Sven Hesse
bc4f27c6b6
Removing the now empty Game_Fascination class
...
svn-id: r42125
2009-07-05 11:28:25 +00:00
Sven Hesse
86f0669c93
Wrapping the block end marker checks into Hotspots::Hotspot::isEnd()
...
svn-id: r42124
2009-07-05 11:28:09 +00:00
Sven Hesse
18550c1314
Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
...
svn-id: r42123
2009-07-05 11:27:54 +00:00
Sven Hesse
835dea71ce
Added a skipBlock() method
...
svn-id: r42122
2009-07-05 11:27:26 +00:00
Sven Hesse
e861fab808
Added a Key and ShortKey enum
...
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
704895b35f
Commenting prepareStr a bit and renaming it to cleanupStr
...
svn-id: r42120
2009-07-05 11:26:42 +00:00
Sven Hesse
d2c2386c6a
Adding an enum MouseButtons
...
svn-id: r42119
2009-07-05 11:26:23 +00:00
Filippos Karapetis
5c60d94725
SCI1 games with absolute parameters to lofs instructions are automatically detected now. Removed the GF_SCI1_LOFSABSOLUTE game flag
...
svn-id: r42118
2009-07-05 11:08:53 +00:00
Filippos Karapetis
6cb5106a0b
Removed validity check for atoi, which prevented console commands from interacting with resources with id 0
...
svn-id: r42117
2009-07-05 10:34:43 +00:00
Jordi Vilalta Prat
6d3b2ec3af
- Refactorized Groovie::MusicPlayer to make it extensible
...
- Added an empty MusicPlayerMac to let the Macintosh version of The 7th Guest start
svn-id: r42116
2009-07-05 09:34:54 +00:00
Paul Gilbert
48d164a498
Bugfix for word-wrapping of text, which sometimes failed for strings with special characters
...
svn-id: r42115
2009-07-05 07:21:17 +00:00
Willem Jan Palenstijn
eba5780fc0
When creating a CleanupSongIterator, transfer death listeners to it
...
svn-id: r42113
2009-07-05 01:16:53 +00:00
Willem Jan Palenstijn
f907dc7fc7
When morphing a TeeSongIterator, transfer death listeners to remaining child
...
svn-id: r42112
2009-07-04 23:52:24 +00:00
Florian Kagerer
9255bfc907
KYRA: fix minor bug in Screen::drawShape()
...
svn-id: r42110
2009-07-04 21:18:20 +00:00
Johannes Schickel
c48f71edf4
After discussing with Max, disable -Wmissing-format-attribute again. Also added a comment explaining why it is disabled.
...
svn-id: r42107
2009-07-04 19:04:39 +00:00
Johannes Schickel
eeb5ba9d50
Kyra1 PC-98 never offered English as language settings, thus remove it. (The CD version *does* supply English files, but those will work as FM-Towns version, so this causes no drawback for the user and is faithful to the original)
...
svn-id: r42106
2009-07-04 18:54:43 +00:00
Johannes Schickel
59aa80b2d2
Fix mismatching format arguments.
...
svn-id: r42105
2009-07-04 18:54:27 +00:00
Johannes Schickel
1431944294
Add GCC_PRINTF parameter.
...
svn-id: r42104
2009-07-04 18:54:06 +00:00
Filippos Karapetis
177891a0c1
Cursors without a palette are now initialized correctly (from patch #2816652 ). Fixes the cursor transparent color in QFG3
...
svn-id: r42099
2009-07-04 17:39:43 +00:00
Filippos Karapetis
b0c908e349
Merged SCI1 versions in one more file
...
svn-id: r42098
2009-07-04 16:36:56 +00:00
Filippos Karapetis
b093511239
- Merged the "early" and "late" SCI1 versions - these are functionally equivalent, and the code that does the version check is unreliable (e.g. it sets SQ1 VGA to SCI1 "late" and EcoQuest 1 to SCI1 "early")
...
- Cleanup of the vocabulary setting functions
- Cleanup of the cursor manipulation code
svn-id: r42097
2009-07-04 16:30:20 +00:00
Filippos Karapetis
c5522b3766
- Kernel function names are no longer loaded from vocab.999, but are constructed from the hardcoded function table, depending on the SCI version used
...
- SCI0 games using older graphics functions are now detected by the presence of the "curAngle" selector
- SCI0 games using a SCI1 table (like KQ1 demo version and full version) are detected by the presence of the "sightAngle" selector (as no SCI0 game seems to have it)
svn-id: r42095
2009-07-04 15:45:04 +00:00
Filippos Karapetis
fddc5915f7
- Changed some comments to DOxygen style
...
svn-id: r42094
2009-07-04 15:39:31 +00:00
Filippos Karapetis
49ef8ae5a4
Added a new console command, "selector", which attempts to find a selector by name
...
svn-id: r42093
2009-07-04 15:22:42 +00:00
Filippos Karapetis
8726f01986
Removed silly FIXME (mixup between debug and engine debug levels)
...
svn-id: r42088
2009-07-04 11:33:51 +00:00
Filippos Karapetis
230e7a8d2c
Newer DoSound() semantics are now detected automatically, by the existence of the "setVol" selector. Removed game flag GF_SCI1_NEWDOSOUND
...
svn-id: r42087
2009-07-04 11:24:09 +00:00
Filippos Karapetis
df9570cb32
SCI0 games using older graphics functions are automatically detected now, from the presence of the "TimesSin" and "SinMult" kernel functions. Removed the GF_SCI0_OLDGFXFUNCS game flag
...
svn-id: r42081
2009-07-03 23:37:08 +00:00
Filippos Karapetis
9a96b20cd0
Replaced script_error and CORE_ERROR with error()
...
svn-id: r42079
2009-07-03 21:59:07 +00:00
Filippos Karapetis
6fa8541aed
- Pushed debugstate into debug.h
...
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself.
svn-id: r42062
2009-07-03 14:22:50 +00:00
Filippos Karapetis
69da51e71d
Replaced all calls for manipulating the mouse cursor to be made to the CursorManager instead of directly to the graphics backend
...
svn-id: r42060
2009-07-03 14:18:20 +00:00
Max Horn
9b3074d929
If NDEBUG is #defined, then assert does nothing, leading to warnings about 'old_size' not being used -> fix that
...
svn-id: r42056
2009-07-03 11:05:59 +00:00
Max Horn
72512db7fb
SCI: Fixed warning
...
svn-id: r42055
2009-07-03 10:41:03 +00:00
Max Horn
cbea1a1193
Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
...
svn-id: r42054
2009-07-03 10:40:49 +00:00
Filippos Karapetis
9664050ff0
Simplified the kernel name loading code: Merged the default SCI0 and SCI1 kernel name tables in one table. vocab.999 is only used in SCI0 and SCI01 games if it exists as an override to the default kernel name table (which works with SCI0/SCI01 demos with no vocab.999, like KQ1 and xmas1998). Removed GF_SCI0_SCI1VOCAB.
...
svn-id: r42050
2009-07-03 09:01:51 +00:00