Commit Graph

10 Commits

Author SHA1 Message Date
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
richiesams
2063cb711d ZVISION: Add 'reverse' to _tiltOptions and _panoramaOptions to handle Control options 2013-08-04 13:32:51 -05:00
richiesams
cf9790a9d6 ZVISION: Create mutators for _tiltOptions 2013-08-04 13:32:49 -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
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
48b9741f41 ZVISION: Rename Point template class to Vector2
Also remove templating
2013-08-04 13:32:44 -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
3d223e2123 ZVISION: Modify the RenderTable panorama math to account for panoramas being transposed 2013-08-04 13:32:39 -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