dhewg
dc6c88f350
M4: Init volume levels on startup
2011-03-19 16:04:53 +01:00
D G Turner
10e2cec6b9
M4: Updated for OSystem Palette RGBA->RGB Change.
2011-02-20 03:20:06 +00:00
Ori Avtalion
84a8bdc86b
JANITORIAL: Remove duplicate #include's
...
svn-id: r55889
2011-02-12 10:00:52 +00:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Paul Gilbert
e00c17712c
M4: Removed redundant colour index recalculation in palette manager
...
svn-id: r55098
2011-01-03 11:36:39 +00:00
Max Horn
2cae2fc4d0
M4: Remove unnecessary reference to file.h
...
svn-id: r54563
2010-11-28 23:39:02 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
d6592aaba6
M4: Do not use Common::SubReadStream where ReadStream suffices
...
svn-id: r54342
2010-11-18 19:27:01 +00:00
Paul Gilbert
0ac1eb82c6
M4: Changed debug calls to debugCN since they all have newlines
...
svn-id: r54047
2010-11-03 09:44:03 +00:00
Max Horn
8047f79a46
M4: Convert last few printfs to debug
...
svn-id: r54039
2010-11-02 09:50:29 +00:00
Max Horn
7cf7b198ad
M4: Remove redundant fflush calls
...
svn-id: r54038
2010-11-02 09:50:14 +00:00
Paul Gilbert
97a0c281eb
M4: Converted all printf's to debug
...
svn-id: r54035
2010-11-02 00:51:12 +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
997625c3b3
M4: Reworked dumpFile to use Common::DumpFile
...
svn-id: r54033
2010-11-02 00:13:04 +00:00
Max Horn
a984fb17c2
GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warnings
...
svn-id: r54007
2010-11-01 16:03:35 +00:00
Max Horn
334173d333
M4: Remove unused getter method MadsM4Engine::system()
...
svn-id: r53959
2010-10-30 21:26:13 +00:00
Max Horn
c07e58ba06
M4: Disable code using FILE, fopen, etc. and add explantory FIXME
...
svn-id: r53958
2010-10-30 21:25:52 +00:00
Filippos Karapetis
e7ff1574ef
M4: Fixed OP_NOT and OP_COMP behavior again (thanks wjp)
...
svn-id: r53505
2010-10-15 15:51:59 +00:00
Filippos Karapetis
c2e08538ee
M4: Fixed code analysis warnings - bug #3087845
...
svn-id: r53500
2010-10-15 15:05:23 +00:00
Max Horn
4ccce19876
ENGINES: Enhance namespace comments a bit
...
svn-id: r53484
2010-10-15 12:48:19 +00:00
Paul Gilbert
53a5ba21ab
M4: NULL terminate after a strncpy
...
svn-id: r52794
2010-09-18 12:08:59 +00:00
Paul Gilbert
9cab0a5cfe
M4: Added missing breaks to switch statement
...
svn-id: r52793
2010-09-18 12:02:52 +00:00
Matthew Hoops
b1532eca9f
M4: Silence gcc warning
...
Original warning: "format not a string literal and no format arguments"
svn-id: r52388
2010-08-25 13:31:14 +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
Eugene Sandulenko
ee23fe34b0
M4: fix warnings
...
svn-id: r52148
2010-08-17 11:01:20 +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
0191f8fd71
M4: Bugfixes for depth ordering to fix the Z order of on-screen objects
...
svn-id: r51239
2010-07-24 08:08:19 +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
cd66b7d11b
M4: Enhanced the show_codes debug command to also show a scene's walking points
...
svn-id: r51230
2010-07-24 01:07:04 +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
Johannes Schickel
ddb364412e
Fix use of "&&" instead of "&" for bit masking. (This looks much more sensible at least!)
...
svn-id: r50953
2010-07-16 23:30:50 +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
13eb510baf
Bugfix to the SqrtF16 function to work correctly
...
svn-id: r50912
2010-07-15 10:00:32 +00:00
Matthew Hoops
ec65befa3c
Silence gcc warning.
...
svn-id: r50883
2010-07-14 14:05:08 +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
Torbjörn Andersson
6760127300
The new buffer has to be one byte longer than the length of the 'buffer'
...
string. (Error spotted by cppcheck.) Also, there's no need to use sprintf()
where a strcpy() will do just as well. (It's tempting, but probably not
appropriate, to use strdup(). I'm guessing the buffer *has* to be allocated
with 'new'.)
svn-id: r50872
2010-07-14 04:42:27 +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
3f7dc9e0e2
Added extra initialisation code for the game's global variables list
...
svn-id: r50722
2010-07-06 11:32:10 +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
587ba8a90e
Implemented more of the support methods for player display
...
svn-id: r50644
2010-07-04 12:45:33 +00:00
Paul Gilbert
10e7581fe1
Added support for horizontally flipped foreground sprites, which are indicated by setting the high bit of frame numbers
...
svn-id: r50638
2010-07-04 00:38:16 +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