57719 Commits

Author SHA1 Message Date
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
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