Paul Gilbert
9cab0a5cfe
M4: Added missing breaks to switch statement
...
svn-id: r52793
2010-09-18 12:02:52 +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
c1176498f1
Removed the old hardcoded calls to loadDSRFile
...
svn-id: r50491
2010-06-29 11:15:21 +00:00
Filippos Karapetis
783b71d585
Load the correct speech file pack for the intro of Rex Nebular
...
svn-id: r50321
2010-06-26 13:28: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
6fb462e6b0
Further memory leak fixes reported by Valgrind
...
svn-id: r49644
2010-06-14 05:27:54 +00:00
Paul Gilbert
34f7c05e4d
Initial conversion of the AnimviewView class to use the expanded MadsAnimation class, rather than the older AAFile skeleton class
...
svn-id: r49478
2010-06-07 09:19:42 +00:00
Paul Gilbert
bea6ef4beb
Clarified variable usage for sequence list entry indexes
...
svn-id: r49287
2010-05-28 10:20:02 +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
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
86bfccb842
Removed use of globally constructed menu item position lists
...
svn-id: r49035
2010-05-15 00:42:56 +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
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
a2de7bb0ef
Added the game options dialog, along with several bugfixes to dialog display code
...
svn-id: r48410
2010-03-27 10:44:38 +00:00
Paul Gilbert
38f2c1b7a4
Completed dialog item selection code
...
svn-id: r48409
2010-03-27 07:14:52 +00:00
Paul Gilbert
73787f05f0
Bugfixes to the graphics display of dialogs
...
svn-id: r48405
2010-03-26 20:45:32 +00:00
Paul Gilbert
ae8853d80b
Added preliminary logic for showing loaded sprite frames
...
svn-id: r48401
2010-03-25 12:46:06 +00:00
Paul Gilbert
cf5cd833fd
Moved new MadsView related code into Mads_Views, where it's more appropriate. Added extra logic necessary for displaying text in the game dialogs
...
svn-id: r48378
2010-03-24 11:49:26 +00:00
Paul Gilbert
b46a2b4e10
Added further code for the game dialog framework
...
svn-id: r48368
2010-03-23 12:02:23 +00:00
Paul Gilbert
05922881cb
Added framework for displaying game dialogs
...
svn-id: r48353
2010-03-21 10:51:11 +00:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +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
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
b729218bb6
Changed the M4 event handler to encode the keyboard flags into KEVENT_KEY events
...
svn-id: r46424
2009-12-20 07:09:40 +00:00
Max Horn
d34cdae9ce
M4: Move 'determine transparent color' hack into a new M4Sprite method
...
svn-id: r46281
2009-12-07 18:23:28 +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
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
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
7ca439f410
Initial import of the work in progress M4 engine
...
svn-id: r31600
2008-04-20 14:47:37 +00:00