Commit Graph

41 Commits

Author SHA1 Message Date
Paul Gilbert
212479ab79 M4: Implementation of script engine
svn-id: r52364
2010-08-25 06:42:54 +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
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
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
6fb462e6b0 Further memory leak fixes reported by Valgrind
svn-id: r49644
2010-06-14 05:27:54 +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
Paul Gilbert
05922881cb Added framework for displaying game dialogs
svn-id: r48353
2010-03-21 10:51:11 +00:00
Paul Gilbert
730405f975 Further code implemented for the current action display
svn-id: r48266
2010-03-16 08:26:08 +00:00
Paul Gilbert
404088f58b Further separation of MADS and M4 scene logic
svn-id: r48257
2010-03-14 05:47:33 +00:00
Paul Gilbert
77c821249e Further work on separating M4 specific scene code into the m4_scene.cpp file
svn-id: r48256
2010-03-14 05:39:47 +00:00
Paul Gilbert
ca64698408 Split up the SceneResources class into a generic common set, with specific versions each for M4 and Mads, and merged the MadsSceneInfo data into it
svn-id: r48223
2010-03-10 11:43:48 +00:00
Paul Gilbert
7f57001e17 Split up the scene.cpp file into separate files for M4 and MADS specific scene code and support classes. Also have started adding code for textual display and proper current action display
svn-id: r48172
2010-03-07 05:06:58 +00:00
Johannes Schickel
576f0b9a66 Fix gcc warning.
svn-id: r48151
2010-02-28 01:35:34 +00:00
Paul Gilbert
2881a8c057 Implemented loading of the Rex Nebular walkable areas
svn-id: r48150
2010-02-28 01:07:25 +00:00
Paul Gilbert
75a0022dff Beginnings of code for scene info loading
svn-id: r48143
2010-02-27 05:30:53 +00:00
Paul Gilbert
6969b5ebe6 Implemented some of the sprite animations loading logic for the first scene (no display yet)
svn-id: r48099
2010-02-21 01:18:03 +00:00
Paul Gilbert
bf82639c04 Implemented player sprite loading portion of scene enter code
svn-id: r48076
2010-02-17 11:37:17 +00:00
Paul Gilbert
52c2abba96 Added the beginnings of scene set-up logic
svn-id: r48039
2010-02-13 11:49:18 +00:00
Paul Gilbert
dc8ff8c9d4 Further work on separating the scene logic for MADS and M4
svn-id: r47732
2010-01-31 00:42:47 +00:00
Paul Gilbert
3d1a43bc54 Worked on separating scene logic into separate classes for M4 and MADS
svn-id: r47728
2010-01-30 23:03:07 +00:00
Paul Gilbert
3285a4ba4d Beginnings of a separation of the MADS and M4 engines into separate classes. This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
svn-id: r47705
2010-01-30 09:21:07 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Paul Gilbert
5c732e00ee Started implementation of the original game's cheat mode
svn-id: r46425
2009-12-20 07:10:32 +00:00
Paul Gilbert
575308cea7 Implemented basic message parsing
svn-id: r46402
2009-12-17 07:55:08 +00:00
Paul Gilbert
d10bb1036e Implemented the rendering section of dialog display
svn-id: r46338
2009-12-12 11:59:38 +00:00
Paul Gilbert
724d698a05 Beginnings of a dialog display class
svn-id: r46330
2009-12-11 09:41:27 +00:00
Max Horn
f8126d9da6 M4: Make M4Surface member w, h, pixels protected; some cleanup
svn-id: r46280
2009-12-07 18:22:18 +00:00
Paul Gilbert
f21810242e Hooked up the actions list and object-specific actions to change the status text
svn-id: r46268
2009-12-05 11:32:19 +00:00
Paul Gilbert
0e85be8405 Implemented support for the inventory list scrollbar and directly selecting an object
svn-id: r46266
2009-12-05 07:46:41 +00:00
Paul Gilbert
60fa351d32 Expanded the actions view into a full user interface view, and added support for highlighting of user interface elements
svn-id: r46262
2009-12-05 05:44:46 +00:00
Paul Gilbert
9bc2aa2afa Corrected the palette colours for the interface elements
svn-id: r46230
2009-12-01 10:47:39 +00:00
Max Horn
e98f789a02 Fix warning
svn-id: r46156
2009-11-26 16:10:59 +00:00
Paul Gilbert
5afc0e5ed7 Added the basics of a action list display
svn-id: r46152
2009-11-26 11:48:43 +00:00
Paul Gilbert
67442c230c Added display of the rotating inventory objects
svn-id: r45912
2009-11-15 08:22:57 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
17a51a235f Merged loadHotSpotsMads() and loadHotSpotsM4()
svn-id: r34726
2008-10-02 22:04:34 +00:00
Filippos Karapetis
e06918c29f More compilation fixes by lordhoto
svn-id: r31621
2008-04-20 17:26:48 +00:00
Filippos Karapetis
7ca439f410 Initial import of the work in progress M4 engine
svn-id: r31600
2008-04-20 14:47:37 +00:00