You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added all pooled strings.
* Updated lua_typename
* Allow one to directly use the ILuaInterface instead of the ILuaBase
* Update some GarrysMod files
* Update some args in GarrysMod files
* Also update this file
* Fix a typo
* Update the Windows symbol
* Requested changes + Updated some things
* Misc changes
Update VS version compatibility
---------
Co-authored-by: Daniel <[email protected]>
// The purpose of all members that start with _ are unknown
136
140
int _1; // Always 1?
137
-
constchar* m_sCurrentPath;
141
+
constchar *m_sCurrentPath;
138
142
int _2; // Always 16?
139
143
int _3; // Always 0?
140
144
int m_iPushedPaths;
141
-
constchar* m_sLastPath;
145
+
constchar *m_sLastPath;
142
146
std::list<ILuaThreadedCall*> m_pThreadedCalls;
143
147
144
148
#ifdef __APPLE__
@@ -147,51 +151,17 @@ namespace GarrysMod
147
151
148
152
#endif
149
153
150
-
ILuaObject* m_pProtectedFunctionReturns[4];
151
-
ILuaObject* m_pTempObjects[32];
154
+
ILuaObject *m_pProtectedFunctionReturns[4];
155
+
ILuaObject *m_pTempObjects[32];
152
156
unsignedchar m_iRealm; // CLIENT = 0, SERVER = 1, MENU = 2
153
-
ILuaGameCallback* m_pGameCallback;
157
+
ILuaGameCallback *m_pGameCallback;
154
158
char m_sPathID[32]; // lsv, lsc or LuaMenu
155
159
int m_iCurrentTempObject;
156
-
ILuaObject* m_pGlobal;
157
-
ILuaObject* m_pStringPool;
158
-
// But wait, there's more. In the next fields the metatables objects are saved, but idk if it just has a field for each metatable or if it uses a map.
159
-
char _5[40];
160
-
ILuaObject* m_pWeaponMeta;
161
-
ILuaObject* m_pVectorMeta;
162
-
ILuaObject* m_pAngleMeta;
163
-
ILuaObject* m_pPhysObjMeta;
164
-
ILuaObject* m_pISaveMeta;
165
-
ILuaObject* m_pIRestoreMeta;
166
-
ILuaObject* m_pCTakeDamageInfoMeta;
167
-
ILuaObject* m_pCEffectDataMeta;
168
-
ILuaObject* m_pCMoveDataMeta;
169
-
ILuaObject* m_pCRecipientFilterMeta;
170
-
ILuaObject* m_pCUserCmd;
171
-
ILuaObject* _6; // Unknown.
172
-
ILuaObject* m_pIMaterialMeta;
173
-
ILuaObject* m_pPanelMeta;
174
-
ILuaObject* m_pCLuaParticleMeta;
175
-
char _7[3];
176
-
ILuaObject* m_pITextureMeta;
177
-
ILuaObject* m_pBf_readMeta;
178
-
ILuaObject* m_pConVarMeta;
179
-
ILuaObject* m_pIMeshMeta;
180
-
ILuaObject* m_pVMatrixMeta;
181
-
ILuaObject* m_pCSoundPatchMeta;
182
-
ILuaObject* m_pPixelvis_handle_tMeta;
183
-
ILuaObject* m_pDlight_tMeta;
184
-
ILuaObject* m_pIVideoWriterMeta;
185
-
ILuaObject* m_pFileMeta;
186
-
ILuaObject* m_pCLuaLocomotionMeta;
187
-
ILuaObject* m_pPathFollowerMeta;
188
-
ILuaObject* m_pCNavAreaMeta;
189
-
ILuaObject* m_pIGModAudioChannelMeta;
190
-
ILuaObject* m_pCNavLadderMeta;
191
-
ILuaObject* m_pCNewParticleEffectMeta;
192
-
ILuaObject* m_pProjectedTextureMeta;
193
-
ILuaObject* m_pPhysCollideMeta;
194
-
ILuaObject* m_pSurfaceInfoMeta;
160
+
ILuaObject *m_pGlobal;
161
+
ILuaObject *m_pStringPool;
162
+
unsignedchar m_iMetaTableIDCounter;
163
+
// Their index is based off their type. means m_MetaTables[Type::Entity] returns the Entity metatable though they can be NULL as its only filled by CreateMetaTableType.
0 commit comments