Commit Graph

528 Commits

Author SHA1 Message Date
Paul Gilbert
120a648e68 TSAGE: Implemented the code for the ASound class 2011-05-24 21:24:13 +10:00
Paul Gilbert
16666ec40c TSAGE: Created stub classes for ASound and Sound, and reworked engine to use proper named methods 2011-05-24 21:22:21 +10:00
Paul Gilbert
d52e69d82c TSAGE: Added some extra code for volume control and start on rethinking voice types 2011-05-24 20:07:41 +10:00
Max Horn
808221a36f TSAGE: Remove redundant semicolons 2011-05-23 12:13:02 +02:00
strangerke
041a08b7c0 TSAGE: Fix bug "Scene 4150: Using the duck produces the message, "You don't need to use your stunner,[...]" 2011-05-22 09:08:33 +02:00
strangerke
9cbc360693 TSAGE: Fix bug "Scene 2100: Examining the middle console triggers an assertion: "./engines/tsage/globals.h:84: bool tSage::Globals::getFlag(int) const: Assertion `(flagNum > 0) && (flagNum < 256)' failed."" 2011-05-22 02:31:08 +02:00
Paul Gilbert
687d033d28 TSAGE: Further sound driver installation logic 2011-05-18 20:32:40 +10:00
strangerke
f830d68130 TSAGE: Fix several glitches in scene 4000 2011-05-18 07:35:07 +02:00
strangerke
16a0d8e7ad TSAGE: Fix bug in scene 2280 (when picking up left boots) 2011-05-18 01:49:53 +02:00
strangerke
0ff4897938 TSAGE: Fix a serie of bugs in scenes 4045 and 4000 2011-05-18 01:38:08 +02:00
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
Paul Gilbert
5b61092584 TSAGE: More code for installing sound drivers 2011-05-12 23:09:48 +10: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
Paul Gilbert
43dbf9ff56 TSAGE: Implemented more _sf methods 2011-05-07 14:13:52 +10: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
Paul Gilbert
dee398ad6c TSAGE: Fixed problem with text being partly off-screen in Scene #9500 2011-05-05 20:48:46 +10:00
strangerke
10bdc85a27 TSAGE: Fix several glitches in the speakers used in scene 4000. Initial problem still present though. 2011-05-05 02:19:45 +02:00
strangerke
beb1ce9866 TSAGE: Fix a nasty graphical bug in scene 9450 2011-05-05 01:38:47 +02:00
strangerke
427805c2f6 TSAGE: Fix 6 freezes in scene 9850 2011-05-05 00:44:10 +02:00
strangerke
f91ed4e04a TSAGE: fix 3 freezes in scene 9450 2011-05-05 00:22:27 +02:00
Paul Gilbert
c470d1e6d2 TSAGE: Implemented more SoundManager methods 2011-05-04 23:13:15 +10:00
Paul Gilbert
9f1dacd72b TSAGE: Added a new command to show hotspot areas 2011-05-04 21:14:58 +10:00
Paul Gilbert
a67dbd5adb TSAGE: Bugfix for skipping cutscenes correctly 2011-05-04 19:19:36 +10:00
md5
340d08bc30 TSAGE: Some more conversions to US English 2011-05-04 11:47:12 +03:00
md5
3430a3f347 TSAGE: Switched to American English, after the relevant discussion on -devel:
serialiser -> serializer
synchronise -> synchronize
2011-05-04 11:41:47 +03:00
md5
5c3b564e0b TSAGE: Now initializing the save game version properly 2011-05-04 11:36:35 +03:00
md5
7b8f3021ac TSAGE: Bumped up savegame version, so that the old savegames are still usable
Savegames from revisions bf9b98f and 4f70162d are now version 2 savegames
2011-05-04 10:52:36 +03:00
strangerke
a47eba2b49 TSAGE: for consistency, use display2() when possible 2011-05-03 23:37:59 +02:00
strangerke
9847083d63 TSAGE: Cleanup: Use NULL instead of 0 when handling pointers. Suppress some useless parameters too. 2011-05-03 23:11:13 +02:00
strangerke
ff635a385b TSAGE: Fix a death loop in scene 4300/4250 (use helmet on alien) 2011-05-03 23:11:11 +02:00
Paul Gilbert
0a0ac68722 TSAGE: Bugfixes for displaying the credits 2011-05-03 22:40:49 +10:00
Paul Gilbert
9f30ffa76f TSAGE: Bugfixes to allow for drawing message strings that are empty 2011-05-03 22:40:48 +10:00
Paul Gilbert
5ea9e14c2f TSAGE: Bugfix for palette fader crash in Scene #9990 2011-05-03 20:53:30 +10:00
Paul Gilbert
bf9b98f316 TSAGE: Add missing calls to inherited method in various class synchronisation methods 2011-05-03 20:31:51 +10:00
Paul Gilbert
4f70162d94 TSAGE: Bugfixes to savegames when the scene is showing an alternate screen 2011-05-03 20:14:20 +10:00
strangerke
3201bb46bd TSAGE: Fix the last action of the game. The ending animation is still screwed due to palette issues 2011-05-03 08:40:28 +02:00
strangerke
fbabcf0047 TSAGE: Fix freeze in scene 4250 2011-05-03 01:02:21 +02:00
strangerke
e149f5bedc TSAGE: Fix a crash and a freeze in scene 4250. 2011-05-03 00:27:10 +02:00
strangerke
210f69c852 TSAGE: Fix two blocking bugs in scene 4301 2011-05-03 00:02:58 +02:00
strangerke
d45909dd18 TSAGE: some little cosmetic modifications 2011-05-03 00:02:13 +02:00
strangerke
857c6821d1 TSAGE: Fix a couple of glitches in scene 9100 2011-05-02 21:01:24 +02:00
Max Horn
a5598aaaa8 TSAGE: Stop shadowing local variables 2011-05-02 14:34:59 +02:00
Paul Gilbert
765a82dd96 TSAGE: Bugfixes for extracting sound data properties 2011-05-02 21:30:20 +10:00
strangerke
44e3efe888 TSAGE: Fix dead loop between scenes 7000 and 2100. The game is now really playable until scene group 10 2011-05-02 08:37:33 +02:00
strangerke
3b5b11bf9a TSAGE: Fix slipping characters in scene 7300 2011-05-02 00:36:11 +02:00
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Paul Gilbert
89b63e3adb TSAGE: Fixed using communicator in Scene #9700 2011-05-02 00:18:58 +10:00
Paul Gilbert
619a48dfbc TSAGES: Bugfixes for placing the candle and helmet in the inventory in scene #9500 2011-05-01 23:57:34 +10:00
Paul Gilbert
6e16840d56 TSAGE: Bugfix for showing tunic to guard in scene #9200 2011-05-01 23:47:20 +10:00
Paul Gilbert
f7353eedcb TSAGE: Bugfix for picking up tunic in scene #9450 2011-05-01 23:40:39 +10:00
Paul Gilbert
12cae34739 TSAGE: Fix display of tapestries in the Kzin castle hallways 2011-05-01 23:10:21 +10:00
Paul Gilbert
337c770856 TSAGE: Bugfix for hallway setup, and picking up straw in the Blacksmith's room 2011-05-01 22:30:47 +10:00
Paul Gilbert
c76e1592f3 TSAGE: Fix parameter order in NamedHotspot class methods 2011-05-01 22:30:47 +10:00
Paul Gilbert
d876e0f311 TSAGE: Bugfix for having eagle fly away in Scene #9150 2011-05-01 21:15:13 +10:00
Paul Gilbert
6d8d9a4528 TSAGE: Fix timing delay when clicking to remove on-screen messages early
This fixes a problem with the text being removed, but the game still waiting for the original period until doing another action
2011-05-01 20:51:03 +10:00
Paul Gilbert
e1d6b9602c TSAGE: Bugfixes for movement in Scene #9100 2011-05-01 20:38:24 +10:00
Paul Gilbert
77161e231a TSAGE: Fixed NamedHotspot fields to be synchronised to savegames 2011-05-01 20:38:24 +10:00
Paul Gilbert
bc3469eef2 TSAGE: Implemented a lot of the SoundManager methods 2011-05-01 19:28:30 +10:00
Paul Gilbert
57612224ca TSAGE: Implemented the methods of the Sound class 2011-05-01 15:23:30 +10:00
Paul Gilbert
9585aa24f5 TSAGE: Give player the correct stasis box from Skeenar in Scene #7000 2011-05-01 13:45:17 +10:00
Paul Gilbert
dedc12a198 TSAGE: Fix for animation of Skeenar presenting the stasis box in Scene #7000 2011-05-01 13:37:14 +10:00
Paul Gilbert
bee92b30f7 TSAGE: Fix giving Translator, Jar, and Waldos in Scene #7000 2011-05-01 13:27:26 +10:00
Paul Gilbert
b08d1660d9 TSAGE: Fix for interacting with Skeenar in Scene #7000 2011-05-01 11:06:19 +10:00
Paul Gilbert
de592e07f3 TSAGE: Bugfixes for inventory dialog display with a large number of items 2011-05-01 10:35:03 +10:00
strangerke
4ac0e73907 TSAGE: Fix several glitches and bugs in scene 7000 2011-05-01 01:08:46 +02:00
strangerke
78f202826b TSAGE: Fix bug in scene 2100: Now the sunflower field is reachable 2011-04-30 16:57:09 +02:00
Paul Gilbert
d673fbc6a8 TSAGE: Silenced compiler warnings 2011-04-30 20:38:41 +10:00
Paul Gilbert
9f37451e01 TSAGE: Bugfixes for getting the key, opening the safe, and getting the translator 2011-04-30 20:24:39 +10:00
Paul Gilbert
6abcefb679 TSAGE: Bugfixes for stool in Scene #7700 2011-04-30 19:47:26 +10:00
strangerke
849094c884 TSAGE: Rename setPriority2 to setPriority for disambiguation 2011-04-30 10:13:35 +02:00
Paul Gilbert
a9652ab936 TSAGE: Fix a hotspot's use/look descriptions in Scene #7700 2011-04-30 17:51:20 +10:00
strangerke
a77164e9b9 TSAGE: Fix some more bugs in scene 2100. It's now playable again 2011-04-30 09:26:23 +02:00
Paul Gilbert
c08fc15cbe TSAGE: Fix for GUI dialog appearing when clicking on some hotspots in Scene #5200 2011-04-30 16:40:40 +10:00
Paul Gilbert
9fc1ed2c60 TSAGE: Added a print out of region details to the walk_regions debugger command 2011-04-30 16:40:01 +10:00
Paul Gilbert
e5698d123d TSAGE: Removed hack from Scene #5200 now that pathfinding has been fixed 2011-04-30 16:35:17 +10:00
Paul Gilbert
5cbf6347d1 TSAGE: Fixed problem in pathfinding when clicked position is outside walkable areas 2011-04-30 16:31:09 +10:00
Paul Gilbert
410367ced0 TSAGE: Reintroduced the show introduction code using a ConfMan flag 2011-04-30 14:58:11 +10:00
strangerke
67c83ffffa TSAGE: Fix a couple of big graphical glitches in scene 2100 2011-04-30 00:21:23 +02:00
strangerke
2bd4c3c38c TSAGE: Fix bug in scene 4050: The rope may now be used to climb too 2011-04-29 22:50:54 +02:00
md5
55316e4aeb TSAGE: Fixed the book inside the sky lab (it contains the sheet of paper, not the key) 2011-04-29 17:12:08 +03:00
Paul Gilbert
beb77e3ee6 TSAGE: Bugfix for Scene #2320 after having returned from caves 2011-04-29 23:32:33 +10:00
md5
77db46ad33 TSAGE: Fixed saved game ordering in the save and load dialogs 2011-04-29 16:14:07 +03:00
Paul Gilbert
35d44737ac TSAGE: Proper bugfix for the route used in Scene #5100 to escape the caves 2011-04-29 22:55:17 +10:00
Paul Gilbert
b3e1329cb3 TSAGE: Bugfix in Scene #2320 for getting the flycycle 2011-04-29 22:14:21 +10:00
Paul Gilbert
660d385875 TSAGE: Added fields for the Sound class 2011-04-29 20:19:37 +10:00
md5
89362b5af4 TSAGE: Added two temporary hacks for scenes 5100 and 5200 and added some comments
With these two hacks, it's possible to progress a bit further
2011-04-29 02:27:29 +03:00
strangerke
7046e09513 TSAGE: Fix bug in scene 4025 "The comet is turn in the wrong sense, screwing the palette animation" 2011-04-29 01:09:22 +02:00
md5
6e0b35806d TSAGE: Fixed 2 bugs in scene 5200 (flesheater throne room) 2011-04-29 00:53:50 +03:00
Max Horn
05bcfd512f TSAGE: Don't use NULL for an int parameter 2011-04-28 15:54:22 +02:00
Paul Gilbert
0c0dde62b9 TSAGE: Slowed down Scene #6100 to a reasonable speed, and finished code for hitting sunflowers 2011-04-28 22:16:06 +10:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Paul Gilbert
13efaff2ad TSAGE: Proper setting of startup cursor for full game versus demo 2011-04-28 20:41:01 +10:00
Paul Gilbert
1651ac8ca2 TSAGE: Proper bugfix for problem saving/restoring game in Scene #5000 and others 2011-04-28 20:41:00 +10:00
Paul Gilbert
80c90a569e TSAGE: Added code to handle visual differences in Demo help dialog 2011-04-28 19:14:37 +10:00
strangerke
b95ea8dccd TSAGE: Fix a little bug in scene 5100, when looking at the speaking bat 2011-04-28 08:33:47 +02:00
strangerke
8e95310889 TSAGE: Suppress the 2 workarounds previously added, use of a proper fix 2011-04-28 08:17:10 +02:00
md5
c371d0153a TSAGE: Fixed 2 script logic bugs (scene 5100, 5300) and two typos
These fix the following issues:
- Loss of control after freeing the bat in scene 5100
- Loss of control after drinking from the bat's pheromonone bottle in
scene 5300
- Crash when the two flesheaters appear on the path in scene 5300
2011-04-28 02:27:42 +03:00
md5
a38377c226 TSAGE: Fixed assert after loading a game in scene 5000 and changing scene 2011-04-28 00:20:01 +03:00
md5
c76502fe11 TSAGE: Added temporary fix for some saved games (e.g. scenes 4050 and 5000) 2011-04-27 23:52:20 +03:00
strangerke
595570a117 TSAGE: Fix "map" bug in scene 4050. Thanks MD5 for reporting it. 2011-04-27 22:24:13 +02:00
strangerke
58d8f8c932 TsAGE: Fix dialog bug in scene 4150 (thanks [Md5] for reporting it) 2011-04-27 20:39:48 +02:00
Paul Gilbert
52ff20148e TSAGE: Implemented the code for the ASound class 2011-04-27 22:22:20 +10:00
Paul Gilbert
34fe545dc7 TSAGE: Created stub classes for ASound and Sound, and reworked engine to use proper named methods 2011-04-27 21:23:47 +10:00