301 Commits

Author SHA1 Message Date
richiesams
695257cb79 ZVISION: Create class to parse RLF animation files 2013-08-20 11:41:07 -05:00
richiesams
b0635edff8 ZVISION: Revert to normal pointers instead of shared pointers 2013-08-18 19:53:07 -05:00
richiesams
2fcba2743c ZVISION: Don't cast away const qualifier 2013-08-18 19:53:06 -05:00
richiesams
4d5914ac21 ZVISION: Fix argument passing for warning() 2013-08-18 19:53:06 -05:00
richiesams
5eab8a8d77 ZVISION: Reimplement PushToggleControl 2013-08-18 19:53:05 -05:00
richiesams
d26c814d1e ZVISION: Force & operator to have precedence over == operator 2013-08-18 19:53:05 -05:00
richiesams
6ee93ad5c2 ZVISION: Convert _puzzlesToCheck to a Queue instead of a Stack 2013-08-18 19:53:04 -05:00
richiesams
46ab355766 ZVISION: Allow Puzzles to have mutiple 'sets' of CriteriaEntries 2013-08-18 19:53:04 -05:00
richiesams
5a86355e7d ZVISION: Implement ActionEnableControl and ActionDisableControl 2013-08-18 19:53:03 -05:00
richiesams
908e784957 ZVISION: Allow controls to be enabled or disabled 2013-08-18 19:53:03 -05:00
richiesams
3a23873c45 ZVISION: Convert _activeControls from a List to a HashMap 2013-08-18 19:53:02 -05:00
richiesams
25deaf3a35 ZVISION: Reset MouseEvent globalStateValue's when clearing them 2013-08-18 19:53:01 -05:00
richiesams
9051f62136 ZVISION: Make MousEvent fully public 2013-08-18 19:53:01 -05:00
richiesams
1f653f9a34 ZVISION: Allow MouseEvents to be unregistered 2013-08-18 19:53:00 -05:00
richiesams
589c29e6e1 ZVISION: Add newlines to console debug statements 2013-08-18 19:53:00 -05:00
richiesams
09ae4443d4 ZVISION: Reset push_toggle controls global state value to 0 during initialization 2013-08-18 19:52:59 -05:00
richiesams
c840d082ce ZVISION: Allow ONCE_PER_INST puzzles to be repeated once per room instead of once per game 2013-08-18 19:52:59 -05:00
richiesams
eafd6608cf ZVISION: Change the CLIP template argument to match the type of the indicies 2013-08-18 19:52:58 -05:00
richiesams
77219705e6 ZVISION: Prevent endless looping due to incorrect file structure
Some of the .scr files don't properly close the last curly brace
2013-08-18 19:52:58 -05:00
richiesams
f1d44bdf8c ZVISION: Protect against indicies that are more than an imageWidth/Height from the actual image dimensions 2013-08-18 19:52:57 -05:00
richiesams
80cba07b31 ZVISION: Allow destinations to be negative 2013-08-18 19:52:57 -05:00
richiesams
acea03a9cd ZVISION: Allow RenderTable indicies to be negative 2013-08-18 19:52:56 -05:00
richiesams
7e6a04dc62 ZVISION: Store the background offset from the center instead of from the top left corner 2013-08-18 19:52:56 -05:00
richiesams
8fafde8a33 ZVISION: Re-enable video handling now that AVI code is fixed 2013-08-18 19:52:55 -05:00
richiesams
bbb8598a3e ZVISION: Modify cmdLoadImage to match new render code 2013-08-18 19:52:54 -05:00
richiesams
b22ed391fe ZVISION: Set the background position after the .scr file has been parsed so we know the RenderState 2013-08-18 19:52:54 -05:00
richiesams
e769164f79 ZVISION: Render images by specifying a destination and then clipping
Instead of specifying a subRect. This also reverts the code that rendered to a
backbuffer and then did a full backbuffer warp. Wrapping is done in the RenderTable
2013-08-18 19:52:53 -05:00
richiesams
7d24f46e7e ZVISION: Modify cmdLoadSound to allow manual rate and isStereo
Usually those variables are parsed from the file name
2013-08-18 19:52:42 -05:00
richiesams
0a840fa664 ZVISION: Rename 'x' variable in changeLocation to 'offset'
Since it can be in either the x or the y direction
2013-08-16 17:27:51 -05:00
richiesams
a3c39f4876 ZVISION: Fix memory corruption in copyTransposedRectToBackBuffer 2013-08-16 12:19:00 -05:00
richiesams
1c6ffd133a ZVISION: Clean up backbuffer memory after we're finished with it 2013-08-16 12:18:19 -05:00
richiesams
e0937a12cd ZVISION: Move _cursorManager construction after the folder directories have been registered with SearchMan 2013-08-16 12:17:29 -05:00
richiesams
af0a58ecda ZVISION: Fix copyTransposedRectToBackBuffer 2013-08-16 10:45:31 -05:00
richiesams
26159e6ea5 ZVISION: Only warp the backbuffer if we're in PANORAMA or TILT 2013-08-16 10:44:56 -05:00
richiesams
e6aa2d15ca ZVISION: Only skip the background moving if velocity is 0 instead of returning and skipping everything 2013-08-16 10:44:35 -05:00
richiesams
bdd9b18292 ZVISION: Disable videos until I can figure out how to fix the decoder 2013-08-16 10:43:12 -05:00
richiesams
c2366dc99e ZVISION: Fix error using subRectangle.right instead of .top 2013-08-15 15:11:24 -05:00
richiesams
999de6d400 ZVISION: Convert Surface::pixels to Surface::getBasePtr(0, 0) 2013-08-15 14:15:58 -05:00
richiesams
08a8ab885b ZVISION: Apply panorama/tilt warping after all images have been rendered to a backbuffer
This makes wrapped warping much easier as well as allowing changeLocation offsets to
work properly
2013-08-15 14:15:48 -05:00
richiesams
c0305d9534 ZVISION: Rename variables and add comments to clarify the math behind panorama warping 2013-08-15 14:15:30 -05:00
richiesams
435419cfe9 ZVISION: Modify ASCII velocity drawing to represent the actual code
Velocity outside the working window is zero
2013-08-14 12:12:34 -05:00
richiesams
4e827b4dda ZVISION: Add documentation 2013-08-14 12:04:13 -05:00
richiesams
9b8bad3c83 ZVISION: Add _renderManager::update() to ZEngene::run() 2013-08-14 11:20:23 -05:00
richiesams
0fe3ae711a ZVISION: Add cursor and background image resets during location change 2013-08-14 11:20:23 -05:00
richiesams
6be19d850a ZVISION: Add background image wrapping
There is still a discontinuity when wrapping, but I am committing so that
others can look at the code
2013-08-14 11:20:22 -05:00
richiesams
8d57880c51 ZVISION: Clip coords outside the working window 2013-08-14 11:20:21 -05:00
richiesams
d8f9be74ff ZVISION: Add panning support 2013-08-14 11:20:21 -05:00
richiesams
1dcc56f7d2 ZVISION: Slight function name change to increase clarity 2013-08-14 11:20:20 -05:00
richiesams
39934b1da7 ZVISION: Set the initial game location (The opening video and menu) 2013-08-14 11:20:20 -05:00
richiesams
65853bfe2b ZVISION: Fix header #defines to match their file names 2013-08-14 11:20:19 -05:00