Commit Graph

409 Commits

Author SHA1 Message Date
Max Horn
99a6ac46e1 TSAGE: Name the RandomSource 2011-05-17 12:17:27 +02:00
eriktorbjorn
9dbf058909 TSAGE: Fix graphics button behaviour (slightly hackish)
Don't rely on event.mousePos staying the same throughout the loop.
This makes sure the button stays highlighted for as long as the
mouse button is depressed, unless the mouse is moved off the button.
The calculation of mousePos is slightly hackish. It should probably
use a GfxManager object for that, but this will do for now.
2011-05-16 23:37:20 +02:00
Paul Gilbert
2f79090e46 TSAGE: Added support for handling keypresses in the Game classes. Separated logic for full game versus demo into the respective Game classes. 2011-05-16 21:09:05 +10:00
Paul Gilbert
f1e3bb92b9 TSAGE: Changed demo quit dialog to correctly handle ESCAPE and ENTER keys 2011-05-16 20:17:02 +10:00
Paul Gilbert
d610b40f78 TSAGE: Bugfixes for dialogs correctly handling ESCAPE and ENTER 2011-05-16 20:17:02 +10:00
Paul Gilbert
67f8a8b346 TSAGE: Implemented the Exit dialog in the Ringworld demo 2011-05-16 20:13:37 +10:00
Paul Gilbert
98c4d739f2 TSAGE: Fix for crash when hiding cursor in Ringworld demo 2011-05-16 20:13:37 +10:00
eriktorbjorn
760e8d4e6e TSAGE: Fix bad palette in the Fleeing planet cutscene
It was using out-of-bounds data to manipulate the palette, and a
missing break caused it to change palette again immediately. Still,
even after this change I had the impression that the temporary
palette was visible for a bit longer in DOSBox. Could be my
imagination, though.
2011-05-16 07:07:17 +02:00
Thierry Crozat
3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
eriktorbjorn
8112247f1a TSAGE: Made some dialogs less CPU hungry
The start/intro dialog, the inventory dialog and the conversation
dialog now call delayMillis() in their event loop. This is
consistent with how the action menu dialog already worked.
2011-05-15 23:20:40 +02:00
eriktorbjorn
7ba345be57 TSAGE: Fix some errors in endGame().
Save slot 0 is valid. It's -1 that indicates cancelling. Also, we
need to check if the user tried to quit, to avoid a nasty loop of
hard-to-terminate restore dialogs.
2011-05-15 22:49:19 +02:00
Paul Gilbert
b63e60666f TSAGE: Ensured all scenes with custom data properly save it in the savegames 2011-05-15 22:30:13 +10:00
Paul Gilbert
38d787676f TSAGE: Fixed saving problem and talking to Seeker in Scene #50 2011-05-15 21:56:07 +10:00
strangerke
eff8597a38 TSAGE: Add the skeletton of createScene() 2011-05-15 09:10:01 +02:00
Paul Gilbert
1568f19569 TSAGE: Moved scene creation into the Game class, and separated out the Ringworld demo scene creation to it's own game class 2011-05-14 18:20:56 +10:00
Paul Gilbert
621a6e5229 TSAGE: Added skeleton game class for Blue Force 2011-05-14 18:19:35 +10:00
Paul Gilbert
a255461ab3 TSAGE: Move the RingworldDemoGame class to the ringworld_demo file 2011-05-14 17:53:33 +10:00
strangerke
f6538d0e0d TSAGE: Add blue force library files 2011-05-14 00:05:51 +02:00
strangerke
2fdfad12cc TSAGE: Add detection for some versions of Blue Force 2011-05-13 23:27:43 +02:00
strangerke
0c3ef4bbe4 TSAGE: Fix bug "Scene 7000: When the ship is landing, the reactor fire is at the wrong place" 2011-05-13 22:38:40 +02:00
strangerke
4010699582 TSAGE: fix bug "Scene 2100: When Miranda uses the elevator, a graphical glitch is visible (after scene 6100)" 2011-05-13 22:11:57 +02:00
Max Horn
aaf2c0e6eb TSAGE: Fix warning when compiling in release mode 2011-05-13 11:47:13 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Paul Gilbert
82dd68093a TSAGE: Don't show cursor after restoring a game if a cut-scene is now active 2011-05-11 23:06:10 +10:00
Paul Gilbert
0c3c0f2121 TSAGE: Added missing code for loading scene regions in the CD/FW versions of the game 2011-05-11 23:01:15 +10:00
Paul Gilbert
bfc9414487 TSAGE: Bugfix to show cursor after restoring a savegame 2011-05-11 21:58:11 +10:00
Paul Gilbert
5e4b20b3d7 TSAGE: Bugfix for Flesh-eaters moving too fast in Scene #5100 2011-05-11 21:32:52 +10:00
Paul Gilbert
f88acd489d TSAGE: Completely remove the resetting of _scrollFollower. It needs to be maintained between scenes 2011-05-11 21:11:11 +10:00
Paul Gilbert
0639e98df5 TSAGE: Fix animation of Quinn and Seeker approaching cave in Scene #5000 2011-05-11 21:06:12 +10:00
Paul Gilbert
2b112a9c58 TSAGE: Rework parts of the cursor code to better match the original
This also fixes the problem with the cursor appearing in cutscenes when you press any key
2011-05-11 20:28:30 +10:00
Paul Gilbert
e448ad0f5d TSAGE: Further fix for resetting _scrollFollower 2011-05-11 19:13:16 +10:00
Paul Gilbert
3cbbd5cfac TSAGE: Reset the Globals::_scrollFollower to NULL when a scene ends 2011-05-11 19:09:55 +10:00
strangerke
9b896e473e TSAGE: Fix a glitch in setCursor() 2011-05-10 23:51:20 +02:00
Paul Gilbert
5bf8a0bf84 TSAGE: Adjusted scaling process to fix scaling image to a 1x1 pixel in Scene #7600 2011-05-10 22:56:53 +10:00
Paul Gilbert
26aca5ac43 TSAGE: Standardised on checks for showing the Save and Restore dialogs 2011-05-10 22:38:05 +10:00
Paul Gilbert
2e34747712 TSAGE: Further tweaks to movement in Scene #6100 2011-05-10 21:49:32 +10:00
Paul Gilbert
ef282206b0 TSAGE: Tweaked mouse movement in Scene #6100 when mouse is in the centre of the screen 2011-05-10 20:50:40 +10:00
Paul Gilbert
d4e4148a39 TSAGE: Bugfix for restoring savegames saved when palette effects are active 2011-05-08 19:08:35 +10:00
Paul Gilbert
0da8f92f0f TSAGE: Fix memory leak when exiting whilst any palette rotation is active 2011-05-08 18:15:46 +10:00
D G Turner
80ae039d7a TSAGE: Close Memory Leak in GfxSurface::create(). 2011-05-07 15:17:12 +01:00
strangerke
99da647e8f TSAGE: Fix a bug and a couple of glitches in scene 9700 2011-05-07 00:28:41 +02:00
strangerke
41af0b0dc8 TSAGE: Scene 5200 - Suppress dead code (present but not executed in the original) 2011-05-06 22:38:17 +02:00
strangerke
787f8b4bb6 TSAGE: Finally fix the dialogue bug in scene 4000 2011-05-06 22:31:23 +02:00
strangerke
86daaedf96 TSAGE: For consistency, renamed sceneItem1 into Hotspot1 in scene 7000 2011-05-06 20:45:43 +02:00
Paul Gilbert
d77502eaf4 TSAGE: Bugfix for hotspot issues in Scene #7000 2011-05-06 22:54:54 +10:00
Paul Gilbert
67975303e6 TSAGE: Bugfix for self-closing drawers in Scene #7700 2011-05-06 22:43:53 +10:00
Paul Gilbert
7b043baf91 TSAGE: Hopefully fix some Valgrind reported warnings 2011-05-06 22:07:53 +10:00
Paul Gilbert
cfd8cfe7cf TSAGE: Added missing destructors for Globals fields 2011-05-06 19:38:17 +10:00
Paul Gilbert
80e23dd653 TSAGE: Initialise player fields to fix Valgrind warning 2011-05-06 19:19:25 +10:00
strangerke
be3de84f7c TSAGE: Review all Speakers 2011-05-06 08:39:22 +02:00