65 Commits

Author SHA1 Message Date
Paul Gilbert
e4e7827f77 TSAGE: Properly handle resetting flags when leaving a scene 2012-01-31 22:20:30 +11:00
Paul Gilbert
83acabfdbd TSAGE: Do all screen drawing in an intermediate temporary screen surface.
This will be the first half of properly handling on screen dirty rects.
2012-01-01 16:37:24 +11:00
Paul Gilbert
a837bb409a TSAGE: Revert buggy implementation of dirty rects
This reverts commit f69dfba21a5d4be8cc60a20a0dd0628717fa5373.
2012-01-01 16:37:24 +11:00
Paul Gilbert
f69dfba21a TSAGE: Implemented dirty rect handling in the engine
This should help improve performance when scalers are being used.
2011-12-18 18:08:45 +11:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Paul Gilbert
e93c847df7 TSAGE: Expanded a lot of game Id checks for Blue Force to include Ringworld 2 as well 2011-10-26 20:13:06 +11:00
Paul Gilbert
d3193687a7 TSAGE: Beginnings of support for Return to Ringworld 2011-10-22 20:44:26 +11:00
Paul Gilbert
f99e904f9a TSAGE: Added 'g' prefix to global variables 2011-10-02 19:59:13 +11:00
Paul Gilbert
546eeb2c43 TSAGE: Moved the _bgSceneObjects list from SceneManager to Scene.
This fixes a problem with Blue Force savegames in that they were being
loaded too early, and being destroyed as the game scene was then loaded.
2011-09-25 09:59:24 +10:00
Paul Gilbert
0e6e35b7c6 TSAGE: Fixed core engine display of background scene objects 2011-09-24 17:52:03 +10:00
Paul Gilbert
b3773f7c37 TSAGE: Cleaned up the savegame code, and enabled it for Blue Force 2011-09-10 11:22:39 +10:00
Paul Gilbert
8505011472 TSAGE: Further user interface fixes, and minor dialog tweaks 2011-09-05 20:57:06 +10:00
Paul Gilbert
fbf8262ce6 TSAGE: Fix Valgrind issues with loading Scene 50 2011-08-20 21:30:52 +10:00
Paul Gilbert
a21133ed12 TSAGE: Implemented Blue Force Scene #50 - Map Scene 2011-08-20 19:14:23 +10:00
Paul Gilbert
c280824b2d TSAGE: Completed Blue Force Scene #100 2011-08-16 21:15:18 +10:00
Paul Gilbert
697230709b TSAGE: Corrected casing of tSage namespace to be TsAGE
This matches the casing of the original engine name.
2011-08-15 20:47:59 +10:00
Paul Gilbert
fed3306b15 TSAGE: Removed recently added preloadVisage method
Method associated was actually the standard getVisage method
2011-08-14 12:24:23 +10:00
Paul Gilbert
e9c8232da8 TSAGE: Split up the hard-coded logic files for Ringworld and Blue Force into separate sub-folderes 2011-08-13 19:49:54 +10:00
Paul Gilbert
744f04bf50 TSAGE: Implemented new Globals for Blue Force, and beginnings of implementation of Scene 100 (Title Screen) 2011-08-11 22:05:44 +10:00
Paul Gilbert
680ef79726 TSAGE: Implemented title screen of Blue Force 2011-08-07 23:14:09 +10:00
Paul Gilbert
8f70ee9afc TSAGE: Wait for fading sounds to completely fade when changing scenes 2011-08-01 22:36:21 +10:00
Paul Gilbert
d71b38b6de TSAGE: Changed debugging statements from warning() to debug() 2011-08-01 22:03:18 +10:00
Paul Gilbert
b3a05ee089 TSAGE: Bugfix to make Return to Launcher work correctly 2011-07-18 21:13:39 +10:00
Paul Gilbert
97137e6b27 TSAGE: Added saving/restoring of playing sounds to savegames 2011-06-23 20:11:51 +10:00
Paul Gilbert
69290ef7ae TSAGE: Remove out of date TODO comments where applicable 2011-06-22 19:13:36 +10:00
Paul Gilbert
7ef6bea74e TSAGE: Clarified Globals::_sceneListeners as Globals::_sounds 2011-06-22 18:31:33 +10:00
Alyssa Milburn
a6fedd6034 TSAGE: Cosmetic tweaks to Scene::setZoomPercents. 2011-05-27 21:44:41 +02:00
Paul Gilbert
d50c6277e4 TSAGE: Bugfix for loading savegames directly from the launcher 2011-05-27 19:28:31 +10:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04: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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02: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
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
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
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
Paul Gilbert
4f70162d94 TSAGE: Bugfixes to savegames when the scene is showing an alternate screen 2011-05-03 20:14:20 +10: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
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
1d58ccac81 TSAGE: Combined the resource files into a single generic overall ResourceManager 2011-04-25 17:06:35 +10:00
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