Commit Graph

57855 Commits

Author SHA1 Message Date
richiesams
87be3180c7 ZVISION: Fix sscanf formatting errors 2013-08-04 13:33:05 -05:00
richiesams
44ee28c13f ZVISION: Remove ResultAction clone member function
Puzzle now uses smart pointers so clone is no longer necessary
2013-08-04 13:33:05 -05:00
richiesams
93e4f4dbf7 ZVISION: Sort using iterators instead of the actual elements
Also convert the argument to a reference instead of a pointer
2013-08-04 13:33:04 -05:00
richiesams
2faaf8488b ZVISION: Convert ResultAction pointers to SharePtr
This gets rid of the need for specific destruction as well as making the copy swap
operations in the ScriptManger _referenceTable more efficient
2013-08-04 13:33:04 -05:00
richiesams
cf45312016 ZVISION: Fix unsigned/signed mismatch warning 2013-08-04 13:33:03 -05:00
richiesams
99ecc80e86 ZVISION: Initialize iterator 2013-08-04 13:33:02 -05:00
richiesams
3df425004d ZVISION: Remove superfluous comma 2013-08-04 13:33:01 -05:00
richiesams
4729641cf9 ZVISION: Fix typo in format string 2013-08-04 13:33:01 -05:00
richiesams
8e3ffdece8 ZVISION: Initialize _needsScreenUpdate in RenderManager 2013-08-04 13:33:00 -05:00
richiesams
d43e1e9741 ZVISION: Add filename parsing for ActionPlayAnimation 2013-08-04 13:33:00 -05:00
richiesams
87f2e9a894 ZVISION: Update module.mk with current obj 2013-08-04 13:32:59 -05:00
richiesams
e170be4ea5 ZVISION: Remove redundant class qualifier 2013-08-04 13:32:59 -05:00
richiesams
8ec0a90611 ZVISION: Convert _blockSize to an anonymous enum 2013-08-04 13:32:58 -05:00
richiesams
903e21b8af ZVISION: Initialize the iterator 2013-08-04 13:32:57 -05:00
richiesams
d06083aa96 ZVISION: Convert sscanf formats to follow new int lengths 2013-08-04 13:32:57 -05:00
richiesams
5e442c363e ZVISION: Convert String pointers to const references 2013-08-04 13:32:56 -05:00
richiesams
f1135292d0 ZVISION: Optimize integer type usages
The general thought is int is faster than int16 or byte. So if you can afford the
space, use it over int16 or byte. Also, only use int32 when you specifically need
the 32 bits.
2013-08-04 13:32:55 -05:00
Filippos Karapetis
89d8496dba ZVISION: Add detection entry and directories for ZGI 2013-08-04 13:32:55 -05:00
richiesams
f39e1fdc43 ZVISION: Move CriteriaOperator, Criteria, and StateFlag inside the Puzzle class 2013-08-04 13:32:54 -05:00
richiesams
f975fbe521 ZVISION: Move Puzzle logic into a .cpp file 2013-08-04 13:32:54 -05:00
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