13 #ifndef __diguyViewFog_H
14 #define __diguyViewFog_H
19 #define CPLUSPLUS_ONLY
62 const char* get_name();
75 const char* get_type_name();
86 void set_density(
float density);
107 void set_start(
float start);
126 void set_end(
float end);
147 void set_color(
float r,
float g,
float b,
float a);
162 void get_color(
float* r,
float* g,
float* b,
float* a);
182 void set_fog_mode(
int mode);
211 int load_settings(
const char* settings_name);
245 CALLBACK_ID_SETTINGS_CHANGED = 1
248 #ifdef CPLUSPLUS_ONLY
291 int add_callback(
int callback_id,
293 void* callback_params = 0,
294 void* callback_user_data = 0);
316 int remove_callback(
int callback_id,
339 int remove_callback_with_user_data(
int callback_id,
340 void* callback_user_data);
377 int add_callback_script(
int callback_id,
378 const char* callback_script,
379 const char* callback_script_type = NULL);
415 int remove_callback_script(
int callback_id,
416 const char* callback_script,
417 const char* callback_script_type = NULL);
423 #ifdef CPLUSPLUS_ONLY
425 bdiFog* get_scripted_object() {
return m_fog;}