103 Commits

Author SHA1 Message Date
Bendegúz Nagy
de3bb231d7 DM: Add dummy cursor display 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ad8fbaa118 DM: Add event manager 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
3ca7622a6c DM: Fix wrong MemoryReadStream size when loading dungeon.dat 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
6ffca3a7db DM: Forgot to commit these lines earlier 2016-08-26 23:02:22 +02:00
Strangerke
bdc57056cd DM: Move some structs to header in gfx 2016-08-26 23:02:22 +02:00
Strangerke
442d417140 DM: Fix some warnings 2016-08-26 23:02:22 +02:00
Strangerke
35677f1c82 DM: Fix Frame initializations 2016-08-26 23:02:22 +02:00
Strangerke
24c7c1e905 DM: Fix some compilation errors under MSVC9 2016-08-26 23:02:22 +02:00
WinterGrascph
b9935dfddc DM: Add blitToBitmapShrinkWithPalChange 2016-08-26 23:02:22 +02:00
WinterGrascph
ab1e17257c DM: Add isDrawnWallOrnAnAlcove function 2016-08-26 23:02:22 +02:00
WinterGrascph
02c0487b57 DM: Add decodeText function 2016-08-26 23:02:22 +02:00
WinterGrascph
3a85c56581 DM: Add decodeText dependencies 2016-08-26 23:02:22 +02:00
WinterGrascph
082e3fb37c DM: Add global variable dependencies for isDrawnWallOrnAnAlcove 2016-08-26 23:02:22 +02:00
WinterGrascph
3ada56f6b1 DM: Add stairs display 2016-08-26 23:02:22 +02:00
WinterGrascph
f591cbbcf3 DM: Add dummy movement code for testing 2016-08-26 23:02:22 +02:00
WinterGrascph
807fda8a9a DM: Add wall flipping display 2016-08-26 23:02:22 +02:00
WinterGrascph
9655066a06 DM: getSquareAspect(..) is complete 2016-08-26 23:02:22 +02:00
WinterGrascph
d9bb44eeb9 DM: Add the partial drawing of dungeonwalls 2016-08-26 23:02:22 +02:00
WinterGrascph
134b482e60 DM: Add flipped wall bitmaps 2016-08-26 23:02:22 +02:00
WinterGrascph
e3136f4247 DM: Add viewsquare enum 2016-08-26 23:02:22 +02:00
WinterGrascph
d49c081785 DM: Fix loadDungeonFile(..) zero sized array allocation 2016-08-26 23:02:22 +02:00
WinterGrascph
7ddd96bc60 DM: Fix destructor and allocation issues in DungeonMan and DisplayMan 2016-08-26 23:02:22 +02:00
WinterGrascph
909ec36edf DM: Fix loading map data in loadDungeonFile(..) 2016-08-26 23:02:22 +02:00
WinterGrascph
2e9483cf2e DM: Fix dungeon.dat file loading 2016-08-26 23:02:22 +02:00
WinterGrascph
f21a9197a6 DM: Fix file loading dependancy 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
73a7cba589 DM: Fix bug with uninitialized _currMap.index and file loading order 2016-08-26 23:02:22 +02:00
WinterGrascph
a8c82c1e94 DM: Add some draw dungeon dependencies
I forgot to do commits and it was already too late to revert back the
changes I've because they were too numerous.
2016-08-26 23:02:22 +02:00
WinterGrascph
6d5f8e2757 DM: Add wrapper class around raw map bytes 2016-08-26 23:02:22 +02:00
WinterGrascph
253730787d DM: Finish implementing ornament masks in DungeonMan::getSquare 2016-08-26 23:02:22 +02:00
WinterGrascph
f39b22f321 DM: Refactor Thing POD 2016-08-26 23:02:22 +02:00
WinterGrascph
05fbf0b358 DM: Add dungeonman.o to module.mk, fix _bitmaps memory leak 2016-08-26 23:02:22 +02:00
WinterGrascph
af6e6ca468 DM: Refactor Frame POD 2016-08-26 23:02:22 +02:00
WinterGrascph
16199b4091 DM: Add loadWallSet(..) and loadFloorSet(..) 2016-08-26 23:02:22 +02:00
WinterGrascph
bf78e63d2e DM: Add missing cross-references in gfx.h 2016-08-26 23:02:22 +02:00
WinterGrascph
853b87f19e DM: Add drawDungeon test code 2016-08-26 23:02:22 +02:00
WinterGrascph
8172a07d1a DM: Add square query in DungeonMan 2016-08-26 23:02:22 +02:00
WinterGrascph
68f13e8462 DM: Implement F0173_DUNGEON_SetCurrentMap 2016-08-26 23:02:22 +02:00
WinterGrascph
4f9182507a DM: Implement Dungeon.dat file parsing, add relevant structures 2016-08-26 23:02:22 +02:00
WinterGrascph
a8434fc165 DM: Add support for viewports with blitting 2016-08-26 23:02:22 +02:00
WinterGrascph
98a4379244 DM: Delete TOBE2 macro, use READ_BE_UINT16 instead 2016-08-26 23:02:22 +02:00
WinterGrascph
9823845c99 DM: Fix constant and global variable names according to coding conventions 2016-08-26 23:02:22 +02:00
WinterGrascph
64371787e2 DM: Rewrite blitting methods, revise FRAME POD 2016-08-26 23:02:22 +02:00
WinterGrascph
c725fdec9e DM: Add horizontal and vertical bitmap flipping 2016-08-26 23:02:22 +02:00
WinterGrascph
18ff2e9940 DM: Refactor DisplayMan::DrawFrame and Frame POD 2016-08-26 23:02:22 +02:00
WinterGrascph
cb2bb82b32 DM: Add support for transparency in blitting 2016-08-26 23:02:22 +02:00
WinterGrascph
77cd7df08d DM: Add support for drawing portions of bitmaps
Create Frame structure and drawFrame(..) convenience method, also
DisplayMan unpacks all the bitmaps with unpackGraphics()
2016-08-26 23:02:22 +02:00
WinterGrascph
4a8b34e993 DM: Add the original palettes, edit palette loading accordingly 2016-08-26 23:02:22 +02:00
WinterGrascph
66c55db9f0 DM: Fix typos and whitespace 2016-08-26 23:02:22 +02:00
WinterGrascph
b7987d84c1 DM: Fix memory leak in dm.cpp and gfx.cpp 2016-08-26 23:02:22 +02:00
WinterGrascph
cdf377f7a7 DM: Add support for Dungeon.dat uncompression
Add DungeonMan class with support for loading and uncompressing
Dungeon.dat file into memory
2016-08-26 23:02:22 +02:00