Commit Graph
60 Commits
Author SHA1 Message Date
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
Strangerke 10f65a3c6f CRUISE: some more renaming, remove another useless variable 2014-06-09 18:01:04 +02:00
Strangerke ff93aef6ec CRUISE: Initialize some variables in the contractor, change some variables to boolean 2014-06-09 17:53:27 +02:00
Johannes Schickel 00b6dfe9cf CRUISE: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Fabio Battaglia 3296e872f4 CRUISE: Add italian language strings
Add italian menu strings, taken from Italian Amiga version
2012-05-14 20:27:15 +02:00
Max Horn 477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
Matthew Hoops 9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Max Horn 4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +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 562e502d78 CRUISE: Cleanup syncSoundSettings()
And init volume levels on startup
2011-03-19 16:04:50 +01:00
Arnaud Boutonné d063b074cd JANITORIAL: Suppress some useless includes
svn-id: r55091
2011-01-02 14:06:42 +00:00
David Turner 84a753d840 CRUISE: Corrected uninit read of _polyStruct in ctp.cpp:49 detected by Valgrind.
This occurred during intro playback and was due to _polyStruct not being initialised to NULL during engine construction/initialisation.

svn-id: r54299
2010-11-17 19:29:07 +00:00
Eugene Sandulenko 15b881386a CRUISE: Eliminate global constructors
svn-id: r51936
2010-08-09 10:30:40 +00:00
Max Horn 0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Max Horn 970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +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 460d69e885 COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
2010-04-27 21:40:52 +00:00
Paul Gilbert 857a35f748 Fixed all memory leaks as far as the initial title screen
svn-id: r44814
2009-10-09 10:32:33 +00:00
Paul Gilbert 8694b48ae3 Set up a basic tracing system for all memory allocations to help track down memory leaks
svn-id: r44808
2009-10-09 08:15:30 +00:00
Filippos Karapetis b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis 16d7d9ba23 Fixed some more warnings about unreachable code
svn-id: r44299
2009-09-24 10:02:13 +00:00
Johannes Schickel 346ce3f3da Add preliminary support for German Amiga version.
svn-id: r44077
2009-09-14 12:24:23 +00:00
Paul Gilbert 1f39c1b569 Bugfix for freeze when the in-game Pause 'P' key is used
svn-id: r43690
2009-08-24 10:23:22 +00:00
Paul Gilbert a9e55b2f91 Removed redundant code related to Midi handling
svn-id: r43171
2009-08-09 12:23:01 +00:00
Johannes Schickel 7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Paul Gilbert 2c96ca84f3 Added initialisation of paging screens when the game starts
svn-id: r42370
2009-07-11 05:14:42 +00:00
Paul Gilbert 99d81ac2ed Active background screens are now properly freed when the game exits
svn-id: r42369
2009-07-11 05:12:17 +00:00
Paul Gilbert f9298ff403 Made the music/sfx volume settings actually affect the in-game music/sfx volume
svn-id: r41975
2009-06-30 10:36:50 +00:00
Paul Gilbert 2f3e5f11cb Beginnings of music support for Cruise, based on the cine engine sound code (note that the music played isn't yet correct, though)
svn-id: r41506
2009-06-14 03:39:30 +00:00
Paul Gilbert 555d4038cc Slowed down the game to match the original, and introduced the ability to alter game speed using the keypad +/- keys
svn-id: r41064
2009-05-31 11:37:21 +00:00
Paul Gilbert f0e69a7d0b Replaced the original implementation of walk box handling with a cleaner, structure array based one
svn-id: r40954
2009-05-28 08:49:56 +00:00
Paul Gilbert a6cf2bf2b1 Reintroduced language string lists as a fallback for DELPHINE.LNG, since not all versions have this file
svn-id: r40522
2009-05-13 12:31:30 +00:00
Paul Gilbert 57caa94081 Moved the construction of _sound and _music to the constructor, in case the run() method exits before initiaze is called
svn-id: r40520
2009-05-13 11:43:24 +00:00
Paul Gilbert 15252ad83c Added support for the global menu save/loading, and changed the savegame format to store the savegame name and thumbnail
svn-id: r39979
2009-04-18 10:16:08 +00:00
Paul Gilbert d90a343790 Created stub manager class for sound effects
svn-id: r39856
2009-04-05 07:51:31 +00:00
Paul Gilbert d42d6122d9 Laid the basics for music handling
svn-id: r39786
2009-04-01 10:43:24 +00:00
Paul Gilbert 979c1e0f6a Fixed some method parameters, changed the main loop to a method of the engine class, and moved the frame delay code to the main loop to make the game more responsive to events
svn-id: r39180
2009-03-07 07:12:10 +00:00
Max Horn dd98126423 Engines: Fused several init&go methods into a single run method
svn-id: r39003
2009-03-01 04:42:46 +00:00
Paul Gilbert 935e748e62 In progress work on cleaning up the font system - giving proper variable names, types, and converted memory accesses to endian safe structures
svn-id: r38540
2009-02-19 09:57:39 +00:00
Paul Gilbert aa82c6fa7b Changed the list of language dependant strings from being hard-coded to dynamically being loaded from the 'delphine.lng' file
svn-id: r36317
2009-02-14 00:10:51 +00:00
Paul Gilbert c2afb25ec5 Added debugger console
svn-id: r36259
2009-02-11 10:03:01 +00:00
Max Horn 7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Paul Gilbert a27f4203e0 Minor cleanup and changed g_cruise to _vm for consistency
svn-id: r36050
2009-01-25 05:44:18 +00:00
Max Horn 4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +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
Max Horn 40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn 88bb567e18 Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
svn-id: r30871
2008-02-15 17:01:35 +00:00
Vincent Hamm f953ed4dde Early pathfinding
svn-id: r30012
2007-12-27 12:05:43 +00:00
Vincent Hamm 2d9d0f1b1f -Fade in/fade out
-Implement background mode 5

svn-id: r29968
2007-12-24 01:05:36 +00:00