fix: startup on hlds_l 3111e (still needs nosmid)

build: add option to build bot without any smid instructions
refactor: fix static analyzer warnings
crlib: update submodule (fix double anglevectors call)
This commit is contained in:
jeefo 2024-10-27 20:51:37 +03:00
commit c7c5e0eaf9
No known key found for this signature in database
GPG key ID: D696786B81B667C8
14 changed files with 92 additions and 70 deletions

View file

@ -100,19 +100,19 @@ struct PODGraphHeader {
// defines linked nodes
struct PathLink {
Vector velocity;
int32_t distance;
uint16_t flags;
int16_t index;
Vector velocity {};
int32_t distance {};
uint16_t flags {};
int16_t index {};
};
// define graph path structure for yapb
struct Path {
int32_t number, flags;
Vector origin, start, end;
float radius, light, display;
PathLink links[kMaxNodeLinks];
PathVis vis;
int32_t number {}, flags {};
Vector origin {}, start {}, end {};
float radius {}, light {}, display {};
PathLink links[kMaxNodeLinks] {};
PathVis vis {};
};
// define waypoint structure for podbot (will convert on load)