NagyD / SDLPoP

An open-source port of Prince of Persia, based on the disassembly of the DOS version.
GNU General Public License v3.0
1.1k stars 140 forks source link

Pixel placements of VDUNGEON res png files #317

Open st203 opened 3 months ago

st203 commented 3 months ago

Hello - How do you figure out the pixel placements in a particular room/level that uses the png files found in the VDUNGEON folder? I am trying to render some of the scenes using Pygame.

NagyD commented 2 months ago

The code for drawing a room is in seg008.c .

Although tile_table (of type struct piece) contains much information about how to draw the static parts, that table not enough by itself.