Commit Graph

17 Commits

Author SHA1 Message Date
cd548cc83d Also fix read_file_bin. 2022-04-26 22:41:33 +02:00
269de98d22 Resize the string in Directory::read_file(). 2022-04-26 22:41:03 +02:00
65b089386c Added binary file load, and save methods to Directory. 2022-02-15 18:09:30 +01:00
bfec926e60 Re-enabled skip specials logic in Directory. 2022-02-05 14:00:07 +01:00
8e49115f09 Reworked directory listing. Now only next need to be called in a while loop. 2022-02-05 13:56:30 +01:00
37fe94f99e Improvements to the directory class. 2022-02-05 02:45:11 +01:00
5097d210d3 Renamed a few method in Directory. 2022-02-04 23:36:04 +01:00
5292da82ba Now read_file_into in Directory will return an Error. 2022-02-04 23:33:39 +01:00
ef06a9e57d Set skip specials to true by default. 2022-02-04 23:27:37 +01:00
0669bbbe55 Added a new open method to the directory class, and changed current_is_directory to current_is_dir. 2022-02-04 23:25:09 +01:00
b38b2f4755 Added a directory class to the core. It's directly using tinydir for now. 2022-02-04 23:17:46 +01:00
acfa601c80 Properly process the last main arg in arg parser. 2021-11-14 02:36:59 +01:00
8bd6f0aea6 Added a new execute method to Platform, and moved the execute method from the crash handler to platform linux. 2021-11-09 19:46:08 +01:00
d8db74b0ed Added a virtual get_executable_path method to Platform. 2021-11-09 19:27:43 +01:00
0bca7735e1 Added a new Platform class. 2021-11-09 17:47:51 +01:00
d637c2132c Added a super simple arg parser. 2021-11-09 17:47:39 +01:00
c21a86c9d2 Initial platform setup, and added godot's crash handler (will need to be heavily reworked!). 2021-11-03 15:42:16 +01:00