fix: crash with hl25 structs on xash3d again
fix: %t placeholder should return damage inflictor when used in team attack section of chat fix: all arguments in bot commands are lowercased (resolves #680) bot: disable threads when engine's timescale is active bot: a little refactor for the code all over the places linkage: resolved crash due to sse alignment on ancient engines (resolves #614) utils move wave parse into crlib practice: move loading practice to thread pool build: allow to build with static linkents instead of hooking dlsym Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
parent
24be4479de
commit
38c45aff9a
37 changed files with 348 additions and 304 deletions
19
inc/graph.h
19
inc/graph.h
|
|
@ -189,11 +189,12 @@ public:
|
|||
SmallArray <Path> m_paths {};
|
||||
HashMap <int32_t, Array <int32_t>, EmptyHash <int32_t>> m_hashTable {};
|
||||
|
||||
String m_graphAuthor {};
|
||||
String m_graphModified {};
|
||||
|
||||
ExtenHeader m_extenHeader {};
|
||||
StorageHeader m_graphHeader {};
|
||||
struct GraphInfo {
|
||||
String author {};
|
||||
String modified {};
|
||||
ExtenHeader exten {};
|
||||
StorageHeader header {};
|
||||
} m_info {};
|
||||
|
||||
edict_t *m_editor {};
|
||||
|
||||
|
|
@ -270,11 +271,11 @@ public:
|
|||
|
||||
public:
|
||||
StringRef getAuthor () const {
|
||||
return m_graphAuthor;
|
||||
return m_info.author;
|
||||
}
|
||||
|
||||
StringRef getModifiedBy () const {
|
||||
return m_graphModified;
|
||||
return m_info.modified;
|
||||
}
|
||||
|
||||
bool hasChanged () const {
|
||||
|
|
@ -339,12 +340,12 @@ public:
|
|||
|
||||
// set exten header from binary storage
|
||||
void setExtenHeader (ExtenHeader *hdr) {
|
||||
memcpy (&m_extenHeader, hdr, sizeof (ExtenHeader));
|
||||
memcpy (&m_info.exten, hdr, sizeof (ExtenHeader));
|
||||
}
|
||||
|
||||
// set graph header from binary storage
|
||||
void setGraphHeader (StorageHeader *hdr) {
|
||||
memcpy (&m_graphHeader, hdr, sizeof (StorageHeader));
|
||||
memcpy (&m_info.header, hdr, sizeof (StorageHeader));
|
||||
}
|
||||
|
||||
// gets the node numbers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue