Johannes Schickel
4ddace8a7a
TEENAGENT: Take advantage of Surface::getPixels.
2013-08-03 04:02:52 +02:00
Johannes Schickel
509f96dff3
TEENAGENT: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Torbjörn Andersson
71ed35502e
TEENAGENT: Add missing "break"s to switch cases
...
I think this is the correct thing to do, and that it won't have
any noticeable effect whatsoever.
Cases 29 and 30 happen in the first half of the game, in the
cantine, while case 42 happens in the second half of the game. By
the time you reach the point where case 42 does something, I don't
think it's possible to get back to cases 29 and 30, so when case
29 falls through neither 30 nor 42 will do anything.
CID 1003730, 1003731
2013-07-19 20:49:15 +02:00
D G Turner
86475a0b06
TEENAGENT: Further cleanup for Font class.
2012-09-24 01:22:08 +01:00
D G Turner
0903351974
TEENAGENT: Cleanup Font class.
...
This fixes a mismatched function prototype wrt. the definition and
removes the underscores in various variables as per project coding
standard. Also, minor reordering of functions for readability.
2012-09-23 18:53:22 +01:00
D G Turner
31cb5ce3f1
TEENAGENT: Remove final usages of code segment blob.
...
The loading of cseg is now replaced by skipping, so that the external
dat file remains the same, but RAM usage is reduced.
The callbacks code will now error on unknown callback addresses, which
should not happen as all cases should now be covered, though the
callback tables need to be checked to ensure this is guaranteed.
2012-09-02 04:56:20 +01:00
D G Turner
502a284b85
TEENAGENT: Some more migration of callback flag variables to symbols.
2012-08-01 14:44:51 +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
e73dffa57c
Merge branch 'master' into teenagentRefactor
...
Conflicts:
engines/teenagent/resources.cpp
2012-07-16 01:24:40 +01:00
Filippos Karapetis
a97f4466fd
TEENAGENT: Add translatable strings in resources.cpp
2012-07-15 03:07:01 +03:00
Filippos Karapetis
f4e395b4a1
TEENAGENT: Show a verbose warning when a compressed data file is used and zlib hasn't been included in the executable
2012-07-15 02:47:06 +03:00
Filippos Karapetis
c54f95ee86
TEENAGENT: Readd the zlib code, to maintain backwards compatibility
2012-07-15 02:27:51 +03:00
Filippos Karapetis
13a5e5812a
TEENAGENT: Unpack teenagent.dat and remove the engine's zlib dependency
...
This addresses bug #3539822 - "TEENAGENT: Not working without zlib"
2012-07-15 02:14:37 +03:00
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
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
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
Julien
5aa1877bef
TEENAGENT: Allocate large buffers on the heap instead of the stack
2011-06-23 15:11:37 +08:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02: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
Filippos Karapetis
d45a2a97a3
TEENAGENT: Hopefully fixed an issue reported by Valgrind (found by digitall)
...
svn-id: r55686
2011-01-31 15:25:29 +00:00
Vladimir Menshakov
2dd34a2123
added voices pack/cd music support
...
svn-id: r48962
2010-05-07 07:56:57 +00:00
Vladimir Menshakov
412e63123e
code convention fixes mentioned by Max Horn
...
svn-id: r48296
2010-03-18 23:30:29 +00:00
Vladimir Menshakov
e245de962a
removed 'varia.res' from the resident pack files
...
svn-id: r48295
2010-03-18 23:24:32 +00:00
Vladimir Menshakov
77411ff0f9
added abstract Pack class, moved code into FilePack and MemoryPack
...
svn-id: r48292
2010-03-18 22:35:58 +00:00
Vladimir Menshakov
85c8b370cf
added metropolis/TEENAGENT logo
...
svn-id: r46926
2010-01-03 15:18:20 +00:00
Vladimir Menshakov
c2f9c512a1
fixed default font height
...
svn-id: r46296
2009-12-08 22:03:33 +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
e53de46b4f
added simple credits support for the intro.
...
svn-id: r44047
2009-09-13 09:54:53 +00:00
Vladimir Menshakov
622c4684fe
removed magic exe offsets, added teenagent.dat support.
...
svn-id: r43954
2009-09-05 08:16:35 +00:00
Max Horn
088c5dada3
TEEN:
...
* don't use "using namespace", instead put stuff into its correct namespace
* when using #include, always prefix engine header files with the engine name
* some cleanup
svn-id: r43945
2009-09-04 20:08:33 +00:00
Vladimir Menshakov
39e3c2c096
added detection structures with exe offsets.
...
svn-id: r43929
2009-09-03 22:42:12 +00:00
Vladimir Menshakov
3c8cdcae2f
fixed engines order, added svn:keywords properties.
...
svn-id: r43925
2009-09-03 21:20:13 +00:00
Vladimir Menshakov
ebe1b94eb1
imported teenagent engine sources.
...
svn-id: r43922
2009-09-03 20:59:17 +00:00