Commit Graph

57785 Commits

Author SHA1 Message Date
richiesams
ea47c28ddf ZVISION: Make ActionNode::process() pure virtual 2013-08-04 13:32:53 -05:00
richiesams
00eb279243 ZVISION: Create ScriptManager member function to change location 2013-08-04 13:32:53 -05:00
richiesams
070042fcb4 ZVISION: Modify Control parsing to use new Control class structure 2013-08-04 13:32:52 -05:00
richiesams
d4ae293f88 ZVISION: Rename parseResult() to parseResults() 2013-08-04 13:32:52 -05:00
richiesams
2063cb711d ZVISION: Add 'reverse' to _tiltOptions and _panoramaOptions to handle Control options 2013-08-04 13:32:51 -05:00
richiesams
48a3a1530d ZVISION: Move the criteriaMet bool outside of the loop
Only fire off the Results of ALL of the criteria are met
2013-08-04 13:32:51 -05:00
richiesams
c22c91b7d3 ZVISION: Create Control class 2013-08-04 13:32:50 -05:00
richiesams
b20437a17d ZVISION: Modify Criteria parsing to handle empty Criteria 2013-08-04 13:32:50 -05:00
richiesams
cf9790a9d6 ZVISION: Create mutators for _tiltOptions 2013-08-04 13:32:49 -05:00
richiesams
7d58ebf281 ZVISION: Convert Puzzle to a class
It needed a copy constructor and destructor to handle the heap memory ResultActions
2013-08-04 13:32:49 -05:00
richiesams
93c6670f6f ZVISION: Create clone member function for ResultAction class 2013-08-04 13:32:48 -05:00
Filippos Karapetis
032afd3c1a ZVISION: Fix compilation 2013-08-04 13:32:48 -05:00
Filippos Karapetis
1c551d4359 ZVISION: Only scale videos when needed
This avoids crashes for videos that exceed the screen size when scaled
2013-08-04 13:32:47 -05:00
richiesams
e076d8e52f ZVISION: Change default panorama FoV to 27 degrees
This is to match Marisa Chan's implementation. Images at this FoV also look better.
2013-08-04 13:32:47 -05:00
richiesams
8f3e27cbd0 ZVISION: Fix closing braces on generateTiltLookupTable 2013-08-04 13:32:46 -05:00
richiesams
0e4e6ee9bf ZVISION: Create methods for altering panoramaOptions and create console commands for them 2013-08-04 13:32:46 -05:00
richiesams
b9dd61437c ZVISION: Create class for ActionDelayRender 2013-08-04 13:32:45 -05:00
richiesams
5376aa7b3c ZVISION: Move generating the RenderTable to outside setRenderState
This allows the panorama/tilt options to mutated without having to generate the table multiple times.
2013-08-04 13:32:45 -05:00
richiesams
564379d3ee ZVISION: Create method to get RenderTable object pointer from RenderManager
Remove passthrough methods
2013-08-04 13:32:44 -05:00
richiesams
48b9741f41 ZVISION: Rename Point template class to Vector2
Also remove templating
2013-08-04 13:32:44 -05:00
richiesams
f8bc82080a ZVISION: Create function for mixing two RGB<555> colors 2013-08-04 13:32:43 -05:00
richiesams
4acdf5b7d5 ZVISION: Convert panoramaOptions and tiltOptions to floats 2013-08-04 13:32:43 -05:00
richiesams
a23970bbc6 ZVISION: Convert RenderTable to only storing (x,y) offsets instead of absolute postions.
This allows the destRectangle to be offset within the RenderTable
2013-08-04 13:32:42 -05:00
richiesams
611ff31a56 ZVISION: Copy Point struct from rect.h and turn it into a templated class 2013-08-04 13:32:41 -05:00
richiesams
34b3a78898 ZVISION: Fix error causing image discontinutities
The width and height were swapped when passed to the class constructor.
2013-08-04 13:32:41 -05:00
richiesams
c8359ad56c ZVISION: Modify loadImage console command to account for new render options 2013-08-04 13:32:40 -05:00
richiesams
3d223e2123 ZVISION: Modify the RenderTable panorama math to account for panoramas being transposed 2013-08-04 13:32:39 -05:00
richiesams
2349fcfd31 ZVISION: Modify renderImageToScreen to take into account the current RenderState 2013-08-04 13:32:39 -05:00
richiesams
364e9d659c ZVISION: Force all files to be registered with SearchMan as 'flat'
There are 10 file name conflicts as a result, but the conflicts are byte identical.
2013-08-04 13:32:38 -05:00
richiesams
65a08c71c6 ZVISION: Fix unsigned/signed compiler warning 2013-08-04 13:32:37 -05:00
richiesams
df2e78e6f8 ZVISION: Remove variable used for debugging purposes 2013-08-04 13:32:37 -05:00
richiesams
73f02759f9 ZVISION: Remove supurflouous 'const' and add 'inline' 2013-08-04 13:32:36 -05:00
richiesams
88934cd5d0 ZVISION: Convert console code to use RenderManager and add method for setRenderState 2013-08-04 13:32:35 -05:00
richiesams
de2e7fd144 ZVISION: Convert error() to warning()
I did not realize the intended behavior of error() is to close the application
2013-08-04 13:32:35 -05:00
richiesams
ed44907309 ZVISION: Move rendering logic from ZVision class to RenderManager class 2013-08-04 13:32:34 -05:00
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