Commit Graph
11 Commits
Author SHA1 Message Date
Benjamin Haisch a7f5150228 - cmd_return now exits the game if it returns from the main function
- Implemented cmd_exit
- PmvPlayer now exits "more gracefully" when the application is closed while playing

svn-id: r31930
2008-05-07 17:28:38 +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
Benjamin Haisch e0b964b527 Turned printf into warning.
svn-id: r31780
2008-04-29 21:52:26 +00:00
Benjamin Haisch 134762be38 Fixed cmd_rand and cmd_randomize and some cleanup.
svn-id: r31718
2008-04-25 11:07:56 +00:00
Filippos Karapetis 9e0cd64629 Implemented cmd_rand() and cmd_randomize()
svn-id: r31714
2008-04-25 07:36:38 +00:00
Filippos Karapetis 9c4b451e1a Unimplemented commands and opcodes throw a warning now
svn-id: r31693
2008-04-24 14:39:01 +00:00
Benjamin Haisch d0ad5867e0 Fixed palette issues when showing the inventory and the menu.
Moved drawing code from drawFlex/drawAnimFrame to drawSurface.
Implemented opcodes:
- o1_VISUALFX
- o1_SCREENLOCK
- o1_SETTIMER
- o1_SETGROUND
- o1_SETCLIP
- o1_SETEXCLUDE

svn-id: r31675
2008-04-23 20:12:06 +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