Commit Graph
151 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 a9bfe35216 GUI: U32: More issue fixes and general improvements
- Use the fake constructor for message dialog less often
- solve errors regarding comparision between string and u32string in midi
- solve errors in testbed/speech related to ttsMan->say
- fix unsigned comparision warning in tab.cpp
- fix issue with static strings and translations in sdl-graphics
2020-08-30 14:43:41 +02:00
Cameron Cawley 6ed8dea829 ZVISION: Disable the keymap when InputControl is focused 2020-03-15 17:35:09 +01:00
Cameron Cawley 496edf905f ZVISION: Add keymapper support 2020-03-15 17:35:09 +01:00
Paul Gilbert 9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert 37c397f19b ZVISION: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert c44a028ae7 ZVISION: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Cameron Cawley 1953aa7064 ZVISION: Attempt to load fallback fonts from fonts.dat 2018-12-25 12:47:42 +01:00
Thierry Crozat e2935acfe4 ZVISION: Disable MPEG movies when liba52 is not enabled 2018-11-04 22:33:22 +01:00
Torbjörn Andersson 71910c2283 ZVISION: Set 800x600 mode for the DVD version of ZGI
This allows the backend to show the hi-res videos at full
resolution, rather than scaling them down.
2018-11-04 22:33:22 +01:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel bc82ff9216 ZVISION: Remove superflous default value registration for extra GUI options. 2015-12-28 00:14:11 +01:00
David Russo e323853598 ZVISION: Reorganize detection data
Migrated static detection data to detection_tables.h
and removed the need for detection.h includes. Also
edited game option descriptions.
2015-07-07 15:24:26 +01:00
Sven Hesse 3f66f28624 ZVISION: Remove trailing whitespace 2015-01-18 20:35:51 +01:00
Fedor b3c204e2ba ZVISION: made error messages more detailed 2015-01-17 19:24:21 +03:00
Filippos Karapetis 3fe7c645ed ZVISION: Fix detection of Windows fonts 2015-01-16 03:43:42 +02:00
Filippos Karapetis 1b829b95b4 ZVISION: Add support for Liberation Fonts
These look better than the GNU FreeType fonts, and are thus preferred
over them. Many thanks to eriktorbjorn for his work on the different
fonts available

Also, this commit cleans up the font style array, moving it back into
the CPP file
2015-01-13 03:08:35 +02:00
Filippos Karapetis 3f4c924c9e ZVISION: Check for all the required fonts before starting a game 2015-01-12 02:37:53 +02:00
Filippos Karapetis 899cf4813c ZVISION: Change screen resolution for the hires DVD videos to 800x600
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is
compiled in. The DVD videos are still disabled until AC3 audio support
is implemented.
The hires DVD videos are encoded a 720x480 resolution, with double the
frame rate of the lowres ones (29.97FPS up from 15FPS)
2015-01-10 21:32:15 +02:00
Filippos Karapetis a9b79544a1 ZVISION: Add support for an unmodified ZIX file for Zork: Nemesis
This helps in copying the game files straight off the CD
2015-01-07 23:49:13 +02:00
Filippos Karapetis 07ad10babe ZVISION: Handle sound patches (.src files) dynamically 2015-01-07 23:49:12 +02:00
Filippos Karapetis 4ffaf4df37 ZVISION: Add stubs for the hires VOB MPEG2 videos of ZGI DVD
VOB file handling is based on clone2727's work. The lowres videos are
played for now, until AC3 sound handling is implemented
2015-01-07 11:42:27 +02:00
Filippos Karapetis 2d0e9fc74a ZVISION: Move the screen initialization code into a separate function 2015-01-07 11:42:26 +02:00
RichieSams df60506955 ZVISION: Restore LF line ending that was accidentally changed in 1f5736a902 2014-12-30 01:51:22 -06:00
RichieSams 1f5736a902 ZVISION: Update function documentation to represent the changes to the internal pixel format
Aka: We keep everything as 555, and only convert to 565 before we send everything to the backend
2014-12-30 01:19:54 -06:00
Marisa-Chan 45280d035a ZVISION: Fix font error message condition 2014-12-30 01:32:43 +02:00
Willem Jan Palenstijn 58f328b9af ZVISION: Slightly clarify font error message 2014-12-27 22:23:05 +01:00
Filippos Karapetis 99fabffde0 ZVISION: Clean up settings and initialize the ones used by game scripts 2014-12-27 20:52:06 +02:00
Filippos Karapetis 1016838bd5 ZVISION: Add support for disabling animations while turning
Also, clean up and document game configuration options, and add a TODO
for QSound support
2014-12-27 16:34:27 +02:00
Filippos Karapetis e862172460 ZVISION: Add some advanced engine features, and document the engine 2014-12-27 14:29:57 +02:00
Filippos Karapetis ba40b3ea49 ZVISION: Clean up the game settings 2014-12-27 14:29:56 +02:00
Filippos Karapetis fd34456bb8 ZVISION: Delete the render manager after the script manager on quit
This is necessary, as the script manager may include references to the
render manager, such as side effects in Zork: Nemesis. Fixes a crash on
engine exit when the current scene contains such effects
2014-12-27 01:02:51 +02:00
Filippos Karapetis eb46e83796 ZVISION: Quit with an error message dialog if no font files are found 2014-12-27 00:00:07 +02:00
Filippos Karapetis f9595b11fc ZVISION: Add an FPS timer (accessible with F10, or the "FRAME" cheat) 2014-12-26 23:18:54 +02:00
Filippos Karapetis e5f0ee2271 ZVISION: Implement auto-saving 2014-12-26 18:22:18 +02:00
Filippos Karapetis eea1ee445f ZVISION: Move more graphics code out of the main engine code 2014-12-26 13:14:24 +02:00
Filippos Karapetis 5a72eea2bb ZVISION: Move some event/rendering code out of the main engine code 2014-12-26 12:41:36 +02:00
Filippos Karapetis 4258750f50 ZVISION: Rename _halveDelay to _doubleFPS, to match its config setting 2014-12-26 12:07:21 +02:00
Filippos Karapetis 4d0ebfaa22 ZVISION: Move the save manager together with the other file classes 2014-12-26 04:03:20 +02:00
Filippos Karapetis 6368a6ea91 ZVISION: Move the menu code together with the other scripting code 2014-12-25 22:00:55 +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 15154641ac ZVISION: Move all of the text related code together 2014-12-23 01:53:40 +02:00
Adrian Astley acb172251a ZVISION: Large scale variable, function, and class renaming to improve code clarity 2014-12-19 11:14:10 -06:00