Commit Graph

64 Commits

Author SHA1 Message Date
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Paul Gilbert
8a0495a5f3 TSAGE: Added replacement hierarchy for palette modifier classes that better matches the original 2011-04-14 21:39:53 +10:00
Joost Peters
c679aa72c3 TSAGE: Big Endian fix 2011-04-14 13:04:29 +02:00
strangerke
66b43f2312 TSAGE: "Cosmetic" cleanups 2011-04-13 21:27:46 +02:00
Johannes Schickel
f864fef8e9 TSAGE: Fix compilation on Mac OS X PPC.
Mac OS X PPC's standard C(++) library does not feature any sqrtf function,
since the parameter is double anyway I changed it to use sqrt for now.

We might want to consider adding some global macros for that on such
platforms. Another instance where the same issues caused problems in the past
is the MT-32 emulator. See audio/softsynth/mt32/synth.cpp lines 30 to 43 for
reference.
2011-04-13 18:54:21 +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
48dbcbe8a1 TSAGE: Fixed warnings identified by Buildbot 2011-04-13 22:02:40 +10:00
Paul Gilbert
0600f0c018 TSAGE: Change palette code from 4-byte to 3-byte palettes 2011-04-13 21:25:57 +10:00
strangerke
a2d1fdd365 TSAGE: Fix a crash using the new palette effect. It still doesn't show much... 2011-04-13 07:42:58 +02:00
strangerke
c1e58c1415 TSAGE: Implement most of the scene 9900. New palette animation is currently broken, to be fixed 2011-04-12 23:39:10 +02:00
Paul Gilbert
d61ad01530 TSAGE: Reworked the 'probe approaching rocks' cut-scene to work correctly
The problem is the original game presumed that rendering a single frame would take at least 10 ticks (at 60Hz). Since the ScummVM renders it faster than then, the cutscene wasn't working. A new 'ProbeMover' class has been created to ensure the probe shrinking keeps correct pace with the probe's movement.
2011-04-12 20:16:34 +10:00
Paul Gilbert
0a1a8810ae TSAGE: Lots more bugfixes for Scene #6100 2011-04-10 16:50:10 +10:00
Paul Gilbert
f5d22217d6 Merge remote branch 'remotes/Strangerke/master' into tsage 2011-04-09 19:12:54 +10:00
strangerke
48542fb364 TSAGE: Cleanup: rename quickInit() methods into setup() for naming consistency 2011-04-09 10:06:38 +02:00
Paul Gilbert
b912b3662a TSAGE: Slight re-ordering of method calls in SceneHandler::dispatch
This fixes a problem in the title screen where the game title briefly appeared at full size.
2011-04-09 15:12:17 +10:00
Paul Gilbert
a79ba2b4f4 TSAGE: Corrections to palette rotation 2011-04-09 14:45:13 +10:00
Paul Gilbert
4f9bfa049c TSAGE: Clarified ObjectMover _field6E as _regionIndex 2011-04-09 10:43:42 +10:00
Paul Gilbert
dbacaa90a4 TSAGE: Compilation fixes for GCC 2011-04-09 10:37:32 +10:00
strangerke
b4870a5b29 Merge branch 'tsage' of http://github.com/dreammaster/scummvm 2011-04-08 22:10:32 +02:00
strangerke
2aba8a81bd TSAGE: move NamedHotspot back into core. Replace HotspotBase4300 by NamedHotspot and suppress it. 2011-04-08 22:09:11 +02: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
strangerke
c66d360a21 TSAGE: Move SceneHotspot_3 to Scene10, rename unknown fields, fix sword bug in scene 9850 (thanks Dreammaster) 2011-04-08 15:56:57 +02:00
Paul Gilbert
1c6b644483 TSAGE: Renamed other previously unnamed object flag constants 2011-04-08 21:49:13 +10:00
Paul Gilbert
fefcf7720d TSAGE: Renamed OBJFLAG_100 as OBJFLAG_HIDE 2011-04-08 21:42:39 +10:00
Paul Gilbert
0240838f64 TSAGE: Fixed problem with pathfinder add extra unnecessary steps 2011-04-08 21:35:58 +10:00
Paul Gilbert
92aac3addc TSAGE: Reimplemented the old _sceneObjectListeners as _altSceneObjects 2011-04-05 20:58:05 +10:00
Paul Gilbert
9f0dab873d TSAGE: Fix movement bug with the ObjectMover2 class 2011-04-03 20:03:53 +10:00
Paul Gilbert
2c8bac69bb Merge remote branch 'remotes/Strangerke/master' into tsage
Conflicts:
	engines/tsage/ringworld_logic.cpp
	engines/tsage/ringworld_logic.h
2011-04-03 19:14:14 +10:00
Paul Gilbert
1df668bd1e TSAGE: Properly implemented the PlayerMover2 class 2011-04-03 10:50:52 +10:00
strangerke
f208c33593 TSAGE: Implement scene 7700.
Also move doAction() to core when related to sceneHostpot_3.
2011-03-29 12:10:00 +02:00
Paul Gilbert
0e35331302 TSAGE: Implemented Scene #4010 - Village - By Lander 2011-03-22 20:45:27 +11:00
Paul Gilbert
66ad86397e TSAGE: Bugfixes for animations in Scene #4000 2011-03-21 23:42:16 +11:00
Paul Gilbert
4c765a0e64 TSAGE: In progress work on Scene #4000 2011-03-21 23:04:18 +11:00
Paul Gilbert
ec7e751911 TSAGE: Implemented Scene 2400 - Descending in Lander 2011-03-19 21:07:04 +11:00
Paul Gilbert
f173b6862f TSAGE: Replaced some values with proper constants 2011-03-19 15:03:20 +11:00
Paul Gilbert
2ea302077c TSAGE: Bugfixes for player movement in wide-screen scenes 2011-03-17 22:57:24 +11:00
Paul Gilbert
fc3a7b961c TSAGE: Bugfix for cloning the SceneObjectWrapper when a SceneObject is cloned 2011-03-12 23:33:14 +11:00
Paul Gilbert
0674d88299 TSAGE: Fixed memory leak when changing SceneObjectWrapper objects 2011-03-09 21:16:12 +11:00
Paul Gilbert
ba94342f6f TSAGE: Bugfix to increment data block lock counter when a Visage is cloned 2011-03-08 19:19:36 +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
14843c3b87 TSAGE: Fix stack overrun in the pathfinder 2011-03-06 18:36:33 +11:00
Paul Gilbert
a658c4b30a TSAGE: Bugfix for correctly erasing on-screen text when it gets removed 2011-03-06 16:33:37 +11:00
Paul Gilbert
2a2a33a14c TSAGE: Initial implementation of Scene #1400 - Arriving at Ringworld 2011-02-27 22:52:35 +11:00
Paul Gilbert
2fd6808703 TSAGE: Bugfix for loading scenes without a palette 2011-02-27 20:41:09 +11:00
Paul Gilbert
d50482d92b TSAGE: Bugfix for correctly setting object frame numbers 2011-02-27 19:04:33 +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
033747ceb5 TSAGE: Bugfix to enable palette rotation 2011-02-27 00:16:47 +11:00
Paul Gilbert
5a606d86e1 TSAGE: Bugfix for credits animations in Scene 1000 2011-02-26 23:51:24 +11:00
Paul Gilbert
3a601812d2 TSAGE: Bugfixes for drawing objects in wide screen areas 2011-02-26 22:15:22 +11:00