Commit Graph
230 Commits
Author SHA1 Message Date
Strangerke bdc57056cd DM: Move some structs to header in gfx 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 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 807fda8a9a DM: Add wall flipping display 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 7ddd96bc60 DM: Fix destructor and allocation issues in DungeonMan and DisplayMan 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 253730787d DM: Finish implementing ornament masks in DungeonMan::getSquare 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 853b87f19e DM: Add drawDungeon test code 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 b7987d84c1 DM: Fix memory leak in dm.cpp and gfx.cpp 2016-08-26 23:02:22 +02:00
WinterGrascph 055e789d04 DM: Create DisplayMan, add support parsing IMG0 files
Add display manager named DisplayMan with functions: setUpScreens(),
loadGraphics() (which loads graphics from the graphics.dat file),
setPalette(..), loadIntoBitmap(..) which loads the requested image into a
bitmap and blitToScreen(..)
2016-08-26 23:02:22 +02:00