70 Commits

Author SHA1 Message Date
Filippos Karapetis
263c592490 ZVISION: Fix bug #6769 (the "Alchemical debacle" video in ZGI) 2015-01-17 23:38:50 +02:00
Filippos Karapetis
9f00880aa4 ZVISION: Properly handle sounds reusing the same sound slot (bug #6761)
This is based on Marisa-Chan's observations in commit 28e27ea1d9.
Tested with both ZNEM and ZGI
2015-01-16 14:08:15 +02:00
RichieSams
28e27ea1d9 ZVISION: Allow multiple sound effects to play at the same time
This is the original behavior. This was noted in bug #6761. Specifically,
the knocker on the door plays a sound whenever it is a the top of the bottom
of the swing. By only allowing one sound effect to play at the same time, the
knocker would only play once, even though it bounces at the bottom.
2015-01-15 00:31:39 -06:00
Filippos Karapetis
21e9007d80 Revert "ZVISION: Remove ActionRestoreGame and loading of r.svr (restart slot)"
This reverts commit 9f642074ba8e17aa23b01bcee82b2293fe84f8f1, as it
broke the credits screen in ZGI.

This has been rewritten to use the common save code
2015-01-10 22:03:15 +02:00
Filippos Karapetis
899cf4813c ZVISION: Change screen resolution for the hires DVD videos to 800x600
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is
compiled in. The DVD videos are still disabled until AC3 audio support
is implemented.
The hires DVD videos are encoded a 720x480 resolution, with double the
frame rate of the lowres ones (29.97FPS up from 15FPS)
2015-01-10 21:32:15 +02:00
Filippos Karapetis
4ffaf4df37 ZVISION: Add stubs for the hires VOB MPEG2 videos of ZGI DVD
VOB file handling is based on clone2727's work. The lowres videos are
played for now, until AC3 sound handling is implemented
2015-01-07 11:42:27 +02:00
Filippos Karapetis
cdbc06d0f7 ZVISION: Use a common function for loading game animations 2015-01-07 11:42:26 +02:00
Filippos Karapetis
9f642074ba ZVISION: Remove ActionRestoreGame and loading of r.svr (restart slot)
This is handled internally now, so r.svr isn't needed anymore
2015-01-07 11:42:24 +02:00
RichieSams
68d3ebd57b ZVISION: Rename some scripting classes to better represent what the classes are
Also, rename the graphics 'Effect' class in order to avoid naming clashes (and/or coder
confusion) with the newly named ScriptingEffect class.
Lastly, add some documentation for the classes for further clarity.
2014-12-30 01:10:36 -06:00
Filippos Karapetis
db37cfb1b0 ZVISION: Remove duplicate blitting code for images and animations 2014-12-26 22:30:32 +02:00
Filippos Karapetis
eea1ee445f ZVISION: Move more graphics code out of the main engine code 2014-12-26 13:14:24 +02:00
Filippos Karapetis
2350eca546 ZVISION: Remove some unused actions. Cleanup 2014-12-26 12:04:21 +02:00
Filippos Karapetis
4d0ebfaa22 ZVISION: Move the save manager together with the other file classes 2014-12-26 04:03:20 +02:00
Filippos Karapetis
6c451c9cf4 ZVISION: Document where MIDI commands are used 2014-12-25 21:48:59 +02:00
Filippos Karapetis
319323c668 ZVISION: Document some of the ActionRegion effects 2014-12-25 15:09:46 +02:00
Filippos Karapetis
e8e21fabe4 ZVISION: Set all the internal graphics operations to use RGB555 (1/2)
This is the first part of the changes to make the engine use RGB555
internally again. This is done to simplify the rendering pipeline -
the engine will use RGB555 internally, but will output to RGB565.
The overall changes have been broken into two commits, thus this
first commit will break all the game colors
2014-12-24 22:56:55 +02:00
Filippos Karapetis
99073f9b57 ZVISION: Fix some buffer overruns with the usage of sscanf() 2014-12-23 02:20:17 +02:00
Filippos Karapetis
9bc0686e60 ZVISION: Remove leftover warning 2014-12-23 00:09:18 +02:00
Filippos Karapetis
3f36cc94e4 ZVISION: Limit the default engine delay for all animations
This fixes the lag between frames for all in-game animations
with a default frame delay
2014-12-23 00:07:45 +02:00
Marisa-Chan
c8f8da0308 ZVISION: Fix uninitialized scalar field (CID 1257088) 2014-12-19 17:05:31 +06:00
Marisa-Chan
2cb541c651 ZVISION: Fix uninitialized scalar field (CID 1257087) 2014-12-19 17:05:03 +06:00
Marisa-Chan
7609b6d866 ZVISION: Fix uninitialized scalar field (CID 1257086) 2014-12-19 17:04:26 +06:00
Marisa-Chan
7a0b5982b1 ZVISION: Fix uninitialized scalar field (CID 1257085) 2014-12-19 17:04:04 +06:00
Marisa-Chan
7e3c270e49 ZVISION: Fix uninitialized scalar field (CID 1257084) 2014-12-19 17:03:39 +06:00
Marisa-Chan
d6e3cea087 ZVISION: Fix uninitialized scalar field (CID 1257083) 2014-12-19 17:03:07 +06:00
Marisa-Chan
5db4e02f9a ZVISION: Fix uninitialized scalar field (CID 1257082) 2014-12-19 17:02:22 +06:00
Marisa-Chan
1078d0c193 ZVISION: Fix uninitialized scalar field (CID 1257079) 2014-12-19 16:51:01 +06:00
Marisa-Chan
7055ee7755 ZVISION: Fix uninitialized scalar field (CID 1257075) 2014-12-19 16:44:18 +06:00
Marisa-Chan
897ecc190f ZVISION: Fix uninitialized scalar field (CID 1257074) 2014-12-19 16:41:51 +06:00
Marisa-Chan
704a4b3400 ZVISION: Fix uninitialized scalar field (CID 1257072) 2014-12-19 16:39:21 +06:00
Marisa-Chan
8278ed6022 ZVISION: Fix uninitialized scalar field (CID 1257071) 2014-12-19 16:38:34 +06:00
Marisa-Chan
ea2ad625ff ZVISION: Fix uninitialized scalar field (CID 1257070) 2014-12-19 16:36:54 +06:00
Marisa-Chan
9c2782a680 ZVISION: Fix uninitialized scalar field (CID 1257069) 2014-12-19 16:35:15 +06:00
Marisa-Chan
dae76a76c7 ZVISION: Fix uninitialized scalar field (CID 1257068) 2014-12-19 16:34:11 +06:00
Marisa-Chan
3b83e82e6f ZVISION: Fix uninitialized scalar field (CID 1257067) 2014-12-19 16:33:26 +06:00
Marisa-Chan
b96c581881 ZVISION: Fix uninitialized scalar field (CID 1257066) 2014-12-19 16:32:27 +06:00
Marisa-Chan
efb9355223 ZVISION: Fix uninitialized scalar field (CID 1257065) 2014-12-19 16:31:33 +06:00
Marisa-Chan
044f252154 ZVISION: Fix uninitialized scalar field (CID 1257064) 2014-12-19 16:29:51 +06:00
Marisa-Chan
f8c1b1eb28 ZVISION: Fix uninitialized scalar field (CID 1257062) 2014-12-19 16:22:57 +06:00
Marisa-Chan
e28f8a5d8f ZVISION: Fix uninitialized scalar field (CID 1257059) 2014-12-19 16:00:57 +06:00
Marisa-Chan
cd2612a54e ZVISION: Fix uninitialized scalar field (CID 1257058) 2014-12-19 16:00:57 +06:00
Marisa-Chan
f9946b726f ZVISION: Fix uninitialized scalar field (CID 1257057) 2014-12-19 16:00:57 +06:00
Marisa-Chan
8c896f5da4 ZVISION: Fix uninitialized scalar field (CID 1257056) 2014-12-19 16:00:57 +06:00
Marisa-Chan
deea4ef62c ZVISION: Fix uninitialized scalar field (CID 1257055) 2014-12-19 16:00:57 +06:00
Filippos Karapetis
4b2b5e686b ZVISION: Move the mouse cursor handling code into the graphics code 2014-12-16 01:58:55 +02:00
Filippos Karapetis
2a4a6df5f2 ZVISION: Remove superfluous spacing and reorder some includes 2014-12-03 01:12:35 +02:00
Marisa-Chan
5b352da304 ZVISION: More CamelCase and a bit of comments cleanup 2014-11-20 14:48:24 +06:00
Marisa-Chan
7d92b44e09 ZVISION: Nemesis and GI has difference in set_partial_screen color mask 2014-11-12 14:36:30 +06:00
Marisa-Chan
6f6d5fc24e ZVISION: Hide mouse cursor while streamvideo is working 2014-11-12 14:34:01 +06:00
Marisa-Chan
54917582eb ZVISION: Implement missing action - cursor 2014-11-12 14:31:48 +06:00