Initial gamelib integration AAS2 with some animation and physics and another integration pass on idLib.

This commit is contained in:
Justin Marshall
2026-08-09 03:52:45 -07:00
parent cdf7d52214
commit 6d92a71d19
111 changed files with 15204 additions and 2275 deletions
+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include "csystems/autocomplete.h"
using commandLinkFunction_t = void (*)(const idCmdArgs& args);
using commandLinkCompletion_t = void (*)(idAutoComplete& completion);
class idCommandLink {
public:
idCommandLink(const char* commandName, commandLinkFunction_t function,
const char* description,
commandLinkCompletion_t argumentCompletion = nullptr);
idCommandLink* next;
const char* cmdName_;
commandLinkFunction_t function_;
const char* description_;
commandLinkCompletion_t argCompletion_;
};
idCommandLink* CommandLinks();
#if INTPTR_MAX == INT32_MAX
static_assert(sizeof(idCommandLink) == 20,
"Recovered idCommandLink layout changed");
#endif