Nicola Mettifogo
4c377e0339
Fixed positioning of overlayed graphics (dialogues, inventory, labels) in all locations. These items are now all handled in screen coordinates which are translated automatically by the renderer.
...
svn-id: r35255
2008-12-06 06:17:10 +00:00
Nicola Mettifogo
7681461b16
Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues in scrollable locations are a bit messed up for the moment.
...
svn-id: r35253
2008-12-06 04:51:04 +00:00
Nicola Mettifogo
c2089be660
* Split up blt routine (there is room for a ton of improvements)
...
* Added scaling as a new blt option
* Activated scaling for the main character in BRA
svn-id: r33985
2008-08-18 07:12:05 +00:00
Nicola Mettifogo
591973c827
Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all z-buffering.
...
svn-id: r33468
2008-07-31 12:26:12 +00:00
Nicola Mettifogo
8bdbbaf413
Reordered initialization lists to silence warning.
...
svn-id: r33432
2008-07-30 06:25:17 +00:00
Nicola Mettifogo
884b753c73
Added dialogue text rendering for BRA.
...
svn-id: r33402
2008-07-29 09:44:05 +00:00
Nicola Mettifogo
356adc5e09
Added support for text in BRA DOS demo.
...
svn-id: r33360
2008-07-28 08:25:52 +00:00
Travis Howell
533dbfd756
Add basic support for running Amiga and PC demos of BRA.
...
svn-id: r33357
2008-07-28 07:20:55 +00:00
Nicola Mettifogo
551f6d71c3
Made frame unpacking buffer dynamic (this frees some BSS space).
...
svn-id: r33072
2008-07-15 10:59:58 +00:00
Nicola Mettifogo
18b48c74a9
Fixed regression introduced with GfxObj: the character sprite was sometimes removed from the rendering list.
...
svn-id: r32974
2008-07-09 10:52:46 +00:00
Nicola Mettifogo
a294d22213
Added a couple of NULLity checks.
...
svn-id: r32972
2008-07-09 02:49:20 +00:00
Nicola Mettifogo
59e672ef40
Changed balloons to use GfxObj as well. Next step is to integrate balloons for BRA.
...
svn-id: r32883
2008-07-03 10:31:25 +00:00
Nicola Mettifogo
77a60673ef
- Changed labels to be GfxObj's, thus removing the Label object altogether.
...
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it).
svn-id: r32873
2008-07-02 01:41:08 +00:00
Nicola Mettifogo
2779b851ab
Small cleanup/shuffling of Gfx code.
...
svn-id: r32847
2008-06-30 01:36:50 +00:00
Nicola Mettifogo
206485ffc6
Merged the three render lists (for animations, doors and objects) into a single one.
...
svn-id: r32834
2008-06-29 09:56:44 +00:00
Nicola Mettifogo
d8645297cd
Changed all remaining code to use the GfxObj class to keep frames data. This allows for more uniform processing during rendering, and also fixes the display of dialogue faces for BRA.
...
svn-id: r32833
2008-06-29 09:30:32 +00:00
Nicola Mettifogo
58d58d5100
Implemented scroll command and added a couple more debug variables.
...
svn-id: r30814
2008-02-07 12:49:46 +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
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
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
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
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