aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/teenagent.cpp
AgeCommit message (Collapse)Author
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
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-31TEENAGENT: Fix Memory Leaks.David Turner
svn-id: r55672
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495