Commit Graph
61292 Commits
Author SHA1 Message Date
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
richiesams 0ba9ca8fa0 ZVISION: Forward declare ZVision in result_action.h
result_action.h is #included before ZVision is declared, causing not declared compiler errors
2013-08-04 13:31:58 -05:00
richiesams 16cc970c9e ZVISION: Normalize remaining CRLF to LF for the remote 2013-08-04 13:31:58 -05:00
richiesams 187c119e93 ZVISION: Create ResultAction 's for Add and Random.
Create class templates for PlayAnimation, PreloadAnimation, and Attenuate
2013-08-04 13:31:57 -05:00
richiesams c0c4ee6533 ZVISION: Fix single_value_container.h include to use the new file name 2013-08-04 13:31:57 -05:00
richiesams 0b9dce40a0 ZVISION: Fix usage of Puzzle struct to use 'key' instead of 'id' 2013-08-04 13:31:56 -05:00
richiesams 1710468121 ZVISION: Fix includes to use new underscore names 2013-08-04 13:31:56 -05:00
richiesams f99d613dcb ZVISION: Rename files to use underscores instead of camelCase 2013-08-04 13:31:55 -05:00
richiesams daa2c4b670 ZVISION: Move test functions out of video.cpp and into their own file
The file only exist to hold the code. The actual tests will be
moved to an appropriate location later.
2013-08-04 13:31:55 -05:00
richiesams 7bc0097dde ZVISION: Fix include for singleValueContainer.cpp 2013-08-04 13:31:54 -05:00
richiesams 8d9f90bf12 ZVISION: Create ScriptManager accessor for ZVision
Having the ScriptManager as a member variable forced it to be const,
which prevented any non cont methods to be used. Thus, ScriptManager is
created on the heap and disposed after use.
2013-08-04 13:31:54 -05:00
richiesams dec34c174b ZVISION: Create global state accessor/mutator methods for ScriptManager 2013-08-04 13:31:53 -05:00
richiesams b70f85b9a0 ZVISION: Comment clarification for ScriptManager methods and helper structs 2013-08-04 13:31:53 -05:00
richiesams 464cc44a82 ZVISION: Convert ScriptManager methods to use ResultAction classes logic 2013-08-04 13:31:52 -05:00
richiesams b3b7bd29b1 ZVISION: Create ResultAction base class and ActionAdd child class 2013-08-04 13:31:52 -05:00
richiesams ac96b943fa ZVISION: Create an instance of ScriptManager inside ZVision 2013-08-04 13:31:51 -05:00
richiesams 526c1dc465 ZVISION: Use spaces in doxygen comments for alignement instead of tabs 2013-08-04 13:31:51 -05:00
richiesams 063d6c3400 ZVISION: Rename object.h and object.cpp to fit the new class name 2013-08-04 13:31:50 -05:00
richiesams c3c7566962 ZVISION: Rename 'Object' class to 'SingleValueContainer' 2013-08-04 13:31:50 -05:00
richiesams 30208f7f2b ZVISION: Add documentation to 'Object' accessors 2013-08-04 13:31:49 -05:00
richiesams 5fef809941 ZVISION: Convert union of pointers to union of values except for String.
Instead of storing everything on the heap, only store Strings on the heap.
For Strings, store a char array pointer instead of an actual String object
since String objects are fairly large.
2013-08-04 13:31:49 -05:00
richiesams d5fa6612ed ZVISION: Modify utility and puzzle comments to make them more clear 2013-08-04 13:31:48 -05:00
richiesams 3283176f6d ZVISION: Move initialization code from run() and into its own method 2013-08-04 13:31:48 -05:00
richiesams 7803c9fddf ZVISION: Force 'Object' constructors to be explicit. 2013-08-04 13:31:47 -05:00
richiesams 8cc678e2ee ZVISION: Convert 'Object' implicit conversion operators to accessors
Implicit conversion, while simple can cause problems and doesn't
show exactly how to get the value.
2013-08-04 13:31:47 -05:00
richiesams cf7c04a001 ZVISION: Fix code formatting to follow the convention 2013-08-04 13:31:46 -05:00
richiesams 75e513c46c ZVISION: Create base puzzle parsing. 2013-08-04 13:31:46 -05:00
richiesams 8243263b33 ZVISION: Add documentation to utility functions and add a glorified trim function 2013-08-04 13:31:45 -05:00
richiesams 2ada5a8dd7 ZVISION: Split puzzleControl into two files. Add ResultAction enum
After further investigation, puzzles and controls don't really share any
structs. So it makes more sense to keep them seperate.
2013-08-04 13:31:45 -05:00
richiesams f444a1fd38 ZVISION: Create Object class. 2013-08-04 13:31:44 -05:00
richiesams a8980a4f77 ZVISION: Create utility function that writes File contents to another File
scr files are stored and encrypted in archive files. This is an easy
way to dump them for debugging purposes.
2013-08-04 13:31:44 -05:00
richiesams 160d6256f2 ZVISION: Create skeleton engine and move code away from Engine::Run
The goal is to have Engine::Run as clean as possible. Aka mostly method
calls.
2013-08-04 13:31:43 -05:00
richiesams b65fd98441 ZVISION: Clean up includes 2013-08-04 13:31:43 -05:00
richiesams ef37f14d53 ZVISION: Add xor encryption handling to ZfsArchive class 2013-08-04 13:31:42 -05:00
richiesams 179f5de498 ZVISION: Add support for ZFS archive files
ZfsArchive implements Common::Archive.
2013-08-04 13:31:42 -05:00