Commit Graph

27 Commits

Author SHA1 Message Date
dani 0d209125f0 ... forgot to disable debugging code <_< 2023-07-09 23:46:15 +00:00
dani 9b59214c1d optimised draw to screen, and prepared for threaded 2023-07-09 23:45:12 +00:00
dani 09dada68a9 fixed data taking mut self 2023-07-09 23:18:02 +00:00
dani abc2d4b1f9 target fps parameter to run 2023-07-09 22:37:23 +00:00
dani b528c6adbe idx_size and cood_to_idx 2023-07-06 14:41:36 +00:00
dani c18b32660a fixed Distribution 2023-07-06 14:13:55 +00:00
dani 36bcdd1518 implemented Distribution for Direction 2023-07-06 14:06:27 +00:00
dani ecaeceb1e7 added neighbours to hexmap 2023-07-06 13:53:36 +00:00
dani 3aac7e87ab cleanup 2023-07-03 14:52:13 +00:00
dani 1e80472c96 add hexmap coord_to_pixel 2023-07-03 14:47:05 +00:00
dani 6fc78f924c haaacky pixel->coord conversion 2023-07-03 14:41:34 +00:00
dani a9ffc9bc6f added console 2023-07-02 20:16:18 +00:00
dani d264935ca3 made vec2 and rect nicer :) 2023-07-02 12:01:07 +00:00
dani efe476fdda added some traits to Vec2 2023-07-02 11:21:50 +00:00
dani 707a71b432 lifetimes are too hard, assets are now ref-counted 2023-07-02 08:54:24 +00:00
dani 150233728c added tileset support 2023-07-02 07:40:29 +00:00
dani cb668400f4 added Image::draw_image_partial 2023-07-01 21:18:28 +00:00
dani 10f6dc1a05 trying to figure out how i want hexmap to work 2023-07-01 21:12:44 +00:00
dani 799f679be6 fps lock and integer pixel scaling and letterboxing 2023-07-01 20:33:39 +00:00
dani a8aecacbdf added load_data for image 2023-07-01 18:42:02 +00:00
dani 2ee1c46cb9 swapped out pixels for softbuffer 2023-07-01 18:25:09 +00:00
dani 3d39d0a04f stuff 2023-07-01 17:33:50 +00:00
dani b313c473ac started implementing hexmap 2023-07-01 14:36:51 +00:00
dani ee2eb7c34d made Vec2's T ToPrimitive 2023-07-01 14:36:32 +00:00
dani 36c8b87d47 added Vec2::size 2023-07-01 14:07:07 +00:00
dani c223a2d900 cleanup 2023-07-01 11:02:29 +00:00
dani 45962a19cd initial commit? <_< forgor'd 2023-07-01 10:44:21 +00:00