33 #ifndef __diguyViewFog_H
34 #define __diguyViewFog_H
39 #define CPLUSPLUS_ONLY
83 const char* get_name();
100 const char* get_type_name();
116 void set_density(
float density);
147 void set_start(
float start);
176 void set_end(
float end);
207 void set_color(
float r,
float g,
float b,
float a);
227 void get_color(
float* r,
float* g,
float* b,
float* a);
252 void set_fog_mode(
int mode);
287 int load_settings(
const char* settings_name);
289 #ifdef CPLUSPLUS_ONLY
329 CALLBACK_ID_SETTINGS_CHANGED = 1
332 #ifdef CPLUSPLUS_ONLY
375 int add_callback(
int callback_id,
377 void* callback_params = 0,
378 void* callback_user_data = 0);
400 int remove_callback(
int callback_id,
423 int remove_callback_with_user_data(
int callback_id,
424 void* callback_user_data);
461 int add_callback_script(
int callback_id,
462 const char* callback_script,
463 const char* callback_script_type = NULL);
499 int remove_callback_script(
int callback_id,
500 const char* callback_script,
501 const char* callback_script_type = NULL);
507 #ifdef CPLUSPLUS_ONLY
509 bdiFog* get_scripted_object() {
return m_fog;}