Commit Graph
120 Commits
Author SHA1 Message Date
Eugene Sandulenko 4da6f1ec4d SWORD1: Simplify detection of Spanish demo
This was breaking all other demos and was introduced in
7a1ca2821a
2023-01-14 23:54:24 +01:00
Eugene Sandulenko 5c65be0719 SWORD1: Do not add duplicate directories to SearchMan 2023-01-14 21:14:21 +01:00
Eugene Sandulenko e0d0eca348 SWORD1: Remove redundant flags from the detection entries 2023-01-14 21:14:21 +01:00
Le Philousophe b2ecd531a6 SWORD1: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Cameron Cawley aaf82d7ca6 SWORD1: Switch to AdvancedMetaEngineDetection 2022-10-22 18:38:38 +02:00
trembyle b9e7b1dfcd COMMON: ENGINES: Correct Czech language ISO code
1. Correct constant in common files
2. Add the old code to obsolete language codes
3. Replace all occurences in engine code
2022-03-04 18:29:02 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Zvika Haramaty f204d3639a SWORD1: Add support for Hebrew translation 2021-08-17 00:12:18 +02:00
Eugene Sandulenko 49e8b52a7e SWORD1: Added detection and support for Spanish demo. Fixes #11397
This demo uses normal interpreter with less differences than
the English demo.
2020-09-01 19:22:27 +02:00
Eugene Sandulenko a619827ffa SWORD1: Improved detection for demos. Now Spanish demo is detected properly 2020-09-01 16:37:36 +02:00
Paul Gilbert 46a1f92ef6 SWORD1: Refactor to use Engine debugger 2020-02-16 13:07:19 +02: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
Thierry Crozat 6ff927bff7 SWORD1: Use booleans for _systemVars speech and subtitles flags
The were defined as uint8 and the code was inconsistent in the
way they were handled, for example setting them to 1 in some
places and to true in others. It was working but relying on implicit
conversions both ways between 1 and true.
2017-07-08 12:55:11 +01:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Thierry Crozat b783d75f83 SWORD1: Add missing update of screen parameters when loading game from GMM
This fixes bug #6728 (crash when loading game from GMM in bull's
head scene). I am not sure the call to Logic::Engine is necessary, but
that way the same sequence of calls is done when restoring a game
from the original GUI and when restoring from GMM.
2014-09-13 18:40:46 +01:00
Johannes Schickel f4724e7a46 SWORD1: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Eugene Sandulenko cf6771c5d5 SWORD1: Fix unitialized variables. CID 1002989 2013-10-30 09:14:06 +02:00
Thierry Crozat 32c3de61e1 SWORD1: Removed unused class variable 2013-05-14 21:51:25 +01:00
Torbjörn Andersson e8ad4df1fa SWORD1: Enable American ("Circle of Blood") panel
If the language is explicitly set to American English, use the
American version of the panel for the main control panel. In all
other aspects, American English will behave as British English,
so it shouldn't break anything.
2012-10-06 16:24:00 +02:00
Matthew Hoops df21e72fe2 SWORD1: Add support for PSX stream playback 2012-02-23 22:48:17 +01:00
Johannes Schickel 3a15c10241 SWORD1: Made some static data const. 2011-09-08 00:05:09 +02:00
Johannes Schickel 928cb5ab11 SWORD1: Made code conform a bit better to our formatting guidelines.
Most is automatically converted via astyle + some manual fixes, hopefully I
did not miss anything astyle messed up...
2011-09-07 23:54:34 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
dhewg 02956eaf0b SWORD1: Cleanup syncSoundSettings() 2011-03-19 16:49:15 +01:00
Max Horn 668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
David Turner cb734285a5 SWORD1: Added basic debugging console to engine
SWORD1 does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands.

svn-id: r54140
2010-11-08 12:22:58 +00:00
Johannes Schickel a5c28de26b SWORD1: Switch to the new play time counting of the Engine class.
svn-id: r53924
2010-10-29 16:53:46 +00:00
Eugene Sandulenko ba04f31ade SWORD1: Fix bug #3032772: SWORD1: Mute setting does not work
svn-id: r52827
2010-09-20 20:37:34 +00:00
Max Horn b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn 5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn 51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Johannes Schickel c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Torbjörn Andersson b21b200a95 Clarify things a bit by using the constant name rather than zero.
svn-id: r44072
2009-09-13 21:12:05 +00:00
Eugene Sandulenko bd91c1129d Patch #1936137: "Speech for Mac BS1 english"
svn-id: r42423
2009-07-12 18:52:38 +00:00
Fabio Battaglia 14c85028b1 sword1: add Broken Sword PSX demo support
svn-id: r41369
2009-06-08 12:37:24 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Fabio Battaglia 1956c1c68f Added missing checkCd() execution when loading through GMM
svn-id: r39096
2009-03-03 21:33:45 +00:00
Fabio Battaglia 7fc8bb81a7 Enabled and hopefully fixed GMM saving/loading for sword1
svn-id: r39095
2009-03-03 20:05:00 +00:00
Fabio Battaglia 0077889eeb Add playtime feature support to sword1
svn-id: r39083
2009-03-02 22:37:09 +00:00
Eugene Sandulenko 5aa50ec889 Patch #2638336: Broken Sword PSX Support
svn-id: r38956
2009-02-28 10:46:33 +00:00
Filippos Karapetis 781d7da6b1 Applied my patch for the BS1/2 video player
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot.
- Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed
- The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG)
- The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported

svn-id: r38236
2009-02-15 13:29:48 +00:00
Johannes Schickel 690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Filippos Karapetis 7650b61d27 Applied a slightly modified version of my patch #2307224 - "BS1: Save/load overhaul"
svn-id: r35111
2008-11-18 16:31:55 +00:00
Johannes Schickel 2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00
Johannes Schickel 5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis ebb72cdfdf Moved sword1 detection and meta engine specific code from sword1.cpp into detection.cpp, like other engines
svn-id: r35043
2008-11-13 12:22:58 +00:00
Filippos Karapetis 7d8e4ca59b Added a getMaximumSaveSlot() implementation for sword1 and sword2
svn-id: r34969
2008-11-09 19:30:09 +00:00
Max Horn 40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00