Commit Graph

25 Commits

Author SHA1 Message Date
KikooDX 3c084730b2 Command line argument ; take path to open and/or save to.
+ README.md update
2021-02-24 23:54:24 +01:00
KikooDX 0f318e509e Add versioning byte. Remove bloat goal from README.md
I don't want to ever use this, but if someone want to add weird stuff
to this format I think it's for the best to do this.
2021-02-24 18:14:38 +01:00
KikooDX 5abd8cbff3 Bindings for saving/loading (read/write)! 2021-02-24 15:48:32 +01:00
KikooDX f24b6340a2 Two ways level loading/saving works perfectly! Very nice :D 2021-02-24 15:22:59 +01:00
KikooDX 572c94f78f Level loading functionnal. 2021-02-24 12:20:38 +01:00
KikooDX 6d732d65b1 Sample file should now be correct, added check in level loading. 2021-02-24 10:52:54 +01:00
KikooDX 98bfeb385b Open file in relative or absolute path. Delete useless conf code. 2021-02-24 09:30:48 +01:00
KikooDX 63ebdee01f Framing out level loading and specify KBLE file format 2021-02-23 11:44:51 +01:00
KikooDX 989502edf9 Cleaned up code, implemented rectangle selection. 2021-02-02 14:49:50 +01:00
KikooDX 47a05d56f1 Custom colors, initialize level with void. 2021-02-01 12:50:11 +01:00
KikooDX 170409c014 Out of bounds cursor safety + update README.md with mouse controls 2021-02-01 00:40:43 +01:00
KikooDX 8fc2e3fefb Mouse support. Yes, I hate myself for this one. 2021-02-01 00:30:28 +01:00
KikooDX 1ebed24110 Create conf.zig, verb.zig ; clean up stuff and add replace verb + move... but don't 2021-01-31 00:09:08 +01:00
KikooDX e54660228a Decent colorscheme. 2021-01-29 19:10:14 +01:00
KikooDX 6cd12f6333 Add MIT license notice at the top of source files. 2021-01-29 12:32:38 +01:00
KikooDX 178d6e53df First action (delete) for testing, misc improvements here and there. 2021-01-28 17:06:03 +01:00
KikooDX 0519e630d8 Meh zoom implementation. 2021-01-28 16:12:41 +01:00
KikooDX 0b52b35238 Big commit, selection structure and code. 2021-01-28 13:46:02 +01:00
KikooDX 900586d374 Fix integer overflow, add selection buffer. 2021-01-27 12:06:33 +01:00
KikooDX cf65e74492 Use a more appropriate allocator for level buffer.
Switched from General Purpous to Arena allocator.
2021-01-26 23:38:41 +01:00
KikooDX 0a94deded4 Base level draw code + lot of stuff arround it. 2021-01-26 17:44:40 +01:00
KikooDX 44a2333093 Added docstrings to structure functions. 2021-01-26 14:46:32 +01:00
KikooDX c07858308a Cleaner module format. 2021-01-26 14:10:29 +01:00
KikooDX 98eb7ad4e7 Level uses memory allocation + LICENSE file 2021-01-26 13:10:16 +01:00
KikooDX 9795160001 WIP level struct 2021-01-25 19:07:48 +01:00