Commit Graph

19 Commits

Author SHA1 Message Date
Johannes Schickel
5b70d34479 MADE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Johannes Schickel
7b126c5f24 MADE: Minimize #include usage. 2011-10-09 22:58:37 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Matthew Hoops
14c2fb2f08 Implement PlayNote/StopNote and PlayTele/StopTele for The Manhole.
svn-id: r51066
2010-07-20 16:05:25 +00:00
Filippos Karapetis
decdc5771a Applied patch #2872409 "MADE engine fixes" by agent-q, with one small modification (initialized _soundStarted in the ScriptFunctions constructor)
svn-id: r44589
2009-10-04 09:31:37 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Benjamin Haisch
828a217a03 - Implemented "stand-alone" script dumper/disassembler; it can be enabled by defining DUMP_SCRIPTS in script.h and starting with at least debug level 1.
- Commented which script opcodes and extended functions are actually used or not.

svn-id: r32202
2008-05-20 20:00:10 +00:00
Filippos Karapetis
0c81b70ba3 Rewrote the MADE script dumper, hopefully in a more efficient way
svn-id: r32167
2008-05-18 10:57:58 +00:00
Benjamin Haisch
4a0b936495 Merged the three ScriptFunctionsXXX classes into ScriptFunctions
svn-id: r32105
2008-05-14 11:19:31 +00:00
Filippos Karapetis
a9b4058ba9 Fixed some game crashes which occurred when ProjectReader::purgeCache() got called:
- MIDI music data is marked to be deleted in o1_STOPMUS now, instead of o1_PLAYMUS. 
- Added a FIXME to Screen::setFont() - purgeCache crashes the game if the active font is deleted

svn-id: r31948
2008-05-08 13:23:02 +00:00
Sven Hesse
7595f20e33 Silencing two signess compiler warnings
svn-id: r31897
2008-05-06 15:08:48 +00:00
Benjamin Haisch
9df82055f0 - The Manhole: New and Enhanced is now (partially) playable
- Implemented cmd_objectp
- Changed how the script externals array is set up
- Cleanup

svn-id: r31895
2008-05-06 11:45:23 +00:00
Benjamin Haisch
b6c7385eb4 - Renamed XmidiResource to GenericResource
- Added MIDI resource type
- Added ScriptFunctionsLgop2 and ScriptFunctionsMhne (for Leather Goddesses of Phobos 2 and The Manhole: New and Enhanced, resp.)
- Many changes for LGOP2 and The Manhole: N&E

Note about the new ScriptFunctions classes:
I copied the ScriptFunctionsRtz class and so duplicated a lot of code. Most of the opcode functions are the same in all games but there might be differences. Once all common opcode functions have been figured out, they'll be moved to a common place (like the ScriptFunctions class).

svn-id: r31871
2008-05-05 10:45:11 +00:00
Filippos Karapetis
b69ffa922a In-game sound effects and voices should be working correctly now.
Implemented the following opcodes:
- o1_PLAYSND
- o1_ISSND
- o1_STOPSND
- o1_PLAYVOICE
- o1_SOUNDRATE
- o1_SETVOLUME

svn-id: r31666
2008-04-23 17:21:49 +00:00
Benjamin Haisch
651bc3a278 Removed Functor2 class definition.
svn-id: r31639
2008-04-21 07:29:35 +00:00
Torbjörn Andersson
7e07dd5ec7 Changed spaces to tabs.
svn-id: r31610
2008-04-20 15:36:40 +00:00
Filippos Karapetis
d0590a09ea Initial import of the work in progress MADE engine
svn-id: r31599
2008-04-20 14:43:56 +00:00