Commit Graph

31569 Commits

Author SHA1 Message Date
RichieSams
4c4f08a99e ZVISION: Convert cmdRenderText to use new function syntax 2013-09-16 00:05:24 -05:00
RichieSams
1f9f392279 ZVISION: Enable auto saving 2013-09-16 00:04:34 -05:00
RichieSams
2187245012 ZVISION: Remove all AlphaEntries on room change 2013-09-16 00:04:23 -05:00
RichieSams
3a6cb86489 ZVISION: Add methods to clear and remove AlphaEntries 2013-09-16 00:04:03 -05:00
RichieSams
cdd793ed22 ZVISION: Check is a dirty rect is empty before extending it
So extends dont extend from 0,0
2013-09-16 00:03:35 -05:00
RichieSams
7ce6823158 ZVISION: Convert _alphaDataEntries to a HashMap
So entries can be easily identified and removed if necessary
2013-09-16 00:02:57 -05:00
RichieSams
41afb2dd90 ZVISION: Move clearing dirty rects to after they are blitted instead the beginning of each frame 2013-09-16 00:00:52 -05:00
RichieSams
2b2f85063a ZVISION: Clean up StringManager and SaveManager after use 2013-09-15 16:27:19 -05:00
RichieSams
d82ff7aea8 ZVISION: Create Console method to render text 2013-09-15 16:26:49 -05:00
RichieSams
c312b147fa ZVISION: Create an instance of StringManager 2013-09-15 15:01:01 -05:00
RichieSams
82ea7ca0e7 ZVISION: Create the StringManager class
This parses the XXXXX.STR files into styled fonts and phrases. The styles
and the phrases are used in the game for messages to the user and for
general purpose fonts.
2013-09-15 15:01:00 -05:00
RichieSams
05b3b170d4 ZVISION: Add more documentation for clearWorkingWindowTo555Color() 2013-09-15 15:01:00 -05:00
RichieSams
dc8c7ca2c0 ZVISION: Add RenderManager text support 2013-09-15 15:00:59 -05:00
RichieSams
c643718dae ZVISION: Clean up the TruetypeFont class and add alpha support
Remove caching. We don't render font enough to warrant it. Use
Graphics::TextAlign instead of rolling our own. Remove methods
we don't use.
2013-09-15 15:00:59 -05:00
RichieSams
f6c36aa14c ZVISION: Create an instance of the SaveManager 2013-09-15 15:00:58 -05:00
RichieSams
a2d19c7a6e ZVISION: Actually store the ZVision pointer 2013-09-15 15:00:58 -05:00
RichieSams
2900aaa90a ZVISION: Add a reminder for how inventory is accessed 2013-09-15 15:00:57 -05:00
RichieSams
5cd1d2d1c2 ZVISION: Ensure getControl always returns something 2013-09-15 15:00:57 -05:00
RichieSams
6ee253a4d8 ZVISION: Add focus support for the ScriptManager 2013-09-15 15:00:56 -05:00
RichieSams
0d78208562 ZVISION: Add focus support for Controls 2013-09-15 15:00:56 -05:00
RichieSams
259d11762d ZVISION: Add support for ActionRandom and ActionTimer
They were already implemented, they just weren't being used
2013-09-15 15:00:55 -05:00
RichieSams
36a0b666b3 ZVISION: Add better alpha support for blitting
Instead of blitting directly to the working window, we cache the alpha pixels,
then blit directly to the backbuffer instead of to the working window. This
ensures that if the alpha'd content changes, the old changes won't appear
in any new frames
2013-09-15 15:00:54 -05:00
RichieSams
3986f333ef ZVISION: Move dirty rect extension to the correct function
Source control mishap
2013-09-15 15:00:54 -05:00
RichieSams
466eba1e9f ZVISION: Fix signed/unsigned mismatch 2013-09-15 15:00:53 -05:00
RichieSams
8ba295d710 ZVISION: Add key press support to the main event loop 2013-09-15 15:00:42 -05:00
RichieSams
0eeeeded92 ZVISION: Add ScriptManager support for key press events 2013-09-15 15:00:41 -05:00
RichieSams
b50afa2b15 ZVISION: Remove unused function 2013-09-15 15:00:40 -05:00
RichieSams
752807b471 ZVISION: Add method to copy a portion of the working window to a surface 2013-09-15 15:00:32 -05:00
RichieSams
d3b6caab2f ZVISION: Remove unused key functions 2013-09-15 14:07:02 -05:00
RichieSams
c20a9ac6ae ZVISION: Add key press support to Controls 2013-09-15 14:06:11 -05:00
RichieSams
d643ca1571 ZVISION: Remove unused Console functions 2013-09-15 14:04:58 -05:00
RichieSams
0874212fa7 ZVISION: Cleanup _currentFrameBuffer during descruction 2013-09-09 11:16:46 -05:00
RichieSams
4a4330cec7 ZVISION: Cleanup the cached frame before loading the next one 2013-09-09 11:16:45 -05:00
RichieSams
f5f053d335 ZVISION: Use default dpi for font 2013-09-09 11:16:45 -05:00
RichieSams
072b852cdc ZVISION: Remove extraneous methods from TrueTypeFont 2013-09-09 11:16:44 -05:00
RichieSams
edd1a117ae ZVISION: Cache animation frames so they can be re-rendered when the background moves 2013-09-09 11:16:44 -05:00
RichieSams
9e563f0113 ZVISION: Add comments to AnimationControl::process() 2013-09-09 11:16:43 -05:00
RichieSams
077f0b2491 ZVISION: Update LeverControl to use the new RlfAnimation outputs 2013-09-09 11:16:43 -05:00
RichieSams
8354f23628 ZVISION: Add a debug assert to make sure we're not trying to render ouside the working window 2013-09-09 11:16:42 -05:00
RichieSams
31cdf227d2 ZVISION: Clip animations to the working window 2013-09-09 11:16:42 -05:00
RichieSams
3b7189993c ZVISION: Let Rlf animations output Surfaces instead of uint16 arrays 2013-09-09 11:16:41 -05:00
RichieSams
f9b9bf5b9b ZVISION: Create method for transposing a surface 2013-09-09 11:16:40 -05:00
RichieSams
a415964c6d ZVISION: Create method for clipping a rect to the working window 2013-09-09 11:16:40 -05:00
RichieSams
511cb7447e ZVISION: Create method for converting image space to working window space 2013-09-09 11:16:39 -05:00
RichieSams
c7358ed4f7 ZVISION: Create class for rendering TrueType fonts 2013-09-09 11:16:39 -05:00
RichieSams
af94158723 ZVISION: Save a thumbnail of the RenderManager backbuffer instead of the actual screen
This prevents things like the GMM being in the thumbnail
2013-09-09 11:16:38 -05:00
RichieSams
87e78e4c33 ZVISION: Create method for getting the RenderManager backbuffer 2013-09-09 11:16:38 -05:00
RichieSams
106522661c ZVISION: Create method for rendering to the working window with binary alpha 2013-09-09 11:16:37 -05:00
RichieSams
6e806e51ad ZVISION: Stop avi playback once the animation is finished 2013-09-09 11:16:37 -05:00
RichieSams
b1587f8ba0 ZVISION: Implement ActionPlayPreloadAnimation 2013-09-09 11:16:36 -05:00