aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/teenagent.cpp
AgeCommit message (Collapse)Author
2019-11-14TEENAGENT: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-08-02TEENAGENT: Add debug commands to play voices and sound effectsCameron Cawley
2019-08-01TEENAGENT: Add the music directory to the search pathCameron Cawley
Needed by the GOG CD version.
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.
2016-05-03TEENAGENT: Renames and cleanupEugene Sandulenko
2016-03-13BACKENDS: Only expose one set of functions for AudioCDManagerMatthew Hoops
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13TEENAGENT: Ensure openCD() is calledMatthew Hoops
2014-02-18TEENAGENT: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-03TEENAGENT: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03TEENAGENT: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2012-10-09TEENAGENT: Fix constant naming to comply with Coding Conventions.D G Turner
Adding missing CamelCase k-prefixes.
2012-09-26TEENAGENT: Cleanup TeenagentEngine class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-24TEENAGENT: Cleanup Scene class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-24TEENAGENT: Cleanup Object classes.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-08-03TEENAGENT: Add symbols for dialog and message text colors.D G Turner
2012-08-02TEENAGENT: Fix for bug #3428161 "PSP: No music in TeenAgent".D G Turner
This could occur on other platforms too and was a race hazard between mixer thread startup and music being valid i.e. If the music doesn't already exist, when the mixer callback is done, this deletes the channel as idle. Reordered the calls to fix this. Also, removed unecessary music->start() as this is done by setMusic(n) on successful load anyway.
2012-08-01TEENAGENT: Migrate remaining callback flag variables to symbols.D G Turner
2012-08-01TEENAGENT: Replace two missed inventory item ids with symbols.D G Turner
2012-07-28TEENAGENT: Symbolise most of remaining addresses in TeenAgent engine.D G Turner
Also, change address 0 usage to 0x0000 for readability.
2012-07-28TEENAGENT: Align some variable names with coding conventions.D G Turner
2012-07-28TEENAGENT: Add constant values for screen width and height.D G Turner
It is unlikely these will be changed, but the symbols make the code more readable.
2012-07-26TEENAGENT: Migrate deinit functions to constructor/destructors.D G Turner
This removes a number of memory leaks.
2012-07-23TEENAGENT: Split out functions to avoid need for processCallback().D G Turner
2012-07-22TEENAGENT: Symbol migration associated with remaning display*Message().D G Turner
Have also corrected typo in offset i.e. 0x39b7 was incorrect, it appears that 0x3ab7 was intended.
2012-07-18TEENAGENT: Improve readability of displayMessage() calls.D G Turner
2012-07-18TEENAGENT: Improve readability of displayAsyncMessage() calls.D G Turner
2012-07-17TEENAGENT: Improve readability of displayCutsceneMessage() calls.D G Turner
2012-07-17TEENAGENT: Symbol migration associated with displayCredits().D G Turner
2012-07-17TEENAGENT: Further symbol migration for processCallback() usage.D G Turner
2012-07-16TEENAGENT: Further symbol migration associated with saveStates.D G Turner
2012-07-16TEENAGENT: Migrate two more dseg regions to symbolic addresses.D G Turner
2012-07-13TEENAGENT: Add symbols for savestate region.D G Turner
2012-07-12TEENAGENT: Minor formatting fixes for consistency.D G Turner
This is mainly ensuring that all hexadecimal usages i.e. addresses are in lowercase for consistency, but also includes some minor comment formatting correction.
2012-07-11TEENAGENT: Replace static Dialog functions with normal class.D G Turner
This avoids the need to pass the engine pointer, vm to every function and removes the need for the functions to be static.
2012-07-08TEENAGENT: Migrate engine to using debugflags.D G Turner
This required some restructuring of the header dependencies.
2012-07-07TEENAGENT: Enable commented out debug statements.D G Turner
Commented out code is not good practice. Will change these statements to using debugflags instead in a future commit.
2012-07-07TEENAGENT: Remove unecessary passing of OSystem to scene Class.D G Turner
This can be accessed via the engine's _system variable instead.
2012-07-07TEENAGENT: Migrate to using ConfMan singleton.D G Turner
2012-07-07TEENAGENT: Remove static Resources class Instance.D G Turner
This is replaced by an engine instance. This should prevent issues with Return To Launcher and may remove issues with file handles.
2012-06-16TEENAGENT: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2011-10-23TEENAGENT: Improve code formatting.Johannes Schickel
I used astyle and fixed some incorrect changes from it manually.
2011-08-07TEENAGENT: Pass streams as references.Christoph Mallon
2011-06-23TEENAGENT: Allocate large buffers on the heap instead of the stackJulien
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-17TEEN: Use only one RandomSource and give that one a name.Max Horn
This change ensures that only RandomSource is used which also is registered with the event recorder. Moreover, it gets rid of a static RandomSource instance inside Actor::renderIdle.
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-02-14TEENAGENT: Adapt to setPalette RGBA->RGB change.Johannes Schickel
This change has not been tested.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850