Added missing define and description for item_weight.

This commit is contained in:
NovaRain
2017-08-13 11:45:12 +08:00
parent 012418cd59
commit 7989da8bfa
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -216,6 +216,7 @@
#define intface_is_hidden sfall_func0("intface_is_hidden") #define intface_is_hidden sfall_func0("intface_is_hidden")
#define intface_redraw sfall_func0("intface_redraw") #define intface_redraw sfall_func0("intface_redraw")
#define intface_show sfall_func0("intface_show") #define intface_show sfall_func0("intface_show")
#define item_weight(obj) sfall_func1("item_weight", obj)
#define outlined_object sfall_func0("outlined_object") #define outlined_object sfall_func0("outlined_object")
#define real_dude_obj sfall_func0("real_dude_obj") #define real_dude_obj sfall_func0("real_dude_obj")
#define set_car_intface_art(artIndex) sfall_func1("set_car_intface_art", artIndex) #define set_car_intface_art(artIndex) sfall_func1("set_car_intface_art", artIndex)
@@ -372,6 +372,9 @@ Some utility/math functions are available:
> void sfall_func0("exec_map_update_scripts") > void sfall_func0("exec_map_update_scripts")
- executes map_update_p_proc for all objects on map and global/hook scripts as well - executes map_update_p_proc for all objects on map and global/hook scripts as well
> int sfall_func1("item_weight", object)
- gets the current weight of an object
> int sfall_func1("get_outline", object) > int sfall_func1("get_outline", object)
- gets the current outline color for an object - gets the current outline color for an object