Skip to content

Commit

Permalink
Update Readme.MD for sobj
Browse files Browse the repository at this point in the history
there are 5 unknown bytes in each sobj that isn't referenced in the readme.  See the link below for the lines of code where we skip over those 5 bytes

https://github.com/DizzyThermal/TKViewer/blob/96e1b0edbe4d64b74c16b6ab9c2e094552fd3dbb/src/main/java/com/gamemode/tkviewer/file_handlers/SObjTblFileHandler.java#L37
  • Loading branch information
rbcastner authored May 28, 2020
1 parent 96e1b0e commit 411e83b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ short unknown (2 bytes) # unkno
object[object_count] (obj_count * obj_size bytes) # list of object structures
typedef struct {
int unknown (4 bytes) # unknown byte (typically 0xFFFFFFFF)
byte unknown (1 byte) # unknown byte (typically 0x00)
byte movement_directions (1 byte) # movement directions for static object (see list below)
byte tile_count (1 byte) # number of tiles in static object
short[tile_count] (tile_count * 2 bytes) # list of tile indicies for static object
Expand Down

0 comments on commit 411e83b

Please sign in to comment.