499 Commits

Author SHA1 Message Date
D G Turner
85cf79a57f TEENAGENT: Minor formatting fixes for consistency.
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-12 21:03:47 +01:00
D G Turner
8dcc426911 TEENAGENT: Replace most of early return calls in processCallbacks().
This results in a cleaner and simpler function, prior to any further
refactoring.
2012-07-12 00:01:26 +01:00
D G Turner
53a7e522ea TEENAGENT: Start replacing hardcoded addresses with symbols. 2012-07-11 19:28:36 +01:00
D G Turner
923c05faf5 TEENAGENT: Migrate Dialog functions to using dialog numbers.
This removes the hardcoded address/offsets from the callback functions.
2012-07-11 18:21:46 +01:00
D G Turner
cffff61081 TEENAGENT: Replace static Dialog functions with normal class.
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-11 14:34:09 +01:00
D G Turner
c05dfddec3 TEENAGENT: Add Resource code to precompute Dialog Offsets.
This should allow the removal of most/all of the hardcoded eseg
addresses in the Dialog calls.
2012-07-11 13:03:32 +01:00
D G Turner
aec83e015c TEENAGENT: Replaced non-const static variable in Scene class.
This could cause glitches with Return To Launcher and thus should be
avoided. Replaced with a private member variable on the class.
2012-07-08 01:08:15 +01:00
D G Turner
0e6ba29ede TEENAGENT: Migrate engine to using debugflags.
This required some restructuring of the header dependencies.
2012-07-08 00:36:05 +01:00
D G Turner
62c4c09225 TEENAGENT: Enable commented out debug statements.
Commented out code is not good practice. Will change these statements
to using debugflags instead in a future commit.
2012-07-07 17:04:42 +01:00
D G Turner
a77a81da51 TEENAGENT: Remove unecessary passing of OSystem to scene Class.
This can be accessed via the engine's _system variable instead.
2012-07-07 14:42:26 +01:00
D G Turner
d7b3ca02fe TEENAGENT: Migrate to using ConfMan singleton. 2012-07-07 14:04:11 +01:00
D G Turner
313502e2ee TEENAGENT: Remove static Resources class Instance.
This is replaced by an engine instance. This should prevent issues
with Return To Launcher and may remove issues with file handles.
2012-07-07 13:46:28 +01:00
D G Turner
91d6db93f0 TEENAGENT: Add symbols for Segment sizes. 2012-07-05 11:43:49 +01:00
D G Turner
3526f6760d TEENAGENT: Removed unused quad functions from Segment class. 2012-07-05 11:40:02 +01:00
D G Turner
efb1d96d98 TEENAGENT: Fix erroneous files in savegame listing.
This was achieved by making the detection pattern stricter to avoid
matching the dat file or other extraneous files in the savegame path.

This fixes bug #3539774 "TEENAGENT : teenagent.dat considered as a
savegame".

Also did some minor formatting and string function usage cleanup.
2012-07-04 02:13:40 +01:00
Johannes Schickel
72e1e5a31c TEENAGENT: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:50 +02:00
Johannes Schickel
f3c66a191f TEENAGENT: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Christoph Mallon
e578cb8976 ALL: Remove unnecessary forward declarations. 2011-11-21 15:59:19 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Vladimir Menshakov
d6a3247058 TEENAGENT: Added robot's dialogue animation. 2011-11-03 00:46:47 +04:00
Vladimir Menshakov
23a9a27a57 TEENAGENT: Added "animation", "actor_animation" and "call" commands to debug console. 2011-11-03 00:02:03 +04:00
Vladimir Menshakov
33ed1b1d47 TEENAGENT: removed another duplicated if 2011-11-02 23:47:43 +04:00
Vladimir Menshakov
6b0acdb2aa TEENAGENT: fixed typo (duplicate if) 2011-11-02 23:43:44 +04:00
Vladimir Menshakov
5b89ef4366 TEENAGENT: Added missing lock in music player, replaced protected with private. 2011-10-27 02:56:32 +04:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Johannes Schickel
8a7f3e69ff TEENAGENT: Improve code formatting.
I used astyle and fixed some incorrect changes from it manually.
2011-10-23 02:07:23 +02:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
a5675c3dbe TEENAGENT: Pass streams as references. 2011-08-07 15:19:08 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Julien
5aa1877bef TEENAGENT: Allocate large buffers on the heap instead of the stack 2011-06-23 15:11:37 +08:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
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-20 00:59:48 +02:00
Johannes Schickel
01c22ea160 TEENAGENT: Get rid of unused variable. 2011-06-19 18:23:35 +02:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
fc555635cf TEENAGENT: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:45 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
Max Horn
0bca049ce8 TEEN: Change Inventory members to comple with CFG 2011-05-23 12:13:02 +02:00
Thierry Crozat
d2a55b42c9 ENGINES: Further unify engine names 2011-05-22 12:47:35 +01:00
Max Horn
05a7b160b3 TEEN: Use only one RandomSource and give that one a name.
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-17 12:17:26 +02:00
Thierry Crozat
3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion
6f9c56c63d TEEN: Fix incorrect keyword in forward declaration 2011-04-28 21:36:02 +03: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
Ori Avtalion
0f2eaf848f TEEN: Fix duplicate header guard 2011-04-24 16:34:49 +03:00
Johannes Schickel
26121bba14 TEENAGENT: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:33:38 +02:00
Johannes Schickel
f66009c654 TEENAGENT: Adapt to setPalette RGBA->RGB change.
This change has not been tested.
2011-02-14 17:08:33 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00