Commit Graph

52612 Commits

Author SHA1 Message Date
Littleboy
7423885f69 LASTEXPRESS: Remove entity include in savepoint.h 2012-07-27 01:14:30 -04:00
Littleboy
6aeda2638b LASTEXPRESS: More include re-organization 2012-07-27 00:54:24 -04:00
Julien
115a4d36ba LASTEXPRESS: Move includes to header for setup function templates 2012-07-27 00:32:10 -04:00
Julien
3d6807b359 LASTEXPRESS: Implement Logic::resetState() 2012-07-27 00:15:05 -04:00
Julien
b4b4a7d127 LASTEXPRESS: Replace setup macros by functions 2012-07-27 00:15:05 -04:00
Julien
2d6f799235 LASTEXPRESS: Cleanup unused arguments from BEGIN_SETUP macro 2012-07-27 00:15:04 -04:00
Julien
813c2bb965 LASTEXPRESS: Merge the remaining macros in entity_intern.h into entity.h 2012-07-27 00:15:04 -04:00
Julien
938961e237 LASTEXPRESS: Remove TIME_CHECK_CALLBACK_1 macro 2012-07-27 00:15:03 -04:00
Julien
b6b98483c5 LASTEXPRESS: Remove TIME_CHECK_CALLBACK_3 macro 2012-07-27 00:15:02 -04:00
Julien
37770212c0 LASTEXPRESS: Remove TIME_CHECK_CALLBACK_2 macro 2012-07-27 00:15:02 -04:00
Julien
7450ae23fb LASTEXPRESS: Move RESET_ENTITY_STATE macro to entity.h 2012-07-27 00:15:01 -04:00
Julien
7974b62b71 LASTEXPRESS: Reduce nesting in Entities::processEntity() 2012-07-27 00:15:01 -04:00
Julien
552e8d45b2 LASTEXPRESS: Switch some warnings to debug console output 2012-07-27 00:15:00 -04:00
Julien
8545991739 LASTEXPRESS: Remove several TIME_CHECK* macros 2012-07-27 00:15:00 -04:00
Julien
e985f7374f LASTEXPRESS: Move Entity function declaration macros to entity.h 2012-07-27 00:14:59 -04:00
Julien
82ad017a8e LASTEXPRESS: Replace UPDATE_PARAM_GOTO macro 2012-07-27 00:14:58 -04:00
Julien
8de4cb6547 LASTEXPRESS: Replace UPDATE_PARAM_PROC and UPDATE_PARAM_PROC_TIME macros 2012-07-27 00:14:58 -04:00
Julien
e13290a028 LASTEXPRESS: Replace UPDATE_PARAM_CHECK macro 2012-07-27 00:14:57 -04:00
Julien
95503250f8 LASTEXPRESS: Replace UPDATE_PARAM macro 2012-07-27 00:14:56 -04:00
Julien
2e20e1d1e2 LASTEXPRESS: Replace TIME_CHECK_PLAYSOUND_UPDATEPOSITION macro 2012-07-27 00:14:55 -04:00
Julien
c589e69ec9 LASTEXPRESS: Replace TIME_CHECK_CALLBACK_ACTION macro 2012-07-27 00:14:55 -04:00
Julien
5d4a8f1e15 LASTEXPRESS: Remove use of function wrappers in shared entity functions 2012-07-27 00:14:54 -04:00
Julien
2c4518d615 LASTEXPRESS: Move some macros to entity.h 2012-07-27 00:14:54 -04:00
Filippos Karapetis
831e1b27dc SCI: Add a workaround for a bug in Phantasmagoria 1 2012-07-27 01:31:12 +03:00
Filippos Karapetis
7eded163d8 SCI: Add support for kCD(0) with a parameter
It's now possible to start a chapter in Phantasmagoria 1
2012-07-27 01:30:37 +03:00
Filippos Karapetis
34d00f5936 SCI: Add some debug code to op_line 2012-07-26 11:06:52 +03:00
Filippos Karapetis
c0beaf2337 SCI: Differentiate between screen width and pitch
This properly addresses the odd screen width (630) in Phantasmagoria 1
2012-07-26 11:06:51 +03:00
D G Turner
321197e962 TEENAGENT: Fix typo in processCallback() address.
0x50c5 is invalid, replaced with valid 0x505c.
2012-07-26 01:53:48 +01:00
Johannes Schickel
dc8d9f4c9f SCI: Fix delete[] formatting. 2012-07-25 21:11:45 +02:00
Johannes Schickel
3351707b2d TOON: Fix delete[] formatting. 2012-07-25 21:11:22 +02:00
Johannes Schickel
155118dc1e SWORD1: Fix delete[] formatting. 2012-07-25 21:11:04 +02:00
Johannes Schickel
d98b462190 PARALLACTION: Fix delete[] formatting. 2012-07-25 21:10:43 +02:00
Johannes Schickel
93d4eb14ad MOHAWK: Fix delete[] formatting. 2012-07-25 21:09:46 +02:00
Johannes Schickel
c7d99c155d KYRA: Fix delete[] formatting. 2012-07-25 21:09:15 +02:00
Johannes Schickel
50a93c2e71 GRAPHICS: Small formatting fixes in iff.cpp. 2012-07-25 21:07:19 +02:00
Filippos Karapetis
31f9e96aee SCI: Add a workaround for a script bug in QFG4 2012-07-25 12:14:33 +03:00
Filippos Karapetis
e7836beabb SCI: Silence some very chatty warnings
Also, add an example room where kRemapToGray is called
2012-07-25 12:13:35 +03:00
Filippos Karapetis
6ade0e1457 SCI: Expand an uninitialized read workaround for SQ6 2012-07-25 02:29:57 +03:00
Filippos Karapetis
55e508b91f SCI: Add a workaround for QFG4, screen 140 (character selection screen) 2012-07-25 01:32:34 +03:00
Filippos Karapetis
797dbfe506 SCI: Set the RemapByPercent palette initially
This needs to be performed because the screen palette might not change
after the call. Fixes the display of the bat in the character selection
screen in the full version of QFG4
2012-07-25 01:16:13 +03:00
Filippos Karapetis
537b1969bf SCI: Rewrite the color remapping code to support simultaneous effects
Fixes the torch in the full version of QFG4
2012-07-25 00:58:16 +03:00
Filippos Karapetis
37b209dac1 SCI: Refresh remapping by percent whenever the screen palette changes 2012-07-24 22:55:34 +03:00
Filippos Karapetis
fe3fb1873c SCI: Cleanup of the palette remapping code 2012-07-24 22:54:37 +03:00
Filippos Karapetis
6f35130204 SCI: More work on color remapping
More transparency/color mapping effects are now working (e.g. the
flashlight at the Gedde tomb in GK1, the rays of light at Schloss Ritter
in GK1, the torch in the QFG4 demo and the shadows in QFG4, PQ4 and KQ7)
2012-07-24 22:34:46 +03:00
David-John Willis
d83764f055 GPH: Fix accidental commit.
* I did not mean to commit any of the GPH backend with the OP stuff. Cleanup of this backend will follow later.
2012-07-24 10:12:54 +01:00
David-John Willis
b157269ff4 OPENPANDORA: Clean up old commented code. 2012-07-24 10:08:58 +01:00
David-John Willis
6f978ee78b OPENPANDORA: Free hiddenCursor on unloadGFXMode and cleanup screen setup.
* Also remove some old cruft in the form of commented code.
2012-07-24 10:08:58 +01:00
David-John Willis
45354676eb OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode.
* Fixes a bug that can occur on load.
2012-07-24 10:08:58 +01:00
Filippos Karapetis
3d395545cb SCI: Remove unused variables 2012-07-24 04:07:08 +03:00
Filippos Karapetis
bd281928cb SCI: Initial implementation of kRemapColors(kRemapByPercent)
Fixes some graphics glitches in the QFG4 demo and the menus of QFG4, by
implementing one of the transparency effects used mainly in SCI32.
Many thanks to fuzzie for her debugging info on QFG4 demo and to wjp for
his great help on the dissassembly
2012-07-24 03:53:44 +03:00