Commit Graph

57855 Commits

Author SHA1 Message Date
richiesams
f89120310c ZVISION: Test for file.open before trying to read 2013-08-09 14:52:21 -05:00
richiesams
0feac806b2 ZVISION: Add a ZGI folder directory to the SearchMan 2013-08-09 14:51:45 -05:00
richiesams
06e6cb5d1f ZVISION: Create method for cycling through all the cursors so as to identify them more easily 2013-08-09 14:51:18 -05:00
richiesams
f31f35bf7b ZVISION: Create console command to render a cursor image to the screen 2013-08-09 14:06:23 -05:00
richiesams
268282ab22 ZVISION: Create class for decoding .zcr cursor files 2013-08-09 14:05:31 -05:00
richiesams
b4b60e1f63 ZVISION: Call _system->updateScreen() every frame
Otherwise the cursor will not be updated
2013-08-09 12:16:43 -05:00
richiesams
f67e0042b0 ZVISION: Create console method to dump all cursor file names 2013-08-07 15:26:59 -05:00
richiesams
b98a8fbf12 ZVISION: Fix loop logic so videos can end 2013-08-05 19:20:36 -05:00
richiesams
931ad00a2d ZVISION: Add StateFlag handling to Puzzle checking 2013-08-05 19:19:34 -05:00
richiesams
387bfb2806 ZVISION: Fix typo in Puzzle checking 2013-08-05 19:19:34 -05:00
richiesams
435ed16e03 ZVISION: Set the puzzle global variable after a Puzzle is completed 2013-08-05 19:19:33 -05:00
richiesams
a31a97c520 ZVISION: Add debug statements for Puzzle checking 2013-08-05 19:19:24 -05:00
richiesams
30afe1a815 ZVISION: Add some comments concerning StateFlag::DO_ME_NOW 2013-08-05 19:08:44 -05:00
richiesams
946f98b34d ZVISION: Fix frame delay calculation being reversed. Also convert to int to ensure proper 0 clamping 2013-08-05 19:07:55 -05:00
richiesams
6598bb20fd ZVISION: Create image auto screen centering during blitting 2013-08-05 19:06:23 -05:00
richiesams
1cff0fb0d6 ZVISION: Fix memory free mismatch caused by MemoryReadStream using free() 2013-08-05 12:52:10 -05:00
richiesams
9bea3cb1c2 ZVISION: Add memory cleanup for _currentBackground 2013-08-05 12:51:07 -05:00
richiesams
f2823933b4 ZVISION: Remove extraneous include 2013-08-05 11:56:51 -05:00
richiesams
4806a3726b ZVISION: Add default case statements for event handling in videos 2013-08-05 11:56:32 -05:00
richiesams
76d4fb569d ZVISION: Comment out usage of ActionUnloadAnimation until it is implemented 2013-08-05 11:55:52 -05:00
richiesams
6564dc0444 ZVISION: Rename inner variable to prevent variable shadowing 2013-08-05 11:55:20 -05:00
richiesams
1b05d2fd7d ZVISION: Add linking for clock.o 2013-08-05 11:54:43 -05:00
richiesams
623b2625ff ZVISION: Properly end the AD table 2013-08-05 11:53:58 -05:00
richiesams
9036b8d3d2 ZVISION: Create ZVisionGameId entry None
This is used to end the AD table
2013-08-05 11:53:57 -05:00
richiesams
9147636003 ZVISION: Allow _deltaTime to go negative so it can be clamped to zero properly 2013-08-05 11:51:16 -05:00
richiesams
3723a0bad3 ZVISION: sscanf to a uint first instead of directly to a bool 2013-08-05 11:50:39 -05:00
richiesams
9dec0adcdc ZVISION: Conform to gcc template spacing requirements 2013-08-05 11:49:47 -05:00
richiesams
3f5cf50049 ZVISION: Use videoDecoder.getTimeToNextFrame() to calculate the frame delay 2013-08-05 10:27:00 -05:00
richiesams
cefb0253ae ZVISION: Change _pausedTime to be a reference to when time was paused, instead of accumulation of time 2013-08-05 10:26:23 -05:00
richiesams
65b5a2797b ZVISION: Fix index out of range error 2013-08-05 00:18:01 -05:00
richiesams
6515e2d31b ZVISION: Add ActionMusic 2013-08-05 00:14:20 -05:00
richiesams
20c8920929 ZVISION: Pass the scr fileName as a const reference 2013-08-05 00:05:26 -05:00
richiesams
4b0015b8e9 ZVISION: Check if a key exists before returning _globalState value.
operator[] creates a key value pair if it doesn't exist. So blindly returning a value without checking if the
key exists could result in undefined behavior, depening on what the value is initialized to in its constructor
2013-08-05 00:05:25 -05:00
richiesams
1d694dcb81 ZVISION: Add support for engine pausing from higher up (GMM, phone call, etc.) 2013-08-05 00:05:25 -05:00
richiesams
ec7036469c ZVISION: Make _clock a member variable instead of a pointer to the heap 2013-08-05 00:05:14 -05:00
richiesams
c4dc3989a7 ZVISION: Make the return from makeRawZorkStream more specific 2013-08-04 23:53:40 -05:00
richiesams
7b9858d6b4 ZVISION: Make video code blocking.
The script system requires that all ResultAction::execute() block until they finish. The video system *was* 'asyncronous'
in that you would just start a video and then run() would finish processing it. This code forces the video to complely finish
before playVideo returns. The Clock object is used to keep track of deltaTime while the video is playing.
2013-08-04 23:52:31 -05:00
richiesams
a86a0832e0 ZVISION: Create console method for dumping a file by name 2013-08-04 23:52:21 -05:00
richiesams
0a8f57721b ZVISION: Create Clock class to handle deltaTime while pausing and unpausing the game 2013-08-04 23:01:42 -05:00
richiesams
c828074df9 ZVISION: Remove extraneous comments 2013-08-04 13:33:12 -05:00
richiesams
3fd5a8ab5a ZVISION: Offset the RenderTable index by the normalized coords, not the subRect coords 2013-08-04 13:33:11 -05:00
richiesams
d89a55d3de ZVISION: Create class definitions for mutliple ResultAction children 2013-08-04 13:33:11 -05:00
richiesams
32b3363acd ZVISION: Add ActionSetScreen 2013-08-04 13:33:10 -05:00
richiesams
8bbc260b86 ZVISION: Create RenderManager method to set the current background image 2013-08-04 13:33:10 -05:00
richiesams
11118262e4 ZVISION: Add logic to check _referenceTable Puzzles every time a globalState is changed 2013-08-04 13:33:09 -05:00
richiesams
9e996c4fec ZVISION: Convert _activeNodes and _activeControls to Lists of SharedPtr 2013-08-04 13:33:08 -05:00
richiesams
47f10fe784 ZVISION: Overload renderImageToScreen to handle fileNames and ReadStreams 2013-08-04 13:33:08 -05:00
richiesams
ebe83ed390 ZVISION: Make panorama and tilt control generate the RenderTable after setting all the settings 2013-08-04 13:33:07 -05:00
richiesams
5ef19407b4 ZVISION: Fix typo in panarama and tilt control parsing 2013-08-04 13:33:07 -05:00
richiesams
8d5e92b935 ZVISION: Add console cmd for changing location 2013-08-04 13:33:06 -05:00