version 1.16 | | version 1.17 |
---|
| | |
static f_plug_api cfapiSystem_strdup_local = NULL; | | static f_plug_api cfapiSystem_strdup_local = NULL; |
static f_plug_api cfapiSystem_find_animation = NULL; | | static f_plug_api cfapiSystem_find_animation = NULL; |
static f_plug_api cfapiSystem_log = NULL; | | static f_plug_api cfapiSystem_log = NULL; |
| | static f_plug_api cfapiSystem_get_time = NULL; |
| | |
static f_plug_api cfapiMap_create_path = NULL; | | static f_plug_api cfapiMap_create_path = NULL; |
| | |
| | |
GET_HOOK( cfapiRegion_get_property, "cfapi_region_get_property", z ); | | GET_HOOK( cfapiRegion_get_property, "cfapi_region_get_property", z ); |
GET_HOOK( cfapiPlayer_can_pay, "cfapi_player_can_pay", z ); | | GET_HOOK( cfapiPlayer_can_pay, "cfapi_player_can_pay", z ); |
GET_HOOK( cfapiSystem_log, "cfapi_log", z ); | | GET_HOOK( cfapiSystem_log, "cfapi_log", z ); |
| | GET_HOOK( cfapiSystem_get_time, "cfapi_system_get_time", z ); |
return 1; | | return 1; |
} | | } |
| | |
| | |
| | |
va_end(ap); | | va_end(ap); |
} | | } |
| | |
| | void cf_get_time( timeofday_t* tod ) |
| | { |
| | int val; |
| | cfapiSystem_get_time(&val, tod); |
| | } |
| | |
char* cf_object_get_key(object* op, char* keyname) | | char* cf_object_get_key(object* op, char* keyname) |
{ | | { |
int val; | | int val; |