763 Commits

Author SHA1 Message Date
Nicola Mettifogo
85171eadaa Programs are now handled in their own list, instead of being accessed via the referring Animation.
svn-id: r30768
2008-02-03 14:58:16 +00:00
Nicola Mettifogo
2e28552a7e Fixed location switching in BRA a bit more.
svn-id: r30757
2008-02-03 11:00:55 +00:00
Nicola Mettifogo
c561a9487c Animations are now displayed in the right spots in BRA.
svn-id: r30756
2008-02-03 10:53:42 +00:00
Nicola Mettifogo
748a90ca23 Added code to unpack and render animations in BRA.
svn-id: r30755
2008-02-03 10:48:07 +00:00
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Nicola Mettifogo
899fdcb367 Enabled rudimentary location switch in BRA.
svn-id: r30748
2008-02-02 22:45:31 +00:00
Nicola Mettifogo
d8349d66ff Subtitles are now displayed in the intro for BRA, though in wrong color (and I don't know why).
svn-id: r30747
2008-02-02 21:22:05 +00:00
Torbjörn Andersson
97ef53a652 Fixed warning.
svn-id: r30742
2008-02-02 16:38:51 +00:00
Travis Howell
fc78c57fab Fix GCC compile.
svn-id: r30741
2008-02-02 14:08:13 +00:00
Nicola Mettifogo
ed09766acc BRA now loads and displays location backgrounds (at least in the intro).
svn-id: r30740
2008-02-02 13:57:29 +00:00
Nicola Mettifogo
9f3ecd6409 Cleanup of BRA menu code.
svn-id: r30739
2008-02-02 12:36:06 +00:00
Nicola Mettifogo
36d863f94e Reworked menu in BRA (now functioning).
svn-id: r30737
2008-02-02 12:18:36 +00:00
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Nicola Mettifogo
5306701eab Allowed BackgroundInfo to display bitmaps smaller than the screen and other small tweaks to re-enable splash screens in BRA.
svn-id: r30732
2008-02-02 10:18:31 +00:00
Nicola Mettifogo
015ad5e469 Some more integration of background code into BackgroundInfo.
svn-id: r30731
2008-02-02 09:48:07 +00:00
Torbjörn Andersson
4227c0f7ce Fixed warning.
svn-id: r30730
2008-02-02 07:18:49 +00:00
Jordi Vilalta Prat
5165ff448d Converted the remaining engines to use MetaEngine
svn-id: r30728
2008-02-02 02:35:13 +00:00
Max Horn
ec715ea1ec Converted parallaction engine to use MetaEngine
svn-id: r30727
2008-02-02 00:56:02 +00:00
Nicola Mettifogo
249877fa82 Moved depth buffer and palette rotation data into BackgroundInfo.
svn-id: r30725
2008-02-02 00:41:31 +00:00
Nicola Mettifogo
ccc0f6b92d Slightly simplified Archive selection when loading resources.
svn-id: r30714
2008-01-31 10:38:15 +00:00
Filippos Karapetis
f2a16e4f56 Changed the parameter types of setFlags() and clearFlags() to match their definitions
svn-id: r30711
2008-01-30 23:12:51 +00:00
Filippos Karapetis
289d18ed07 Fix shadowing warning
svn-id: r30710
2008-01-30 23:09:18 +00:00
Nicola Mettifogo
fb4ef4b394 More cleanup: kBit2 is now replaced by the BackgroundInfo structure.
svn-id: r30697
2008-01-29 10:04:49 +00:00
Nicola Mettifogo
d6f45b451b Fixed regression when displaying animation: the issue could only be noticed when characters appeared out of their sketches in the intro.
svn-id: r30696
2008-01-29 09:58:21 +00:00
Nicola Mettifogo
0e02a9398a Cleanup (step 2). No code outside Gfx reference screen buffers anymore.
svn-id: r30695
2008-01-29 09:37:03 +00:00
Max Horn
0150ada2d7 Replace lock/unlock/lock/unlock by lock/unlock for efficency
svn-id: r30693
2008-01-28 22:20:55 +00:00
Johannes Schickel
d8e1f5a060 - make Common::sort supporting a function object to compare two entries instead of operator <
- adapt parallaction to use the new Common::sort function

svn-id: r30692
2008-01-28 22:05:23 +00:00
Nicola Mettifogo
1a36ba488c Cleanup (step 1).
svn-id: r30689
2008-01-28 20:40:05 +00:00
Torbjörn Andersson
8e4f5b6f82 Fixed warning.
svn-id: r30688
2008-01-28 20:06:40 +00:00
Nicola Mettifogo
68fc3f1dee Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept to store the background picture.
svn-id: r30687
2008-01-28 19:56:29 +00:00
Nicola Mettifogo
b80419efb4 Made halfbrite work again.
svn-id: r30685
2008-01-28 18:15:06 +00:00
Nicola Mettifogo
efdc6f646f Changed _c_moveSheet to work with only 1 buffer.
svn-id: r30684
2008-01-28 18:10:16 +00:00
Nicola Mettifogo
5fb19e226c Oops. Forgot to update this in the last commit.
svn-id: r30683
2008-01-28 17:37:15 +00:00
Nicola Mettifogo
a206f6e873 Changed guiSelectCharacter to work with only screen buffer.
svn-id: r30682
2008-01-28 17:36:08 +00:00
Nicola Mettifogo
56eed45317 Move low level background management into Gfx.
svn-id: r30681
2008-01-28 17:28:16 +00:00
Nicola Mettifogo
3c2c16c705 Fixed animation sorting: everything should be drawn like before revision 30673 now. Character may still disappear when changing location because of wrong resource management, though.
svn-id: r30680
2008-01-28 16:52:41 +00:00
Max Horn
1bba7bd04e Fix 'member var shadowed' warning
svn-id: r30679
2008-01-28 15:20:47 +00:00
Sven Hesse
57a862b2a0 Fix compilation
svn-id: r30676
2008-01-28 14:45:54 +00:00
Nicola Mettifogo
cce8e25960 Removed all job routines. Stubs have been left for future reference in the code for BRA.
svn-id: r30675
2008-01-28 13:10:49 +00:00
Nicola Mettifogo
1888cbe50b Oops. Forgot ScummVM header in new source file.
svn-id: r30674
2008-01-28 12:31:14 +00:00
Nicola Mettifogo
be2c5d3c87 All interactive objects are now drawn in the framebuffer instead of using the old kBitBack/kBitFront buffers. Animation are not sorted yet, so they can overlap in an inconsistent fashion for the time being.
svn-id: r30673
2008-01-28 12:20:53 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Nicola Mettifogo
dd45b7ad45 Some refactoring of text drawing routines.
svn-id: r30615
2008-01-22 20:53:29 +00:00
Nicola Mettifogo
6b188943ac Merged low level blitting functions into one single routine.
svn-id: r30600
2008-01-21 20:03:37 +00:00
Torbjörn Andersson
7b15433572 Removed unnecessary semi-colons.
svn-id: r30476
2008-01-13 22:12:35 +00:00
Nicola Mettifogo
7d635a4b9c Added function to encapsulate/protect manipulation of background.
svn-id: r30441
2008-01-12 10:46:51 +00:00
Nicola Mettifogo
3ed0ddd375 Refactored some text drawing code.
svn-id: r30362
2008-01-09 22:03:51 +00:00
Nicola Mettifogo
605c9d0fd6 Turned Gfx::setFont into a protected member, since now Gfx can automatically detect which font to use. Gfx still needs setFont internally to select fonts. The font shadowing introduced in revision 30221 has been removed as well, since the new approach handles it better.
svn-id: r30361
2008-01-09 21:54:58 +00:00
Nicola Mettifogo
bdf440fdae Replaced the remaining old string code with the new label code. All the text is now drawn in the framebuffer instead of being blitted onto the internal game screen buffer.
svn-id: r30360
2008-01-09 21:46:57 +00:00
Nicola Mettifogo
e21fd496f8 Restructured label handling and moved all related code to Gfx.
svn-id: r30345
2008-01-08 20:46:58 +00:00