richiesams
ec7036469c
ZVISION: Make _clock a member variable instead of a pointer to the heap
2013-08-05 00:05:14 -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
f1135292d0
ZVISION: Optimize integer type usages
...
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-04 13:32:55 -05:00
Filippos Karapetis
89d8496dba
ZVISION: Add detection entry and directories for ZGI
2013-08-04 13:32:55 -05:00
richiesams
364e9d659c
ZVISION: Force all files to be registered with SearchMan as 'flat'
...
There are 10 file name conflicts as a result, but the conflicts are byte identical.
2013-08-04 13:32:38 -05:00
richiesams
ed44907309
ZVISION: Move rendering logic from ZVision class to RenderManager class
2013-08-04 13:32:34 -05:00
richiesams
9e6b2dfc12
ZVISION: Create member function for creating a panorama look up table
2013-08-04 13:32:33 -05:00
richiesams
4bd95987d2
ZVISION: Convert old code to use RenderManager
2013-08-04 13:32:31 -05:00
richiesams
a30f49b556
ZVISION: Add a game type enum to detection
...
This is needed for sound file differentiation
2013-08-04 13:32:19 -05:00
richiesams
8d2bef2936
ZVISION: Create console command for loading sounds
2013-08-04 13:32:16 -05:00
richiesams
ae84e9508e
ZVISION: Add 2x scaling to videos
2013-08-04 13:32:15 -05:00
richiesams
24dc3e1793
ZVISION: Create ScriptManager state handling logic
2013-08-04 13:32:14 -05:00
richiesams
76b2aa33ca
ZVISION: Create/refactor methods for playing video.
...
The pixel format for videos is not the same as for the rest of the game.
(Game: RGB 555, Video: RGB 565)
2013-08-04 13:32:08 -05:00
richiesams
afbcca2187
ZVISION: Move engine width, height, and pixelFormat to const member variables
2013-08-04 13:32:08 -05:00
richiesams
540dde67db
ZVISION: Cleanup dump method from run()
2013-08-04 13:32:02 -05:00
richiesams
4209236994
ZVISION: Create debug console and apply console logic to main loop
2013-08-04 13:32:01 -05:00
richiesams
ebb546c468
ZVISION: Create utility method to dump result action signatures from various .scr files
2013-08-04 13:32:00 -05:00
richiesams
16cc970c9e
ZVISION: Normalize remaining CRLF to LF for the remote
2013-08-04 13:31:58 -05:00
richiesams
187c119e93
ZVISION: Create ResultAction 's for Add and Random.
...
Create class templates for PlayAnimation, PreloadAnimation, and Attenuate
2013-08-04 13:31:57 -05:00
richiesams
1710468121
ZVISION: Fix includes to use new underscore names
2013-08-04 13:31:56 -05:00
richiesams
8d9f90bf12
ZVISION: Create ScriptManager accessor for ZVision
...
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-04 13:31:54 -05:00
richiesams
ac96b943fa
ZVISION: Create an instance of ScriptManager inside ZVision
2013-08-04 13:31:51 -05:00
richiesams
3283176f6d
ZVISION: Move initialization code from run() and into its own method
2013-08-04 13:31:48 -05:00
richiesams
160d6256f2
ZVISION: Create skeleton engine and move code away from Engine::Run
...
The goal is to have Engine::Run as clean as possible. Aka mostly method
calls.
2013-08-04 13:31:43 -05:00
richiesams
179f5de498
ZVISION: Add support for ZFS archive files
...
ZfsArchive implements Common::Archive.
2013-08-04 13:31:42 -05:00
richiesams
8ae85892d6
ZVISION: Alter video handling to follow the new video audio track wrapper.
...
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-04 13:31:41 -05:00
richiesams
0303850bf7
ZVISION: Allow detection to go off inner directory
...
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-04 13:30:32 -05:00
richiesams
d0b341e6ca
ZVISION: Create zvision bare structure
...
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.
2013-08-04 13:29:44 -05:00