Determine the RLE format for .obj file sprite pixeldata

This commit is contained in:
2018-09-08 02:00:03 +01:00
parent 5cd1a19b86
commit 056976721c
9 changed files with 219 additions and 48 deletions

View File

@@ -42,9 +42,10 @@ The `view-map` binary attempts to render a map, and is the current focus of
effort. Once I can render a whole map, including pre-placed characters (cultist
scum), things can start to get more interesting.
Current status: map tiles are rendered at correct offsets. Tiles (four per
coordinate: floor, centre, left, and right) are rendered, but the pixels for
those tiles are not 100% accurate.
Current status: map tiles are rendered at correct offsets. Static objects (four
per map coordinate: floor, centre, left, and right) are rendered mostly fine,
although objects at each Z level don't *quite* stack correctly on top of each
other yet.
Characters and animations aren't touched at all yet. Rendering performance is
atrocious. No gameplay, no sound, no campaign logic. Interaction with the play
@@ -59,6 +60,10 @@ $ make view-map
$ ./view-map -map orig/Maps/Chapter01.MAP -txt orig/Maps/Chapter01.TXT
```
Looks like this:
![](doc/formats/img/chapter01_rendered_2018-09-08.png)
Use the arrow keys to scroll around the map, the mouse wheel to zoom, and the
`1` - `7` keys to change Z level.