Commit Graph

57 Commits

Author SHA1 Message Date
Paul Gilbert
ed20f18d29 TSAGE: General cleanup of object class 2011-05-30 20:29:13 +10:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02: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
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Paul Gilbert
110f6b9be7 M4: Corrected incorrect case in cheat key handler 2011-03-28 20:57:01 +11:00
D G Turner
10e2cec6b9 M4: Updated for OSystem Palette RGBA->RGB Change. 2011-02-20 03:20:06 +00:00
Paul Gilbert
274fbd028d M4: Added function pointers to the the script engine data map list
svn-id: r54034
2010-11-02 00:15:18 +00:00
Paul Gilbert
4395e75aef M4: Fixes for compiler errors
svn-id: r52365
2010-08-25 06:55:11 +00:00
Paul Gilbert
212479ab79 M4: Implementation of script engine
svn-id: r52364
2010-08-25 06:42:54 +00:00
Paul Gilbert
28de229b51 M4: Added further code fragments to enable player to move again
svn-id: r51462
2010-07-29 11:41:51 +00:00
Paul Gilbert
fd804eb44b M4: Further work done on the setup and starting of actions
svn-id: r51461
2010-07-29 11:04:54 +00:00
Paul Gilbert
ec460ca2ca M4: Implemented lots of support code for pre-action handling
svn-id: r51235
2010-07-24 05:56:06 +00:00
Paul Gilbert
b062b413aa Removed some old deprecated code that was drawing the status text a second time
svn-id: r51201
2010-07-23 10:53:21 +00:00
Paul Gilbert
42851e047f Lots of action related fields added; scroll over default action is now displayed on-screen
svn-id: r51200
2010-07-23 09:49:40 +00:00
Paul Gilbert
379a55f089 Implemented path-finding logic for accurate player movement
svn-id: r50936
2010-07-16 13:15:18 +00:00
Paul Gilbert
3473e8c6da Clarified variable used for scene node loading, and added in extra blank nodes for player movement like the original game does
svn-id: r50932
2010-07-16 08:03:26 +00:00
Paul Gilbert
20a0ad6833 Bugfixes to walking code. Rex can now walk about on-screen
svn-id: r50914
2010-07-15 12:37:46 +00:00
Paul Gilbert
4366262511 Implemented the original game cheat key for displaying the current mouse cursor position
svn-id: r50913
2010-07-15 10:51:11 +00:00
Paul Gilbert
f796fd6cf3 Preliminary implementation of lots of code related to player movement
svn-id: r50882
2010-07-14 11:55:15 +00:00
Paul Gilbert
dd5f6f13e2 Bugfixes and changed field names in the player class to be more explanatory. Implemented Ctrl-T to turn the player - the original game used Ctrl-U, but this is reserved by ScummVM for toggle Mute.
svn-id: r50734
2010-07-07 11:02:11 +00:00
Paul Gilbert
c89fe5f6d5 Added support for idle character animations
svn-id: r50723
2010-07-06 11:33:09 +00:00
Paul Gilbert
660ffc194d Bugfixes for new player code - Rex is now correctly positioned when the player manager takes over from the wakeup animation sequence
svn-id: r50669
2010-07-05 09:53:10 +00:00
Paul Gilbert
88d1155c5e Implemented necessary logic for the abort timer/action code, which allows the player manager to be correctly activated when the 'getting up' animation finishes
svn-id: r50622
2010-07-03 12:49:42 +00:00
Paul Gilbert
99939109d7 Adding the beginnings of a player control class, as well as various changes to the other classes to support it
svn-id: r50620
2010-07-03 11:50:42 +00:00
Filippos Karapetis
7fa2664828 Some slight fixes so that Phantom/Dragon start again
svn-id: r50598
2010-07-02 14:39:13 +00:00
Paul Gilbert
c922af06c2 Centralised the update logic for the various system lists into the MadsView class
svn-id: r50365
2010-06-27 05:17:40 +00:00
Paul Gilbert
aa0c86e755 Bugfix for correctly decoding 2-bit encoded depth surfaces
svn-id: r50206
2010-06-24 08:17:46 +00:00
Paul Gilbert
110e03c87b Removed unused variables
svn-id: r50071
2010-06-20 07:06:22 +00:00
Paul Gilbert
fcdb7807a4 Implemented explicit transparency index support - the previous hardcoded index of 0 wasn't correct, since some sprites need that index
svn-id: r50070
2010-06-20 07:04:58 +00:00
Paul Gilbert
d6cd656f15 Added support for the alternate encoding for depth surfaces
svn-id: r50069
2010-06-20 05:25:34 +00:00
Torbjörn Andersson
f10b1a23f8 Fixed a few cppcheck errors.
svn-id: r49919
2010-06-17 05:40:48 +00:00
Paul Gilbert
58487da20b Moved the actionNouns array from the scene to the globals object, since the scene will no longer be active during animation sequences
svn-id: r49646
2010-06-14 06:33:24 +00:00
Paul Gilbert
466a151744 Fixes for memory leaks reported by Valgrind
svn-id: r49643
2010-06-14 04:20:57 +00:00
Paul Gilbert
4c6d276ce9 Bugfixes for correct moving of the screen viewport within an animation
svn-id: r49629
2010-06-13 10:50:54 +00:00
Paul Gilbert
ef34896dce Clarified various incorrectly named parameters, and fixed code for loading the correct art file backgrounds when running animation sequences
svn-id: r49595
2010-06-11 11:03:51 +00:00
Paul Gilbert
3a5fe4ca00 Bugfix for wrong parameter order in scene resources load method call. Also added fragment to destroy an active animation when it's finished animating
svn-id: r49434
2010-06-04 22:53:26 +00:00
Paul Gilbert
86462c66a0 Added code and support routines for destroying animations correctly, which also necessitated changing the sprite list code
svn-id: r49426
2010-06-04 11:28:30 +00:00
Torbjörn Andersson
038ac90482 Renamed some variables to silence GCC warnings.
svn-id: r49412
2010-06-03 21:13:08 +00:00
Paul Gilbert
86dcc28342 Moved the MADS interface view into mads_scene.cpp and did a major cleanup of scene loading code
svn-id: r49405
2010-06-03 09:34:32 +00:00
Paul Gilbert
961a64a9f8 Bugfix to allow timed text to display in the correct colours
svn-id: r49211
2010-05-25 11:54:18 +00:00
Paul Gilbert
a83aafab54 Changed the font system to allow for multiple fonts to be loaded simultaneously
svn-id: r49209
2010-05-25 10:46:56 +00:00
Paul Gilbert
6bda3e15db Implemented the bulk of the logic for displaying timed on-screen messages
svn-id: r49180
2010-05-24 12:12:27 +00:00
Paul Gilbert
dd9bf70761 Major work done on the animation and support classes to match the original
svn-id: r49150
2010-05-23 07:20:40 +00:00
Paul Gilbert
e91df69eb6 Decoded further fields in the SequenceList class, and started implementation of kernel message display
svn-id: r49034
2010-05-15 00:28:44 +00:00
Paul Gilbert
e11afdeab5 Added proper names for some of the previous unknown timer fields, and bugfixes for the sequence list methods
svn-id: r48875
2010-04-30 11:27:42 +00:00
Paul Gilbert
46c520f797 Added further timer method implementation. Also renamed some of the classes to match those of the original engine, based on the contents of various in-game error messages
svn-id: r48816
2010-04-27 11:23:27 +00:00
Paul Gilbert
328d571bba Implemented extra timer methods and a DynamicHotspots class
svn-id: r48776
2010-04-23 10:28:30 +00:00
Paul Gilbert
3edc151c5b Changed MadsView into a separate class, since it's functionality is needed by two different class hierarchies that can't share a common ancestor class
svn-id: r48763
2010-04-21 10:42:01 +00:00
Paul Gilbert
eb433fcccd Added the beginnings of the main timer list
svn-id: r48635
2010-04-12 08:31:46 +00:00