Commit Graph
61292 Commits
Author SHA1 Message Date
richiesams cd51b646f3 ZVISION: Create a class for handling all render table logic
Aka, creating the lookup tables, storing the current render state, and eventually doing
the image mutations.
2013-08-04 13:32:33 -05:00
richiesams 9e6b2dfc12 ZVISION: Create member function for creating a panorama look up table 2013-08-04 13:32:33 -05:00
richiesams b3eb48996a ZVISION: Fix memory leaks 2013-08-04 13:32:32 -05:00
richiesams 2bfefd9691 ZVISION: Remove extraneous file 2013-08-04 13:32:32 -05:00
richiesams 4bd95987d2 ZVISION: Convert old code to use RenderManager 2013-08-04 13:32:31 -05:00
richiesams 6d7541a430 ZVISION: Create RenderManager class and move code from image.cpp 2013-08-04 13:32:30 -05:00
richiesams 94000e0781 ZVISION: Replace includes with forward declarations 2013-08-04 13:32:29 -05:00
richiesams 4713640779 ZVISION: Remove extraneous member variable 2013-08-04 13:32:29 -05:00
richiesams d546e11cf1 ZVISION: Fix namespace indentation 2013-08-04 13:32:28 -05:00
richiesams b316df9e82 ZVISION: Add a return statement for when image load fails 2013-08-04 13:32:27 -05:00
richiesams 47161ef30d ZVISION: LZSSReadStream - Decompress directly to the destination buffer instead of an intermediate buffer 2013-08-04 13:32:27 -05:00
richiesams 125a061a96 ZVISION: Convert to using MKTAG() instead of checking each char individually 2013-08-04 13:32:26 -05:00
richiesams 1c44fe7afb ZVISION: Fix the error causing distortions in the sound 2013-08-04 13:32:26 -05:00
richiesams 8f32592ab9 ZVISION: Create console command to use the raw2wav function 2013-08-04 13:32:25 -05:00
richiesams 32f8848605 ZVISION: Create utility function to convert .RAW to .WAV 2013-08-04 13:32:25 -05:00
richiesams 7644e00bf3 ZVISION: Convert ResultActions to take a String pointer in their constructors
There's no point in copying the String since it's just being parsed
2013-08-04 13:32:24 -05:00
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