Commit Graph

8 Commits

Author SHA1 Message Date
Alexander Batalov ac64fde502 Fix object rendering
Previous solution did not work well on high resolutions due to
incorrect tile calculations - was not updating edges and sometimes
hanged in endless loop trying to find upper-left or bottom-right
tiles.

New solution follows Sfall's HRP implementation.
2023-01-05 05:59:45 +03:00
Alexander Batalov 18afce71b0 Review tile_fill_roof 2022-12-20 15:10:42 +03:00
Alexander Batalov 4821cab724 Review tileSetCenter flags 2022-10-29 18:52:22 +03:00
Alexander Batalov 9bb053b3ba
Add namespace (#155) 2022-09-23 15:43:44 +03:00
Alexander Batalov 7658a41f64 Cleanup tile.h
See #42
2022-06-19 08:02:47 +03:00
Jan Šimek ad1fb7765b
Remove the use of stdbool (#19)
It should not be needed anymore after the migration to C++
2022-05-28 06:55:42 +03:00
Alexander Batalov 2446621719 Rename tile stuff 2022-05-24 01:37:46 +03:00
Alexander Batalov 55661742a2 Initial commit 2022-05-19 11:51:26 +03:00