build: reworked build and package to simplify process

build: reworked build and package to simplify process
build: windows dll is now compiled by clang, msvc build added to extras package
fix: clear all the implicit conversions in the code (also fixed some bugs)
fix: crash on  never xash3d-fwgs engine
fix: fixed bad bot behaviors on aarch64
fix: crash on some maps due to missing previous node
fix: finally removed memset(this) within bot creatin
This commit is contained in:
jeefo 2023-04-02 12:17:12 +03:00 committed by GitHub
commit 53df621dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 1004 additions and 949 deletions

View file

@ -21,15 +21,15 @@ CR_DECLARE_SCOPED_ENUM (Noise,
class BotSupport final : public Singleton <BotSupport> {
private:
bool m_needToSendWelcome;
float m_welcomeReceiveTime;
bool m_needToSendWelcome {};
float m_welcomeReceiveTime {};
StringArray m_sentences;
SmallArray <Client> m_clients;
SmallArray <Twin <String, String>> m_tags;
StringArray m_sentences {};
SmallArray <Client> m_clients {};
SmallArray <Twin <String, String>> m_tags {};
HashMap <int32, String> m_weaponAlias;
HashMap <String, int32> m_noiseCache;
HashMap <int32, String> m_weaponAlias {};
HashMap <String, int32> m_noiseCache {};
Detour <decltype (sendto)> m_sendToDetour { "ws2_32.dll", "sendto", sendto };
public: