File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed
Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ extern "C"
4141 #define CPP_EXTERN
4242#endif
4343
44- /// @brief Adds the definition for cod4x server and plugin export.
4544#define EXPORT (type , definition ) \
4645 type definition; \
4746 type Plugin_##definition
@@ -74,7 +73,7 @@ extern "C"
7473#define IsObject (var ) ((var->w.type & VAR_MASK) >= VAR_THREAD)
7574#define IsObjectVal (var ) ((var->type & VAR_MASK) >= VAR_THREAD)
7675
77- // clang-format off
76+ // clang-format off
7877enum GSCTypeFlag
7978{
8079 FLAG_UNDEFINED = 1 ,
@@ -124,7 +123,7 @@ typedef struct
124123 uint32_t length ;
125124 VariableValue * items ;
126125} VariableValueArray ;
127- // clang-format on
126+ // clang-format on
128127
129128#include "extensions/functions.h"
130129#include "extensions/variables.h"
Original file line number Diff line number Diff line change @@ -30,18 +30,12 @@ __attribute__((unused)) scrVmPub_t gScrVmPub = { 0 };
3030__attribute__((unused )) struct scrVmGlob_t gScrVmGlob = { 0 };
3131__attribute__((unused )) scrVarPub_t gScrVarPub ;
3232
33- /// @brief Get the object type.
34- /// @param id - The object id.
35- /// @return
3633unsigned int Scr_GetObjectType (unsigned int id )
3734{
3835 assert ((IGScrVarGlob [VARIABLELIST_PARENT_BEGIN + id ].w .status & VAR_STAT_MASK ) != VAR_STAT_FREE );
3936 return VAR_TYPE ((& IGScrVarGlob [id + VARIABLELIST_PARENT_BEGIN ]));
4037}
4138
42- /// @brief Get the array size.
43- /// @param id - The array id.
44- /// @return
4539int GetArraySize (int id )
4640{
4741 VariableValueInternal * entryValue ;
Original file line number Diff line number Diff line change 22
33#if CGSC_EQ (4 )
44
5- /// @brief Add a function pointer to the GSC stack.
6- /// @param codePosValue - The code pos value.
75void Scr_AddFunc (const char * codePosValue )
86{
97 IncInParam ();
You can’t perform that action at this time.
0 commit comments