Cleanup and get rid of many warnings when compiling with stricter warnings (#578)

* Mini improvements

* Fix some splits

* Remove last comma from enums

* Fix symbols

* Fix some headers and missing prototypes

* Replace most of f32 with float

* Replace most of Point3d with Vec

* Add missing esprite include with guard

* Add HuSetVecF to ext_math behind a guard

* More includes
This commit is contained in:
dbalatoni13 2025-04-01 07:11:31 +02:00 committed by GitHub
parent 4b0737d49c
commit 887cb00c5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 1662 additions and 1545 deletions

View file

@ -28,13 +28,13 @@ enum __file_kinds {
__disk_file,
__console_file,
__string_file,
__unavailable_file,
__unavailable_file
};
enum __file_orientation {
/* 0x0 */ UNORIENTED,
/* 0x1 */ CHAR_ORIENTED,
/* 0x2 */ WIDE_ORIENTED,
/* 0x2 */ WIDE_ORIENTED
};
typedef struct _file_modes {
@ -50,20 +50,20 @@ enum __io_modes {
__read = 1,
__write = 2,
__read_write = 3,
__append = 4,
__append = 4
};
enum __io_states {
__neutral,
__writing,
__reading,
__rereading,
__rereading
};
enum __io_results {
__no_io_error,
__io_error,
__io_EOF,
__io_EOF
};
typedef struct _file_states {