57834 Commits

Author SHA1 Message Date
richiesams
e897a1bb2a ZVISION: Fix logic concerning whether a stream is packed or not
It was accidentally returning a raw stream for a ZorkStream and a ZorkStream for a raw
2013-08-04 13:32:24 -05:00
richiesams
134f8fda17 ZVISION: Fix incorrect assumptions about a file being stereo 2013-08-04 13:32:23 -05:00
richiesams
03c871ff30 ZVISION: Convert _stereo to a byte since it is used for a bitwise and 2013-08-04 13:32:23 -05:00
richiesams
d771b615e0 ZVISION: Use individual initialization instead of inline. 2013-08-04 13:32:22 -05:00
richiesams
c7ce580bbd ZVISION: Removed 'packed' audio handling from RawZorkStream.
Moved it to the factory method for creating Audio Streams
2013-08-04 13:32:22 -05:00
richiesams
071d9f2241 ZVISION: Add logic to allow the user to break out of videos 2013-08-04 13:32:21 -05:00
richiesams
92f3de72de ZVISION: Convert console sound handling to use new fileName decoding 2013-08-04 13:32:21 -05:00
richiesams
76f4d2b3d8 ZVISION: Create logic to decode sound rate and isStereo from fileName 2013-08-04 13:32:20 -05:00
richiesams
9f7ff84fe4 ZVISION: Create utility function to parse fileName from a full/partial path 2013-08-04 13:32:20 -05:00
richiesams
a30f49b556 ZVISION: Add a game type enum to detection
This is needed for sound file differentiation
2013-08-04 13:32:19 -05:00
richiesams
8de12fcbd2 ZVISION: Add underscore prefix to public static variable names 2013-08-04 13:32:19 -05:00
richiesams
644313e8f2 ZVISION: Add stereo/mono handling for Zork sound 2013-08-04 13:32:18 -05:00
richiesams
c45a13cdd7 ZVISION: Conform to GCC spacing for template inside template 2013-08-04 13:32:18 -05:00
richiesams
f88127104b ZVISION: Fix implicit conversion for scanf-type functions 2013-08-04 13:32:17 -05:00
richiesams
535d6a2a40 ZVISION: Modify RawZorkStream to use a modified ADPCM codec 2013-08-04 13:32:17 -05:00
richiesams
8d2bef2936 ZVISION: Create console command for loading sounds 2013-08-04 13:32:16 -05:00
richiesams
09358141de ZVISION: Allow the console to stay open when errors occur 2013-08-04 13:32:16 -05:00
richiesams
ae84e9508e ZVISION: Add 2x scaling to videos 2013-08-04 13:32:15 -05:00
richiesams
29061acd4e ZVISION: Add operator< to the Puzzle struct
ScriptManager does a unique-fication of a container of Puzzles using
a sort with some other logic. The sort uses operator<
2013-08-04 13:32:15 -05:00
richiesams
24dc3e1793 ZVISION: Create ScriptManager state handling logic 2013-08-04 13:32:14 -05:00
richiesams
9c7203c4b9 ZVISION: Create utility method to remove duplicate entries from a Common::Array 2013-08-04 13:32:14 -05:00
richiesams
78daaeb583 ZVISION: Create main containers in ScriptManager 2013-08-04 13:32:13 -05:00
richiesams
ba22c83861 ZVISION: Implement ActionTimer::execute() 2013-08-04 13:32:13 -05:00
richiesams
3397edb4f5 ZVISION: Add ActionNode class
This class encases actions that happen over time (timer, animations, etc)
Each frame, the engine calls process() on each active ActionNode
2013-08-04 13:32:12 -05:00
richiesams
d672c2c440 ZVISION: Remove unused methods from ZVision class 2013-08-04 13:32:12 -05:00
richiesams
9d478206f8 ZVISION: Move utility functions to a cpp file with declarations in a header file 2013-08-04 13:32:11 -05:00
richiesams
4e55d7ba94 ZVISION: Clean up includes 2013-08-04 13:32:10 -05:00
richiesams
61a2fffafd ZVISION: Standardize naming conventions to fit the rest of the code base 2013-08-04 13:32:10 -05:00
richiesams
0451503ecc ZVISION: Remove implicit cast between integer types 2013-08-04 13:32:09 -05:00
richiesams
4398c04a7b ZVISION: Create console command for loading a video 2013-08-04 13:32:09 -05:00
richiesams
76b2aa33ca ZVISION: Create/refactor methods for playing video.
The pixel format for videos is not the same as for the rest of the game.
(Game: RGB 555, Video: RGB 565)
2013-08-04 13:32:08 -05:00
richiesams
afbcca2187 ZVISION: Move engine width, height, and pixelFormat to const member variables 2013-08-04 13:32:08 -05:00
richiesams
4c7db7f5de ZVISION: renderImageToScreen: Check for TGZ first instead of TGA
TGA's aren't required to have a magic number in the header, but TGZ are.
Therefore it's easier to identify TGZ files.
2013-08-04 13:32:07 -05:00
richiesams
811ea39486 ZVISION: Update module.mk with current objs 2013-08-04 13:32:06 -05:00
richiesams
ec7915bcb9 ZVISION: Fix eos checking in LzssReadStream 2013-08-04 13:32:06 -05:00
richiesams
00c0284765 ZVISION: Conform to new eventRecorder code 2013-08-04 13:32:05 -05:00
richiesams
ca89f76798 ZVISION: Move early break out above the for loop. LzssReadStream::decompressBytes()
The other code would go through each of the for loops and do nothing due to EOS.
2013-08-04 13:32:05 -05:00
richiesams
399e512be2 ZVISION: Update renderImageToScreen to handle TGZ image files 2013-08-04 13:32:05 -05:00
richiesams
89693d4074 ZVISION: Create class for decompressing and reading LZSS 2013-08-04 13:32:04 -05:00
richiesams
fa365dffce ZVISION: Change #include scummsys.h to types.h 2013-08-04 13:32:04 -05:00
richiesams
a8e5e1e2db ZVISION: Rename result_action.h/.cpp files to actions.h/.cpp 2013-08-04 13:32:03 -05:00
Filippos Karapetis
258ecb0aeb ZVISION: Remove nonstandard C type declaration from the StateFlags enum 2013-08-04 13:32:03 -05:00
Filippos Karapetis
c882f79695 ZVISION: Remove direct inclusion of stdio.h 2013-08-04 13:32:02 -05:00
richiesams
540dde67db ZVISION: Cleanup dump method from run() 2013-08-04 13:32:02 -05:00
richiesams
46865dc394 ZVISION: Create renderImageToScreen method and add a console command for it 2013-08-04 13:32:01 -05:00
richiesams
4209236994 ZVISION: Create debug console and apply console logic to main loop 2013-08-04 13:32:01 -05:00
richiesams
a77ae2163b ZVISION: Add definitions for more ResultActions 2013-08-04 13:32:00 -05:00
richiesams
ebb546c468 ZVISION: Create utility method to dump result action signatures from various .scr files 2013-08-04 13:32:00 -05:00
richiesams
3f93f7d27f ZVISION: Change trimCommentsAndWhiteSpace to use a pointer instead of a reference. 2013-08-04 13:31:59 -05:00
richiesams
3822de2aec ZVISION: Change Puzzle::resultActions to a List of pointers instead of ResultAction objects
ResultAction is abstract, therefore, it can't be directly stored in the list
2013-08-04 13:31:59 -05:00