Commit graph

30 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley
6ed8dea829 ZVISION: Disable the keymap when InputControl is focused 2020-03-15 17:35:09 +01:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Max Horn
856475067a MISC: Remove some unused private member variables 2015-07-19 17:13:18 +02:00
RichieSams
a851fa8e1a ZVISION: Refactor text rendering code in order to fix word wrapping
and clarify the logic. Fixes bug #6801
2015-02-11 15:13:19 -06:00
Torbjörn Andersson
8725f2cff2 ZVISION: Limit input text to the width of the input control
This is to prevent the player from entering ridiculously long
savegame descriptions.
2015-02-08 13:56:01 +01:00
Torbjörn Andersson
b7b4e9cc58 ZVISION: Draw transparent text in original save dialog
Before this change, text was drawn in black boxes in Zork Nemesis,
so while this does make it look better (and more like the original)
this may actually make the text slightly harder to read. The
original dialogs allowed only upper-case letters, but I think that
it's better to leave that to the player.
2015-02-08 10:13:18 +01:00
Matthew Hoops
6d55998b40 ZVISION: Make the rest of the controls properly use VideoDecoder timing
The hacky use of getDuration() to retrieve the framerate() is gone

Thanks to md5 for testing (and for filling in a few gaps since I was coding in the blind ;))
2014-12-28 21:27:56 -05:00
Filippos Karapetis
e8820d26e7 ZVISION: Fix a warning 2014-12-26 12:42:01 +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
99073f9b57 ZVISION: Fix some buffer overruns with the usage of sscanf() 2014-12-23 02:20:17 +02:00
Marisa-Chan
d96834020c ZVISION: Fix uninitialized scalar field (CID 1109669) 2014-12-19 15:31:43 +06:00
Filippos Karapetis
77705752ef ZVISION: Move trimCommentsAndWhiteSpace() into the script manager
This allows us to remove the last remnants of utility.*
2014-12-16 01:58:57 +02:00
Filippos Karapetis
7630e3204e ZVISION: Move all the remaining utility classes into the core 2014-12-16 01:58:56 +02:00
Filippos Karapetis
4b2b5e686b ZVISION: Move the mouse cursor handling code into the graphics code 2014-12-16 01:58:55 +02:00
Filippos Karapetis
7f61a09478 ZVISION: Make the RLF decoder a subclass of the common video decoder
This way, the redundant MetaAnimation class can now be removed
2014-12-16 01:58:55 +02:00
Filippos Karapetis
2a4a6df5f2 ZVISION: Remove superfluous spacing and reorder some includes 2014-12-03 01:12:35 +02:00
Marisa-Chan
5b352da304 ZVISION: More CamelCase and a bit of comments cleanup 2014-11-20 14:48:24 +06:00
Marisa-Chan
d5f7a1dc03 ZVISION: Implement forgotten setVenus for controls 2014-11-20 14:02:08 +06:00
Marisa-Chan
e970d121ff ZVISION: Lead code of all controls to the same style 2014-11-12 16:05:48 +06:00
Marisa-Chan
550c4dbc35 ZVISION: Implement full code for input control 2014-08-04 16:35:54 +07:00
Marisa-Chan
5a870100bd ZVISION: Bool results for keyUp and keyDown events for controls. 2014-07-12 21:52:56 +00:00
Marisa-Chan
57857a1d76 ZVISION: Controls now can return type of control. 2014-07-12 21:35:50 +00:00
Marisa-Chan
23c1b50861 ZVISION: Reorgonize source files into directories. 2014-07-02 19:50:55 +00:00
Marisa-Chan
ace0e5e88f ZVISION: Fix compilation errors with latest scummvm 2014-06-14 15:18:24 +07:00
Marisa-Chan
45589950c0 Merge remote-tracking branch 'upstream/master' into zvision
Conflicts:
	engines/zvision/animation/rlf_animation.cpp
	engines/zvision/animation_control.h
	engines/zvision/core/console.cpp
	engines/zvision/core/events.cpp
	engines/zvision/cursors/cursor.cpp
	engines/zvision/cursors/cursor_manager.cpp
	engines/zvision/cursors/cursor_manager.h
	engines/zvision/fonts/truetype_font.cpp
	engines/zvision/graphics/render_manager.cpp
	engines/zvision/graphics/render_manager.h
	engines/zvision/inventory/inventory_manager.h
	engines/zvision/inventory_manager.h
	engines/zvision/meta_animation.h
	engines/zvision/module.mk
	engines/zvision/scripting/actions.cpp
	engines/zvision/scripting/control.h
	engines/zvision/scripting/controls/animation_control.cpp
	engines/zvision/scripting/controls/animation_control.h
	engines/zvision/scripting/controls/input_control.cpp
	engines/zvision/scripting/controls/lever_control.cpp
	engines/zvision/scripting/controls/timer_node.cpp
	engines/zvision/scripting/controls/timer_node.h
	engines/zvision/scripting/puzzle.h
	engines/zvision/scripting/scr_file_handling.cpp
	engines/zvision/scripting/script_manager.cpp
	engines/zvision/scripting/script_manager.h
	engines/zvision/sidefx.cpp
	engines/zvision/sound/zork_raw.cpp
	engines/zvision/sound/zork_raw.h
	engines/zvision/video/video.cpp
	engines/zvision/video/zork_avi_decoder.h
	engines/zvision/zvision.cpp
	engines/zvision/zvision.h
2014-06-13 21:43:04 +07:00
Johannes Schickel
aa4c5d46f7 ZVISION: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Strangerke
0b63ea185d ZVISION: Janitorial - Remove trailing spaces 2014-02-16 18:45:17 +01:00
RichieSams
e50797d6b1 ZVISION: Update includes to use the new file structure 2013-11-01 02:52:57 -05:00
RichieSams
5842c5098f ZVISION: Create a folder structure for ZVision source files
I personally used filters within my IDE, but since others are now joining the project,
it was brought to my attention that some better organization would be nice.
2013-11-01 02:52:57 -05:00
Renamed from engines/zvision/input_control.cpp (Browse further)