Commit Graph

61 Commits

Author SHA1 Message Date
D G Turner
c92ff8db33 TEENAGENT: Fix constant naming to comply with Coding Conventions.
Adding missing CamelCase k-prefixes.
2012-10-09 09:14:44 +01:00
D G Turner
dc009160bb TEENAGENT: Add symbols for dialog and message text colors. 2012-08-03 16:28:58 +01:00
D G Turner
b0b99cead0 TEENAGENT: Align some variable names with coding conventions. 2012-07-28 08:27:56 +01:00
D G Turner
be4be025b9 TEENAGENT: Add constant values for screen width and height.
It is unlikely these will be changed, but the symbols make the code more
readable.
2012-07-28 07:31:41 +01:00
D G Turner
7bc646f8ca TEENAGENT: Migrated remaining recursive processCallback calls. 2012-07-26 22:35:22 +01:00
D G Turner
f137c75e46 TEENAGENT: Migrate deinit functions to constructor/destructors.
This removes a number of memory leaks.
2012-07-26 09:18:57 +01:00
D G Turner
72adca69f3 TEENAGENT: Migrate most recursive processCallback() calls to functions. 2012-07-26 06:06:44 +01:00
D G Turner
af7fca1a7e TEENAGENT: Split out functions to avoid need for processCallback(). 2012-07-23 00:50:19 +01:00
D G Turner
7c0b3e0167 TEENAGENT: Improve readability of displayMessage() calls. 2012-07-18 03:29:52 +01:00
D G Turner
567ca1e506 TEENAGENT: Improve readability of displayAsyncMessage() calls. 2012-07-18 02:55:38 +01:00
D G Turner
320f1e3059 TEENAGENT: Improve readability of displayCutsceneMessage() calls. 2012-07-17 14:15:47 +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
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
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
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
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02: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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
David Turner
c11fdabab9 TEENAGENT: Fix Memory Leaks.
svn-id: r55672
2011-01-31 07:44:40 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Vladimir Menshakov
cb17e00f0d added cd-version detection and cdlogo.res support
svn-id: r48831
2010-04-28 19:50:28 +00:00
Vladimir Menshakov
76ef5d4aea -added overlay rendering flag
-fixed music played too late on some scenes

svn-id: r48349
2010-03-21 07:38:09 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Vladimir Menshakov
eacf1030e4 added async getFlag(addr)
svn-id: r48131
2010-02-26 07:36:52 +00:00
Vladimir Menshakov
ae938dbef8 added setFlag, fixed non-mark's messages
svn-id: r47969
2010-02-07 17:13:39 +00:00
Vladimir Menshakov
ef8215e70c added kWait event type
svn-id: r47808
2010-02-02 07:26:36 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Vladimir Menshakov
b847a2be35 added configurable timers/fast mode with ctrl-f hotkey
svn-id: r47167
2010-01-08 18:03:34 +00:00
Vladimir Menshakov
85c8b370cf added metropolis/TEENAGENT logo
svn-id: r46926
2010-01-03 15:18:20 +00:00
Vladimir Menshakov
09a197d125 added unlogic logo
svn-id: r46903
2010-01-02 22:30:43 +00:00
Vladimir Menshakov
3e915d9ec5 implemented fade in/out effects
svn-id: r46653
2009-12-27 18:21:49 +00:00
Vladimir Menshakov
4218d3f037 added message duration override, increased 'the end' timeout
svn-id: r46301
2009-12-08 22:13:06 +00:00
Vladimir Menshakov
5de8c46963 added final credits
svn-id: r46297
2009-12-08 22:04:00 +00:00
Vladimir Menshakov
c839eeda81 use selected object with both mouse buttons as in original game
svn-id: r46227
2009-12-01 08:00:13 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Vladimir Menshakov
618cade585 added kEffect for screen shaking, fixed barman callback
svn-id: r45965
2009-11-17 22:45:41 +00:00
Vladimir Menshakov
a6f954c365 added cancel() for current action
svn-id: r45890
2009-11-14 11:29:37 +00:00
Vladimir Menshakov
a1496515ce more fixes for chapter 3.
svn-id: r45790
2009-11-09 23:22:35 +00:00
Vladimir Menshakov
dfc4dc6d85 added 'ignore' flag, ported guard and anchor challenges to it. minor fixes
svn-id: r45772
2009-11-09 07:58:27 +00:00
Vladimir Menshakov
79409d8ef1 more improvements, added setTimerCallback()
svn-id: r45766
2009-11-08 21:59:26 +00:00
Vladimir Menshakov
54d163c966 implemented async messages (some animation requires it), added custom positioning.
svn-id: r45756
2009-11-08 20:00:31 +00:00
Vladimir Menshakov
c1b1d42b87 removed font::color, added debugger console with enable_object/disable_object commands.
svn-id: r45755
2009-11-08 19:11:57 +00:00
Vladimir Menshakov
f3f382ba37 implemented waiting for the particular frame in animation.
svn-id: r45724
2009-11-07 12:00:56 +00:00
Vladimir Menshakov
d033899a05 added cutscenes where needed, fixed invalid skipping of fullscreen messages.
svn-id: r45575
2009-10-31 18:49:47 +00:00
Vladimir Menshakov
605b6fd885 removed packed structs/direct read/writes, so the game should work on big-endian archs.
svn-id: r44377
2009-09-26 15:04:09 +00:00
Vladimir Menshakov
6db034a1db renamed constants to comply with the code convention.
svn-id: r44109
2009-09-15 20:21:18 +00:00
Max Horn
a8e5df433f TEEN: More code formatting & whitespace changes (automatically generated with astyle)
svn-id: r44101
2009-09-15 08:54:06 +00:00
Vladimir Menshakov
7cbbc0ad25 adapted code to comply code formatting conventions.
svn-id: r44098
2009-09-15 07:41:05 +00:00
Vladimir Menshakov
ba9c347d93 added hide/showActor, fixed intro, reverted straight animation order
svn-id: r44055
2009-09-13 12:48:57 +00:00