Commit graph

17 commits

Author SHA1 Message Date
crumblingstatue
cc7a0d8b9b Fix screen offset calculation when drawing tiles 2023-04-03 10:37:02 +02:00
crumblingstatue
2a2c8f721c Eliminate negative coordinates
They were making coordinate calculations more difficult,
and probably slower due to having to special case negative coordinates
2023-04-03 10:32:20 +02:00
crumblingstatue
67b2098ffb Remove unused commented out code 2023-04-02 17:17:31 +02:00
crumblingstatue
7dba1b22e3 Fix world pos to tile pos calculation for negative values 2023-04-02 12:10:11 +02:00
crumblingstatue
62bd6b2c7c Fix local tile offset calculation for large coordinates 2023-04-02 11:53:54 +02:00
crumblingstatue
38699c9d09 Take into account negative coords in chunk offset calculations 2023-04-02 10:21:57 +02:00
crumblingstatue
49c47ac718 Super basic map rendering 2023-04-02 00:30:03 +02:00
crumblingstatue
5e539d668f Render some tiles 2023-04-01 23:43:46 +02:00
crumblingstatue
7a3018c2b1 Use the world "tile" instead of "block" 2023-04-01 21:03:09 +02:00
crumblingstatue
fbc7e35f9e Add tile graphic 2023-04-01 21:01:14 +02:00
crumblingstatue
d78726eb5b Add some world defs 2023-04-01 20:12:09 +02:00
crumblingstatue
608f8f9f9f design: Remove width limit 2023-04-01 19:38:19 +02:00
crumblingstatue
c382ad21bf design: Add some details 2023-04-01 17:55:53 +02:00
crumblingstatue
ebf45e3c15 Add some clarifications to premise 2023-04-01 17:33:59 +02:00
crumblingstatue
1011009d46 Add design doc 2023-04-01 17:33:25 +02:00
crumblingstatue
98d3634455 Center window on startup 2023-04-01 15:07:58 +02:00
crumblingstatue
d5c9e24201 Initial commit
Basic skeleton
2023-04-01 14:51:52 +02:00