aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/sword25.cpp
AgeCommit message (Collapse)Author
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
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-07-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2015-12-14SWORD25: Call requested pixel format by its correct name.Johannes Schickel
2014-12-07SWORD25: Disable unused codeFilippos Karapetis
Thanks to fingolfin for pointing out this unused code
2014-06-15SWORD25: Switch to common TransparentSurfaceEugene Sandulenko
2014-02-18SWORD25: Make GPL headers consistent in themselves.Johannes Schickel
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-03-19SWORD25: Init volume levels on startupdhewg
2011-01-24SWORD25: Fix linker breakage from DECLARE_SINGLETON() in renderObjectRegistry.h.David Turner
svn-id: r55490
2011-01-23SWORD25: Replaced BS_ASSERT() with assert()Filippos Karapetis
svn-id: r55464
2011-01-23SWORD25: Removed the custom log class and replaced it with ↵Filippos Karapetis
warning/error/debugC calls svn-id: r55462
2010-11-10SWORD25: Added basic debugging console to engine (Command Key Disabled)David Turner
Since SWORD25 uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. However, this is not currently usable as the command key code is commented out. This is due to the event loop which reads keyboard input being buried 2 object layers below the Engine VM object and I am unsure how the engine development team would want this exposed / interfaced. svn-id: r54184
2010-10-28SWORD25: Standardised savegame filenames, start on advanced engine featuresPaul Gilbert
svn-id: r53901
2010-10-25SWORD25: 'Implement' RTL support & add TODOs about missing feature supportMax Horn
svn-id: r53837
2010-10-25SWORD25: Get rid of most of the 'kernel service/superclass' codeMax Horn
svn-id: r53835
2010-10-24SWORD25: Merge classes PNGLoader, ImageLoader and ImageLoaderManagerMax Horn
This looses some flexibility when it comes to supporting other image formats. But since the game does not use other image formats, this seems rather irrelevant, compared to how much simpler the code now is. svn-id: r53755
2010-10-24SWORD25: Add ImageLoaderManager, get rid of last globally constructed objectMax Horn
This also gets rid of an evil use of atexit. svn-id: r53753
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Simplify log listener code (and get rid of another global constructor)Max Horn
svn-id: r53610
2010-10-19SWORD25: Destroy singletons upon engine exit (untested, may lead to crash ↵Max Horn
upon exit) svn-id: r53609
2010-10-15SWORD25: Typo, cleanupMax Horn
svn-id: r53478
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Enforced code naming conventions in script/*Eugene Sandulenko
svn-id: r53391
2010-10-13SWORD25: Fix startupEugene Sandulenko
svn-id: r53383
2010-10-13SWORD25: Enforse code naming conventions in PackageManager and Sword25EngineEugene Sandulenko
svn-id: r53380
2010-10-13SWORD25: Add support for language patchEugene Sandulenko
svn-id: r53377
2010-10-12SWORD25: Put all sound-related debug output under debug flag.Eugene Sandulenko
svn-id: r53370
2010-10-12SWORD25: Fix warningsEugene Sandulenko
svn-id: r53292
2010-10-12SWORD25: Fix color formatEugene Sandulenko
svn-id: r53285
2010-10-12SWORD25: Fix colorsEugene Sandulenko
svn-id: r53274
2010-10-12SWORD25: Implemented script tracingEugene Sandulenko
To turn on traces turn on debugchannel 'script' and then use debug level as a bitmask: 1 - show function calls 2 - show function exits 3 - show every line svn-id: r53267
2010-10-12SWORD25: Fixed return value of AppEndPaul Gilbert
svn-id: r53264
2010-10-12SWORD25: removed BS_ prefix from rest of the classes.Eugene Sandulenko
The things which are intentionally left with the prefix: BS_LOG, BS_ASSERT, BS_Rect, BS_String. svn-id: r53261
2010-10-12SWORD25: eliminated BS_ prefix in all but kernel/Eugene Sandulenko
svn-id: r53259
2010-10-12SWORD25: Added possibility to run from extracted game.Eugene Sandulenko
Still doesn't start though svn-id: r53251
2010-10-12SWORD25: Fix log output.Eugene Sandulenko
svn-id: r53238
2010-10-12SWORD25: Fix couple more warningsEugene Sandulenko
svn-id: r53236
2010-10-12SWORD25: Mass-astyle.Eugene Sandulenko
svn-id: r53222
2010-10-12SWORD25: Converted remainder of Kernel/ folderPaul Gilbert
svn-id: r53216
2010-10-12SWORD25: Changing service registration to use replacement ScummVM Package ↵Paul Gilbert
Manager svn-id: r53201
2010-10-12SWORD25: Replacing headers with ScummVM ones plus original (C)Eugene Sandulenko
svn-id: r53188
2010-10-12SWORD25: Added and fixed the remaining engine setup/execution/free codePaul Gilbert
svn-id: r53185
2010-10-12SWORD25: Converted kernel/kernel.cpp to compile under ScummVMPaul Gilbert
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation. The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files. svn-id: r53184
2010-10-12SWORD25: Initial dummy engineEugene Sandulenko
svn-id: r53168