Skip to content

Commit c05290c

Browse files
authored
Update CResourceChecker.Data.cpp for 1.5.8's features (#1706)
1 parent 8aa3294 commit c05290c

File tree

1 file changed

+57
-17
lines changed

1 file changed

+57
-17
lines changed

Server/mods/deathmatch/logic/CResourceChecker.Data.h

Lines changed: 57 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -192,23 +192,47 @@ namespace
192192
{"guiFocus", "1.5.6-9.16361"},
193193
{"getPedFightingStyle", "1.5.6-9.16362"},
194194
{"onClientElementModelChange", "1.5.6-9.16404"},
195-
{"setPedFightingStyle", "1.5.7-9.20157"},
196-
{"setPedArmor", "1.5.7-9.20157"},
197-
{"areVehicleLightsOn", "1.5.7-9.20157"},
198-
{"dxDrawPrimitive3D", "1.5.7-9.20157"},
199-
{"dxDrawMaterialPrimitive3D", "1.5.7-9.20157"},
200-
{"engineGetModelPhysicalPropertiesGroup", "1.5.7-9.20157"},
201-
{"engineSetModelPhysicalPropertiesGroup", "1.5.7-9.20157"},
202-
{"engineRestoreModelPhysicalPropertiesGroup", "1.5.7-9.20157"},
203-
{"engineSetObjectGroupPhysicalProperty", "1.5.7-9.20157"},
204-
{"engineGetObjectGroupPhysicalProperty", "1.5.7-9.20157"},
205-
{"engineRestoreObjectGroupPhysicalProperties", "1.5.7-9.20157"},
206-
{"engineRequestModel", "1.5.7-9.20157"},
207-
{"engineFreeModel", "1.5.7-9.20157"},
208-
{"xmlLoadString", "1.5.7-9.20157"},
195+
196+
// Features added in 1.5.8
197+
{"setPedFightingStyle", "1.5.7-9.19626"},
198+
{"setPedArmor", "1.5.7-9.19626"},
199+
{"areVehicleLightsOn", "1.5.7-9.19626"},
200+
{"dxDrawPrimitive3D", "1.5.7-9.19626"},
201+
{"dxDrawMaterialPrimitive3D", "1.5.7-9.19626"},
202+
{"engineGetModelPhysicalPropertiesGroup", "1.5.7-9.19626"},
203+
{"engineSetModelPhysicalPropertiesGroup", "1.5.7-9.19626"},
204+
{"engineRestoreModelPhysicalPropertiesGroup", "1.5.7-9.19626"},
205+
{"engineSetObjectGroupPhysicalProperty", "1.5.7-9.19626"},
206+
{"engineGetObjectGroupPhysicalProperty", "1.5.7-9.19626"},
207+
{"engineRestoreObjectGroupPhysicalProperties", "1.5.7-9.19626"},
208+
{"xmlLoadString", "1.5.7-9.19626"},
209+
{"engineRequestModel", "1.5.7-9.20147"},
210+
{"engineFreeModel", "1.5.7-9.20147"},
209211
{"getRemoteRequests", "1.5.7-9.20307"},
210212
{"getRemoteRequestInfo", "1.5.7-9.20307"},
211213
{"abortRemoteRequest", "1.5.7-9.20307"},
214+
{"dxDrawWiredSphere", "1.5.7-9.20328"},
215+
{"engineResetModelLODDistance", "1.5.7-9.20383"},
216+
{"setVehicleModelWheelSize", "1.5.7-0.20397"},
217+
{"getVehicleModelWheelSize", "1.5.7-0.20397"},
218+
{"setVehicleWheelScale", "1.5.7-0.20397"},
219+
{"getVehicleWheelScale", "1.5.7-0.20397"},
220+
{"addColPolygonPoint", "1.5.7-0.20397"},
221+
{"getColPolygonPointPosition", "1.5.7-0.20397"},
222+
{"getColPolygonPoints", "1.5.7-0.20397"},
223+
{"getColShapeRadius", "1.5.7-0.20397"},
224+
{"getColShapeSize", "1.5.7-0.20397"},
225+
{"removeColPolygonPoint", "1.5.7-0.20397"},
226+
{"setColPolygonPointPosition", "1.5.7-0.20397"},
227+
{"setColShapeRadius", "1.5.7-0.20397"},
228+
{"setColShapeSize", "1.5.7-0.20397"},
229+
{"engineGetModelTextures", "1.5.7-9.20416"},
230+
{"dxGetTextSize", "1.5.7-9.20447"},
231+
{"hasElementData", "1.5.7-9.20447"},
232+
{"setVehicleModelWheelSize", "1.5.7-9.20642"},
233+
{"getVehicleModelWheelSize", "1.5.7-9.20642"},
234+
{"setVehicleWheelScale", "1.5.7-9.20642"},
235+
{"getVehicleWheelScale", "1.5.7-9.20642"},
212236
};
213237

214238
SVersionItem serverFunctionInitList[] = {
@@ -289,12 +313,28 @@ namespace
289313
{"setPedWearingJetpack", "1.5.5-9.13846"},
290314
{"setElementAngularVelocity", "1.5.5-9.14060"},
291315
{"getElementAngularVelocity", "1.5.5-9.14060"},
292-
{"xmlLoadString", "1.5.7-9.20157"},
293-
{"getPlayerScriptDebugLevel", "1.5.7-9.20157"},
294-
{"setPlayerScriptDebugLevel", "1.5.7-9.20157"},
316+
317+
// Features added in 1.5.8
318+
{"xmlLoadString", "1.5.7-9.19626"},
319+
{"getPlayerScriptDebugLevel", "1.5.7-9.19626"},
320+
{"setPlayerScriptDebugLevel", "1.5.7-9.19626"},
295321
{"getRemoteRequests", "1.5.7-9.20307"},
296322
{"getRemoteRequestInfo", "1.5.7-9.20307"},
297323
{"abortRemoteRequest", "1.5.7-9.20307"},
324+
{"addColPolygonPoint", "1.5.7-0.20397"},
325+
{"getColPolygonPointPosition", "1.5.7-0.20397"},
326+
{"getColPolygonPoints", "1.5.7-0.20397"},
327+
{"getColShapeRadius", "1.5.7-0.20397"},
328+
{"getColShapeSize", "1.5.7-0.20397"},
329+
{"removeColPolygonPoint", "1.5.7-0.20397"},
330+
{"setColPolygonPointPosition", "1.5.7-0.20397"},
331+
{"setColShapeRadius", "1.5.7-0.20397"},
332+
{"setColShapeSize", "1.5.7-0.20397"},
333+
{"isResourceProtected", "1.5.7-9.20468"},
334+
{"hasElementData", "1.5.7-9.20477"},
335+
{"addElementDataSubscriber", "1.5.7-9.20477"},
336+
{"hasElementDataSubscriber", "1.5.7-9.20477"},
337+
{"removeElementDataSubscriber", "1.5.7-9.20477"},
298338
};
299339

300340
//

0 commit comments

Comments
 (0)