Nicola Mettifogo
|
abaef3f5af
|
removed unused parameter from Gfx::flatBlitCnv
svn-id: r26195
|
2007-03-18 09:16:12 +00:00 |
|
Nicola Mettifogo
|
74f7a90886
|
renamed structures to be more general
svn-id: r26184
|
2007-03-17 20:51:13 +00:00 |
|
Nicola Mettifogo
|
18fb5b485b
|
moved remaining background related functions to disk.cpp, and changed Gfx accordingly
svn-id: r26145
|
2007-03-15 21:56:21 +00:00 |
|
Nicola Mettifogo
|
62a5f783ee
|
removed explicit references to kMask0 since there is only 1 mask available
svn-id: r26140
|
2007-03-14 21:57:07 +00:00 |
|
Nicola Mettifogo
|
dcfd64cdbc
|
some slight refactoring
svn-id: r26139
|
2007-03-14 21:53:34 +00:00 |
|
Nicola Mettifogo
|
5dae85ad11
|
removed dead code
svn-id: r26138
|
2007-03-14 21:11:04 +00:00 |
|
Nicola Mettifogo
|
a9191d1119
|
implemented clipping using Common::Rect::clip
svn-id: r26137
|
2007-03-14 21:09:56 +00:00 |
|
Nicola Mettifogo
|
b1abd5e6ca
|
enforced use of Common::Rect on all graphic routines
svn-id: r26128
|
2007-03-13 23:30:36 +00:00 |
|
Nicola Mettifogo
|
922c0a7ea0
|
removed special case of Graphics::copyRect in favor of more general code
svn-id: r26126
|
2007-03-13 20:47:59 +00:00 |
|
Nicola Mettifogo
|
2ad8d70152
|
Moved inventory surface management into inventory.cpp, thus removing Graphics::kBit3. Some duplicated code now exists in graphics.cpp and inventory.cpp.
svn-id: r26123
|
2007-03-13 20:41:40 +00:00 |
|
Nicola Mettifogo
|
33093f3452
|
made hi-level graphics routine use Common::Rect instead of (x,y,w,h) t-uples
svn-id: r26121
|
2007-03-13 19:59:45 +00:00 |
|
Nicola Mettifogo
|
88ed622702
|
moved background path buffer management into walk.cpp
svn-id: r26117
|
2007-03-12 22:52:27 +00:00 |
|
Nicola Mettifogo
|
cf816f54d9
|
removed useless routines (maybe leftovers from the amiga conversion)
svn-id: r26116
|
2007-03-12 22:45:50 +00:00 |
|
Nicola Mettifogo
|
6f0dda093a
|
renamed Graphics class to Gfx and Parallaction::_graphics to Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics
svn-id: r26111
|
2007-03-12 20:41:25 +00:00 |
|
Nicola Mettifogo
|
afc35317f7
|
The only uses for StaticCnv::_data2 were by Get and Door zones, so a new field has been added to those structure and _data2 has been deleted. Some graphic routines has been renamed to better reflect this change, too.
svn-id: r26107
|
2007-03-12 19:58:10 +00:00 |
|
Nicola Mettifogo
|
c80c3e3b3b
|
more robust font management
svn-id: r26068
|
2007-03-10 21:23:22 +00:00 |
|
Nicola Mettifogo
|
479c8bdc18
|
character loading/freeing routines now also handle Heads and Talks, instead of having scattered code around
svn-id: r26059
|
2007-03-10 14:52:33 +00:00 |
|
Nicola Mettifogo
|
62d1f780d5
|
fixed regression: background used to get broken when items were picked up
svn-id: r25981
|
2007-03-04 20:12:55 +00:00 |
|
Nicola Mettifogo
|
b440bc1a03
|
wrapped loader routines into a new class named Disk. The new class is also responsible for handling Archives in place of the Parallaction engine.
svn-id: r25972
|
2007-03-04 13:27:29 +00:00 |
|
Nicola Mettifogo
|
c5e848fb32
|
moved background loading into disk.cpp
svn-id: r25968
|
2007-03-04 10:57:30 +00:00 |
|
Nicola Mettifogo
|
8e7b556e99
|
moved platform-dependant resource loading routines into disk.cpp
svn-id: r25964
|
2007-03-04 09:20:03 +00:00 |
|
Nicola Mettifogo
|
c727205dae
|
replaced memAlloc/memFree with standard malloc/free
svn-id: r25962
|
2007-03-04 08:58:23 +00:00 |
|
Nicola Mettifogo
|
84d2c1782f
|
removed common-case code from loadBackground
svn-id: r25949
|
2007-03-03 10:10:46 +00:00 |
|
Nicola Mettifogo
|
c15310920a
|
loadBackground simplified: palette cycling is still broken, though
svn-id: r25948
|
2007-03-03 10:01:43 +00:00 |
|
Nicola Mettifogo
|
c122d83c0e
|
changed every font name to be platform independent, added font loader routine
svn-id: r25935
|
2007-03-02 22:18:37 +00:00 |
|
Nicola Mettifogo
|
0c39e0e3db
|
replaced calls to loadExternalStaticCnv with separate loaders for Head and Pointer resources
svn-id: r25934
|
2007-03-02 22:12:57 +00:00 |
|
Nicola Mettifogo
|
b2927b69c6
|
changed font handling:
- engine doesn't see font as a low-level Cnv anymore
- the Graphics class takes care of freeing memory on font changes
svn-id: r25900
|
2007-02-27 19:39:33 +00:00 |
|
Nicola Mettifogo
|
c7734857e1
|
made Archive inherit from Common::File, added some methods to comply to interface, changed callers to exploit readByte capabilities
svn-id: r25868
|
2007-02-25 21:40:15 +00:00 |
|
Nicola Mettifogo
|
420a7c5f75
|
made Archive behave more like Common::File, preparing for inheritance
svn-id: r25867
|
2007-02-25 21:04:51 +00:00 |
|
Nicola Mettifogo
|
cacff9a9f2
|
wrapped archive routines into a new class named Archive. File-level static variables have been made members of the new class.
svn-id: r25866
|
2007-02-25 20:35:47 +00:00 |
|
Nicola Mettifogo
|
7c5600724b
|
got rid of ArchievedFile. Since only one single file is being read from the archives at every moment, the ArchivedFile structure used for bookkeeping is useless.
svn-id: r25864
|
2007-02-25 20:12:23 +00:00 |
|
Nicola Mettifogo
|
03099ec1ca
|
more big-endianness fixes
svn-id: r25672
|
2007-02-18 09:26:20 +00:00 |
|
Nicola Mettifogo
|
be878d60db
|
fixed regression bug causing labels not to be aligned properly when near the right border
svn-id: r25665
|
2007-02-17 21:19:55 +00:00 |
|
Nicola Mettifogo
|
b1a63e8a16
|
changed mapChar to use unsigned (byte) instead of char, to avoid possible sign issues
svn-id: r25664
|
2007-02-17 20:54:25 +00:00 |
|
Nicola Mettifogo
|
33d04d5aa4
|
changed CNV loading code to be endian-safe
svn-id: r25663
|
2007-02-17 20:50:50 +00:00 |
|
Torbjörn Andersson
|
f33da9e412
|
Some indentation and format changes. Mostly replacing spaces with tabs.
svn-id: r25654
|
2007-02-17 15:37:49 +00:00 |
|
Eugene Sandulenko
|
d910b545c5
|
More skip_whitespace -> Common::ltrim(). For real now.
svn-id: r25577
|
2007-02-14 00:36:06 +00:00 |
|
Nicola Mettifogo
|
710105d1c1
|
solved 64 bit casting issue from BUG #1648325
svn-id: r25391
|
2007-02-05 12:53:40 +00:00 |
|
Nicola Mettifogo
|
8f084baf66
|
added more debug levels and comments
svn-id: r25386
|
2007-02-04 15:43:45 +00:00 |
|
Nicola Mettifogo
|
5007d82ec7
|
solved array out of bound issue in quickFadePalette
svn-id: r25380
|
2007-02-04 12:14:11 +00:00 |
|
Nicola Mettifogo
|
9832736f9a
|
added game palette static initializers to avoid warnings
svn-id: r25379
|
2007-02-04 11:19:14 +00:00 |
|
Nicola Mettifogo
|
d89bfde4a6
|
oops fixed 64 bit warnings in the last revision
svn-id: r25377
|
2007-02-04 08:26:44 +00:00 |
|
Nicola Mettifogo
|
e3b9bda909
|
changed handling of zone labels to match original engine
svn-id: r25376
|
2007-02-04 08:12:33 +00:00 |
|
Nicola Mettifogo
|
c77ac3380a
|
removed printf's spewing out tons of debug messages
svn-id: r25217
|
2007-01-27 00:20:41 +00:00 |
|
Nicola Mettifogo
|
b5a04fc2df
|
added NULLity checks
svn-id: r25213
|
2007-01-26 23:21:04 +00:00 |
|
Nicola Mettifogo
|
c12fe85922
|
fixed occasional border issues in inventory
svn-id: r25145
|
2007-01-21 11:00:07 +00:00 |
|
Nicola Mettifogo
|
79d98bf52a
|
made _glyphWidths only referenced into graphics.cpp
svn-id: r25096
|
2007-01-15 21:58:51 +00:00 |
|
Nicola Mettifogo
|
a90529c323
|
enforced MemoryReadStream usage instead of custom byte swapping in background loading
svn-id: r25094
|
2007-01-15 20:46:06 +00:00 |
|
Eugene Sandulenko
|
e5c7ce83b8
|
Initial import of Parallaction engine
svn-id: r25083
|
2007-01-14 21:29:12 +00:00 |
|