Filippos Karapetis
36c851d0e4
ZVISION: Fix frame rate for RLF videos and remove hack in AnimationNode
...
_frameTime refers to msec, not ticks
2014-12-25 16:22:36 +02:00
Filippos Karapetis
5535cb02fc
ZVISION: Resolve some TODOs
2014-12-25 15:14:59 +02:00
Filippos Karapetis
319323c668
ZVISION: Document some of the ActionRegion effects
2014-12-25 15:09:46 +02:00
Filippos Karapetis
fa2d8d927b
ZVISION: Plug more memory leaks
2014-12-24 23:27:03 +02:00
Filippos Karapetis
75d78c71cc
ZVISION: Plug another memory leak. Some cleanup
2014-12-24 23:18:01 +02:00
Filippos Karapetis
5f8418394b
ZVISION: Set all the internal graphics operations to use RGB555 (2/2)
...
This is the second part of the changes to make the engine use RGB555
internally again. This is done to simplify the rendering pipeline -
the engine will use RGB555 internally, but will output to RGB565.
The overall changes have been broken into two commits, with this
commit finishing all the changes.
This is needed, as the game uses RGB555 graphics internally, but
its AVI animations (full screen and in-game) use RGB565
2014-12-24 22:56:56 +02:00
Filippos Karapetis
e8e21fabe4
ZVISION: Set all the internal graphics operations to use RGB555 (1/2)
...
This is the first part of the changes to make the engine use RGB555
internally again. This is done to simplify the rendering pipeline -
the engine will use RGB555 internally, but will output to RGB565.
The overall changes have been broken into two commits, thus this
first commit will break all the game colors
2014-12-24 22:56:55 +02:00
Filippos Karapetis
84341a889c
ZVISION: Let the cursor manager do pixel format conversion for cursors
2014-12-24 22:56:55 +02:00
Filippos Karapetis
1bc9b13357
ZVISION: Introduce pixel formats for resources (555) and screen (565)
2014-12-24 22:56:55 +02:00
Filippos Karapetis
de2c9ed5bf
ZVISION: Disable unused code
2014-12-24 22:56:54 +02:00
Filippos Karapetis
16e208318c
ZVISION: Plug a memory leak
2014-12-24 22:56:54 +02:00
Filippos Karapetis
702adaf9f8
ZVISION: Remove duplicate code
2014-12-24 14:04:56 +02:00
Filippos Karapetis
c93776e1e0
ZVISION: Remove dead code
2014-12-24 13:55:49 +02:00
Filippos Karapetis
9948d3ca16
ZVISION: Add a hack to set the correct frame delay for RLF videos
...
Also, use Common::Rational to avoid using floating point math
2014-12-24 06:13:49 +02:00
Filippos Karapetis
6afeec1295
ZVISION: Handle animation rewinding outside the RLF encoder
2014-12-23 21:55:42 +02:00
Filippos Karapetis
6edc16b686
ZVISION: Spacing
2014-12-23 21:54:53 +02:00
Filippos Karapetis
78ba3e3246
ZVISION: Add error checking when loading in-game animations and videos
2014-12-23 21:46:20 +02:00
Filippos Karapetis
e8cc098cd4
ZVISION: Limit the engine delay, even when a custom frame rate is set
2014-12-23 11:54:39 +02:00
Filippos Karapetis
490382098e
ZVISION: Disable more unused code
2014-12-23 11:06:39 +02:00
Filippos Karapetis
9f1fd0dbff
ZVISION: Disable unused code
2014-12-23 11:03:57 +02:00
Adrian Astley
40bd4c485f
ZVISION: Clamp the rotation velocity to never be zero
...
Before, if we set the in-game preferences to have very low rotation speed,
the velocity ends up always being 0 - 0.99
Hence, when we convert back to an int, everything gets truncated to zero.
Therefore, we clamp, in order to ensure the user can always move, no matter
which setting they use.
2014-12-23 00:39:25 -06:00
Adrian Astley
6548300a41
ZVISION: Use Common::Rational to simplify fixed point math
2014-12-23 00:39:20 -06:00
Adrian Astley
11cb47e897
ZVISION: Remove unnecessary math
2014-12-23 00:39:15 -06:00
Filippos Karapetis
99073f9b57
ZVISION: Fix some buffer overruns with the usage of sscanf()
2014-12-23 02:20:17 +02:00
Filippos Karapetis
7aeeeabba9
ZVISION: Add a comment about the special 0xCCCC character
2014-12-23 01:57:37 +02:00
Filippos Karapetis
15154641ac
ZVISION: Move all of the text related code together
2014-12-23 01:53:40 +02:00
Filippos Karapetis
6a53c7cac1
ZVISION: Ignore the special 0xCCCC character in subtitles
...
This seems to be used as a newline character
2014-12-23 01:45:44 +02:00
Filippos Karapetis
eb4645cda8
ZVISION: Spacing
2014-12-23 00:10:12 +02:00
Filippos Karapetis
9bc0686e60
ZVISION: Remove leftover warning
2014-12-23 00:09:18 +02:00
Filippos Karapetis
fb924089fc
ZVISION: Avoid using color masks for in-game animations
...
This fixes the transparency for some in-game animations. Since colors
can be truncated with color masks, and since accurate colors are
required for transparency, color masks can't be used. This fixes the
transparency of the in-game item examination interface in ZGI
2014-12-23 00:07:45 +02:00
Filippos Karapetis
3f36cc94e4
ZVISION: Limit the default engine delay for all animations
...
This fixes the lag between frames for all in-game animations
with a default frame delay
2014-12-23 00:07:45 +02:00
Filippos Karapetis
4e60fa705f
ZVISION: Fix regression from commit 3806aa4418
2014-12-23 00:07:44 +02:00
Filippos Karapetis
58f7c12fa9
ZVISION: Remove dead code
2014-12-23 00:07:44 +02:00
Filippos Karapetis
b51852c641
ZVISION: Error out when the game string file isn't found
2014-12-22 02:58:18 +02:00
Filippos Karapetis
f364756bcf
ZVISION: Add support for GNU Freefont fonts. Also, cleanup font loading
...
The Freefont fonts can just be dropped into the extras ScummVM folder,
to get the game working under non-Windows systems
2014-12-22 02:52:55 +02:00
Filippos Karapetis
c2d83d287f
ZVISION: Allow dumping any file type via the new "dumpfiles" command
2014-12-22 02:50:34 +02:00
Filippos Karapetis
85644b8879
ZVISION: Prefix some class member variables with an underscore
2014-12-22 00:54:08 +02:00
Filippos Karapetis
b0e6c30ee2
ZVISION: Fix Venus key code handling in commit dfae161
2014-12-22 00:45:34 +02:00
Filippos Karapetis
41dbbe346c
ZVISION: Also allow the movement when the cursor is within screen edges
...
This matches the behavior of the original in Zork: Nemesis. ZGI already
fills the screen horizontally
2014-12-22 00:30:26 +02:00
Filippos Karapetis
dfae161386
ZVISION: Implement the Venus hint system in Zork: Nemesis
2014-12-22 00:30:26 +02:00
Filippos Karapetis
e5ecd500cf
ZVISION: Document some controls that are only used in Zork: Nemesis
2014-12-21 23:33:48 +02:00
Filippos Karapetis
965dafe31b
ZVISION: Implement the "dumpallscripts" console command again
2014-12-21 23:33:01 +02:00
Filippos Karapetis
0f590561bd
ZVISION: Simplify check
...
Thanks to DrMcCoy for spotting this
2014-12-20 18:06:26 +02:00
Filippos Karapetis
b41b3e1a89
ZVISION: Fix code formatting
2014-12-20 18:06:26 +02:00
Adrian Astley
808a2045b4
ZVISION: Fix code mis-alignment created from variable rename
2014-12-19 11:20:01 -06:00
Adrian Astley
acb172251a
ZVISION: Large scale variable, function, and class renaming to improve code clarity
2014-12-19 11:14:10 -06:00
Filippos Karapetis
2170c9bc39
ZVISION: the type in ActionInventory is used as a signed byte now
2014-12-19 13:38:22 +02:00
Marisa-Chan
5fb33ee5e7
ZVISION: Fix unchecked return value (CID 1257098)
2014-12-19 17:19:12 +06:00
Marisa-Chan
79f75059de
ZVISION: Fix copy into fixed size buffer (CID 1257096)
2014-12-19 17:18:46 +06:00
Marisa-Chan
fafbd425dc
ZVISION: Fix copy into fixed size buffer (CID 1257095)
2014-12-19 17:18:11 +06:00