Commit Graph

57871 Commits

Author SHA1 Message Date
richiesams
f6033afa02 ZVISION: Change CursorManager to go through CursorMan instead going directly to OSystem
This had to be done so the cursor didn't disappear after the user went to GMM or debug console
2013-08-11 13:42:00 -05:00
richiesams
bd4e6e0c18 ZVISION: Remove Graphics::Cursor inheritance and remove extraneous methods 2013-08-11 13:40:23 -05:00
richiesams
c6b82e7753 ZVISION: Fix parsed arguments in ActionStreamVideo 2013-08-11 13:39:52 -05:00
richiesams
17a806a01b ZVISION: Add parsing skip for action::copy_file. It is not used.
I don't really know what it is used for, but Marisa Chan completely ignores it.
2013-08-10 17:38:33 -05:00
richiesams
309034c153 ZVISION: Stop checking puzzles if ResultAction::execute() returns false 2013-08-10 17:36:57 -05:00
richiesams
327d4a1ccf ZVISION: Implement ActionChangeLocation::execute() 2013-08-10 17:32:57 -05:00
richiesams
2565f96c55 ZVISION: Make ScriptManager::changeLocation delay the actual change until the end of the frame
This prevents memory corruption since changeLocation could be called in the middle of
a Puzzle list iteration and changeLocation clears all the Puzzle lists.
2013-08-10 17:31:57 -05:00
richiesams
dd11566ffd ZVISION: Move the ScriptManager update functions to a single update() function.
Then make the individual update functions private
2013-08-10 17:28:41 -05:00
richiesams
5bba509db8 ZVISION: Create a global puzzle list and parse universe.scr into it during ScriptManager::initialize() 2013-08-10 17:25:38 -05:00
richiesams
2176aa55fc ZVISION: Implement ActionStreamVideo 2013-08-10 17:18:29 -05:00
richiesams
694a6099a6 ZVISION: Implement ActionQuit 2013-08-10 17:14:15 -05:00
richiesams
416cde1358 ZVISION: Change video code to support arbitrary scaling and whether the video can be skipped 2013-08-10 17:14:00 -05:00
richiesams
86b3dfa221 ZVISION: Make ZFS Archive member name indexing case-insensitive 2013-08-10 17:07:56 -05:00
richiesams
9740087441 ZVISION: Add documentation for the ResultAction base class 2013-08-10 17:07:27 -05:00
richiesams
ed4977848b ZVISION: Fix invalid argument for String::format() 2013-08-09 18:42:27 -05:00
richiesams
1b277d34ac ZVISION: Add class to manage cursors 2013-08-09 18:33:15 -05:00
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