aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/zvision.cpp
AgeCommit message (Collapse)Author
2013-08-16ZVISION: Move _cursorManager construction after the folder directories have ↵richiesams
been registered with SearchMan
2013-08-15ZVISION: Apply panorama/tilt warping after all images have been rendered to ↵richiesams
a backbuffer This makes wrapped warping much easier as well as allowing changeLocation offsets to work properly
2013-08-14ZVISION: Add _renderManager::update() to ZEngene::run()richiesams
2013-08-14ZVISION: Implement ZVISION::getCursorManager()richiesams
2013-08-14ZVISION: Create the concept of a working windowrichiesams
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-11ZVISION: Dispose of .zfs file streams after processing themrichiesams
2013-08-11ZVISION: Move SearchMan directory registration outside ZVision constructorrichiesams
The launcher can do some extra changes within SearchMan after engine constructor. This makes sure everything is set before registering more directories
2013-08-10ZVISION: Move the ScriptManager update functions to a single update() function.richiesams
Then make the individual update functions private
2013-08-09ZVISION: Add class to manage cursorsrichiesams
2013-08-09ZVISION: Add a ZGI folder directory to the SearchManrichiesams
2013-08-09ZVISION: Create method for cycling through all the cursors so as to identify ↵richiesams
them more easily
2013-08-09ZVISION: Call _system->updateScreen() every framerichiesams
Otherwise the cursor will not be updated
2013-08-05ZVISION: Fix frame delay calculation being reversed. Also convert to int to ↵richiesams
ensure proper 0 clamping
2013-08-05ZVISION: Remove extraneous includerichiesams
2013-08-05ZVISION: Add support for engine pausing from higher up (GMM, phone call, etc.)richiesams
2013-08-05ZVISION: Make _clock a member variable instead of a pointer to the heaprichiesams
2013-08-04ZVISION: Make video code blocking.richiesams
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-04ZVISION: Optimize integer type usagesrichiesams
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-04ZVISION: Add detection entry and directories for ZGIFilippos Karapetis
2013-08-04ZVISION: Force all files to be registered with SearchMan as 'flat'richiesams
There are 10 file name conflicts as a result, but the conflicts are byte identical.
2013-08-04ZVISION: Move rendering logic from ZVision class to RenderManager classrichiesams
2013-08-04ZVISION: Create member function for creating a panorama look up tablerichiesams
2013-08-04ZVISION: Convert old code to use RenderManagerrichiesams
2013-08-04ZVISION: Add a game type enum to detectionrichiesams
This is needed for sound file differentiation
2013-08-04ZVISION: Create console command for loading soundsrichiesams
2013-08-04ZVISION: Add 2x scaling to videosrichiesams
2013-08-04ZVISION: Create ScriptManager state handling logicrichiesams
2013-08-04ZVISION: Create/refactor methods for playing video.richiesams
The pixel format for videos is not the same as for the rest of the game. (Game: RGB 555, Video: RGB 565)
2013-08-04ZVISION: Move engine width, height, and pixelFormat to const member variablesrichiesams
2013-08-04ZVISION: Cleanup dump method from run()richiesams
2013-08-04ZVISION: Create debug console and apply console logic to main looprichiesams
2013-08-04ZVISION: Create utility method to dump result action signatures from various ↵richiesams
.scr files
2013-08-04ZVISION: Normalize remaining CRLF to LF for the remoterichiesams
2013-08-04ZVISION: Create ResultAction 's for Add and Random.richiesams
Create class templates for PlayAnimation, PreloadAnimation, and Attenuate
2013-08-04ZVISION: Fix includes to use new underscore namesrichiesams
2013-08-04ZVISION: Create ScriptManager accessor for ZVisionrichiesams
Having the ScriptManager as a member variable forced it to be const, which prevented any non cont methods to be used. Thus, ScriptManager is created on the heap and disposed after use.
2013-08-04ZVISION: Create an instance of ScriptManager inside ZVisionrichiesams
2013-08-04ZVISION: Move initialization code from run() and into its own methodrichiesams
2013-08-04ZVISION: Create skeleton engine and move code away from Engine::Runrichiesams
The goal is to have Engine::Run as clean as possible. Aka mostly method calls.
2013-08-04ZVISION: Add support for ZFS archive filesrichiesams
ZfsArchive implements Common::Archive.
2013-08-04ZVISION: Alter video handling to follow the new video audio track wrapper.richiesams
Commit 7a49802c01b0c39be4e86335689db8f3359fde68 created an audio track hook that allows video decoding to use a differnt audio track encoding method Also, re-normalize line endings
2013-08-04ZVISION: Allow detection to go off inner directoryrichiesams
Game detection needs to be off an actual resource, but all the resources are in subdirectories. This updates the code to search for the specific subdirectory.
2013-08-04ZVISION: Create zvision bare structurerichiesams
Add zvision base engine to engines/zvision as well as modify the necessary engine files (configure.engines, etc.) in order for it to be recognized.