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
richiesams
85c67e5e2f
ZVISION: Implement ZVISION::getCursorManager()
2013-08-14 11:20:19 -05:00
richiesams
54f16f2539
ZVISION: Create the concept of a working window
...
The working window is a Rect centered inside the actual window edges. All in-game
coordinates are in the working window coordinate system. Also, all images in-game
are clipped to the edges of the working window.
2013-08-14 11:20:04 -05:00
richiesams
003b30c77b
ZVISION: Create methods for setting left, right, up, down cursors
2013-08-14 10:18:41 -05:00
richiesams
4c1e8b3f45
ZVISION: Allow CursorManager::revertToIdle to take _cursorIsPushed into account
2013-08-14 10:18:17 -05:00
richiesams
c020c6bf53
ZVISION: Add check to CursorMan::changeCursor to prevent extraneous cursor changes
2013-08-14 10:17:24 -05:00
richiesams
878fde365e
ZVISION: Fix alignment formatting
2013-08-14 10:16:42 -05:00
richiesams
b9b8207a14
ZVISION: Dispose of .zfs file streams after processing them
2013-08-11 16:44:52 -05:00
richiesams
7e93b6407a
ZVISION: Fix frame scaling for 2bpp
2013-08-11 16:44:13 -05:00
richiesams
d8e45fc438
ZVISION: Only allocate memory for the scaled buffer if we're actually going to scale the video
2013-08-11 16:42:40 -05:00
richiesams
e3f352cb0c
ZVISION: Delete the scaledVideoFrameBuffer after we're done with it
2013-08-11 16:40:32 -05:00
richiesams
5ef23e6f8d
ZVISION: Restart the Clock after the video finishes
2013-08-11 16:39:56 -05:00
richiesams
19a2a59c3c
ZVISION: Fix unsigned/signed mismatch
2013-08-11 16:39:21 -05:00
richiesams
a49b77cd79
ZVISION: Fix memory leak
2013-08-11 16:38:10 -05:00