Commit Graph

24 Commits

Author SHA1 Message Date
Paul Gilbert
95b4713ffa TSAGE: Changed Scene::_sceneNumber to avoid confusion with SceneManager::_sceneNumber 2011-04-19 21:07:37 +10:00
Paul Gilbert
5dcfd1e32c TSAGE: Reworked the saving code to fix crashes
Note that this undoes the recent compilation fix for GCC, since it didn't work. For now, used an explicit void ** conversion as previously suggested.
2011-04-19 21:02:27 +10:00
Paul Gilbert
26501fb46c TSAGE: Initialise scene zoom percents in constructor. Fixes crash at the end of Scene #1400 2011-04-18 20:13:30 +10:00
strangerke
dd6ab8d306 TSAGE: Scene40: The hero may now use his stunner on the assassin. Scene still broken.
Also move some display() to display2() for consistency with the rest of the scenes in group1
2011-04-15 11:01:24 +02:00
strangerke
66b43f2312 TSAGE: "Cosmetic" cleanups 2011-04-13 21:27:46 +02:00
Johannes Schickel
6db40e0c6c TSAGE: Cleanup custom List usage.
This makes the code use Common::List for all cases where synchronization can
not be done with tSage::List::synchronise. Furthermore I renamed the custom
List class to SynchronisedList to stress its purpose.

I also removed clear2, contains and forEach and replaced them with algorithm
usage from Common:: or in the case of "contains" replaced them with a simple
inline function which uses Common::find.
2011-04-13 18:26:12 +02:00
Paul Gilbert
747295e9b4 TSAGE: Fixing memory leaks 2011-04-09 21:27:25 +10:00
Paul Gilbert
ee32440cde TSAGE: Fix to disable palette rotations when the scene changes 2011-04-09 19:12:03 +10:00
Paul Gilbert
d2843da224 TSAGE: Switched the startup scene from Scene #30 to Scene #1000 (Title Screen) 2011-04-08 23:57:52 +10:00
Paul Gilbert
92aac3addc TSAGE: Reimplemented the old _sceneObjectListeners as _altSceneObjects 2011-04-05 20:58:05 +10:00
Paul Gilbert
7676cca67a TSAGE: Implemented Scene 5200 - Caverns - Throne-room 2011-04-03 17:25:07 +10:00
Paul Gilbert
4c804b9d93 TSAGE: Implemented Scene #4150 - Village - Bedroom 2011-03-27 22:43:34 +11:00
Paul Gilbert
5e6cc67e2e TSAGE: Implemented Scene #4025 - Village - Puzzle Board 2011-03-23 19:16:09 +11:00
Paul Gilbert
ec7e751911 TSAGE: Implemented Scene 2400 - Descending in Lander 2011-03-19 21:07:04 +11:00
Paul Gilbert
8246758e7e TSAGE: Implement original engine scene scrolling optimisations
Wide screens are broken into 160x100 chunks. When scrolling, sections of the scene which have already been previously decoded for display can be reused, rather than re-decoding them from scratch
2011-03-19 14:20:15 +11:00
Paul Gilbert
9dad957454 TSAGE: Corrected background scrolling on wide-screen scenes 2011-03-18 22:58:36 +11:00
Paul Gilbert
2ea302077c TSAGE: Bugfixes for player movement in wide-screen scenes 2011-03-17 22:57:24 +11:00
Paul Gilbert
6f3201dd14 TSAGE: Changes to cursor handling that more accurately replicates the original 2011-03-06 20:49:03 +11:00
Paul Gilbert
2a2a33a14c TSAGE: Initial implementation of Scene #1400 - Arriving at Ringworld 2011-02-27 22:52:35 +11:00
Paul Gilbert
ee87c69a34 TSAGE: Fixed bug with scene mode being used incorrectly as the scene load flag 2011-02-27 16:28:37 +11:00
Paul Gilbert
0cd4b885c8 TSAGE: Fix for inflinite loop setting scene zoom percents 2011-02-27 00:28:38 +11:00
Paul Gilbert
03942da718 TSAGE: Reworked code to separate Ringworld specific code from core engine classes 2011-02-23 22:37:16 +11:00
Paul Gilbert
7b40f36ef1 TSAGE: Rework the logic for showing the cursor in new scenes.cpp
I'm still not completely happy with how it's implemented, and the original code is very obtuse when it comes to cursor display; it will likely need further investigation later on so the cursor doesn't appear in cut-scene scenes
2011-02-16 23:26:43 +11:00
Paul Gilbert
7042d95cfe TSAGE: Added the engine in a separate branch 2011-02-14 20:37:27 +11:00