RaydiumWikiNi
API Index
A
B
background.c
Reference
- void raydium_background_color_change (GLfloat r, GLfloat g, GLfloat b, GLfloat a);
sound.c
Introduction,
details and
example
- int BufferData (ALuint buffer, OggVorbis_File * file, vorbis_info * ogginfo);
C
callback.c
Introduction and
details
- void raydium_callback_image (void);
- void raydium_callback_set (void);
- void raydium_callback (void (*loop));
camera.c
Introduction and
details
- void raydium_camera_vectors (GLfloat * res3);
- void raydium_camera_internal (GLfloat x, GLfloat y, GLfloat z);
- void raydium_camera_place (GLfloat x, GLfloat y, GLfloat z, GLfloat lacet, GLfloat tangage, GLfloat roulis);
- void raydium_camera_look_at (GLfloat x, GLfloat y, GLfloat z, GLfloat x_to, GLfloat y_to, GLfloat z_to);
- void raydium_camera_replace (void);
- void raydium_camera_replace_go (GLfloat * pos, GLfloat * R);
- void raydium_camera_smooth (GLfloat px, GLfloat py, GLfloat pz, GLfloat lx, GLfloat ly, GLfloat lz, GLfloat zoom, GLfloat roll, GLfloat step);
- void raydium_camera_path_init (int p);
- void raydium_camera_path_init_all (void);
- int raydium_camera_path_find (char *name);
- int raydium_camera_path_load (char *filename);
- void raydium_camera_path_draw (int p);
- void raydium_camera_path_draw_name (char *path);
- char raydium_camera_smooth_path (char *path, GLfloat step, GLfloat * x, GLfloat * y, GLfloat * z, GLfloat * zoom, GLfloat * roll);
- void raydium_camera_smooth_path_to_pos (char *path, GLfloat lx, GLfloat ly, GLfloat lz, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_pos_to_path (GLfloat lx, GLfloat ly, GLfloat lz, char *path, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_path_to_path (char *path_from, GLfloat path_step_from, char *path_to, GLfloat path_step_to, GLfloat smooth_step);
ode.c
- void raydium_camera_smooth_path_to_element (char *path, int element, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_path_to_element_name (char *path, char *element, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_element_to_path_offset (int element, GLfloat offset_x, GLfloat offset_y, GLfloat offset_z, char *path, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_element_to_path_offset_name (char *element, GLfloat offset_x, GLfloat offset_y, GLfloat offset_z, char *path, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_element_to_path_name (char *element, char *path, GLfloat path_step, GLfloat smooth_step);
capture.c
Quick Overview
- void raydium_capture_frame (char *filename);
clear.c
Reference
- void raydium_clear_frame (void);
- void raydium_clear_color_update (void);
console.c
Introduction and
details
- void raydium_console_init (void);
- void raydium_console_history_save (void);
- int raydium_console_gets (char *where);
- void raydium_console_history_previous (void);
- void raydium_console_history_next (void);
- void raydium_console_history_add (char *str);
- void raydium_console_exec_script (char *file);
- void raydium_console_exec_last_command (void);
- void raydium_console_line_add (char *format, ...);
- void raydium_console_event (void);
- void raydium_console_draw (void);
- int raydium_console_internal_isalphanumuscore (char c);
- void raydium_console_complete (char *str);
D
file.c
Warning,
introduction and
details
- void dump_vertex_to (char *filename);
- void dump_vertex_to_alpha (char *filename);
E
joy.c
Introduction and
details
- struct ff_effect effect_tremble;
- char effect_tremble_state;
F
file.c
Warning,
introduction and
details
- void raydium_file_dirname(char *dest,char *from);
- void raydium_file_log_fopen_display(void);
- FILE *raydium_file_fopen(char *file, char *mode);
- int raydium_rayphp_repository_file_get(char *file);
- void dump_vertex_to (char *filename);
- void dump_vertex_to_alpha (char *filename);
- int raydium_file_set_textures (char *name);
- void read_vertex_from (char *filename);
fog.c
Introduction and
details
- void raydium_fog_enable (void);
- void raydium_fog_disable (void);
- void raydium_fog_color_update (void);
- void raydium_fog_mode (void);
G
H
I
init.c
Introduction and
details
- int raydium_init_cli_option (char *option, char *value);
- int raydium_init_cli_option_default (char *option, char *value, char *default_value);
- void raydium_init_lights (void);
- void raydium_init_objects (void);
- void raydium_init_key (void);
- void raydium_init_reset (void);
- void raydium_init_engine (void);
- void raydium_init_args (int argc, char **argv);
php.c
- int raydium_init_cli_option (char *option, char *value);;
internal.c
Reference
- void raydium_internal_dump (void);
- void raydium_internal_dump_matrix (int n);
J
joy.c
Introduction and
details
- char number_of_axes, number_of_buttons;
- int raydium_joy_event_handle;
- struct ff_effect effect_tremble;
- char effect_tremble_state;
- clock_t last_event;
- void raydium_joy_init_vars (void);
- void raydium_joy_key_emul (void);
- int raydium_joy_process_event (struct js_event e); (WIN32)
- void raydium_joy_callback (void);
- void raydium_joy_ff_autocenter (int perc);
- void raydium_joy_init (void);
- void raydium_joy_close (void);
- void raydium_joy_ff (void);
- void raydium_joy_ff_tremble_set (GLfloat period, GLfloat force);
K
key.c
Introduction and
details
- void raydium_key_normal_callback (GLuint key, int x, int y);
- void raydium_key_special_callback (GLuint key, int x, int y);
- void raydium_key_special_up_callback (GLuint key, int x, int y);
- int raydium_key_pressed (GLuint key);
L
joy.c
Introduction and
details
land.c
Introduction and
details
- GLfloat raydium_land_internal_landtmp (GLfloat x, GLfloat y, GLfloat phase, GLfloat ampl, GLfloat periode);
- void raydium_land_draw_water (GLfloat phase, GLfloat ampl, GLfloat periode, int sub, GLfloat pas, char *texture);
- GLfloat raydium_land_surface (GLfloat x, GLfloat y, GLfloat * nx, GLfloat * ny, GLfloat * nz);
light.c
Introduction and
details
- void raydium_light_enable (void);
- void raydium_light_disable (void);
- GLuint raydium_light_to_GL_light (GLuint l);
- void raydium_light_on (GLuint l);
- void raydium_light_off (GLuint l);
- void raydium_light_switch (GLuint l);
- void raydium_light_update_position (GLuint l);
- void raydium_light_update_position_all (void);
- void raydium_light_update_intensity (GLuint l);
- void raydium_light_update_all (GLuint l);
- void raydium_light_move (GLuint l, GLfloat * vect);
- void raydium_light_reset (GLuint l);
- void raydium_light_blink_internal_update (GLuint l);
- void raydium_light_blink_start (GLuint l, int fpc);
- void raydium_light_callback (void);
log.c
Introduction and
details
- void raydium_console_line_add (char *format, ...);
- void raydium_log (char *format, ...); (need to be secured)
M
mouse.c
Introduction and
details
- #define raydium_mouse_hide() glutSetCursor(GLUT_CURSOR_NONE);
- #define raydium_mouse_show() glutSetCursor(GLUT_CURSOR_LEFT_ARROW);
- #define raydium_mouse_move(x,y) glutWarpPointer(x,y)
- extern void raydium_mouse_init (void);
- extern void raydium_mouse_clic_callback (int but, int state, int x, int y);
- extern void raydium_mouse_move_callback (int x, int y);
- extern int raydium_mouse_button_pressed (int button);
N
joy.c
Introduction and
details
- char number_of_axes, number_of_buttons;
network.c
Introduction and
details
- int raydium_network_propag_find (int type);
- void raydium_network_propag_recv (int type, char *buff);
- void raydium_network_propag_refresh_id (int i);
- void raydium_network_propag_refresh (int type);
- void raydium_network_propag_refresh_all (void);
- int raydium_network_propag_add (int type, void *data, int size);
- void raydium_network_queue_element_init (raydium_network_Tcp * e);
- unsigned short raydium_network_queue_tcpid_gen (void);
- void raydium_network_queue_tcpid_known_add (int tcpid, int player);
- char raydium_network_queue_tcpid_known (unsigned short tcpid, unsigned short player);
- char raydium_network_queue_is_tcpid (int type);
- void raydium_network_queue_element_add (char *packet, struct sockaddr *to);
- unsigned long *raydium_network_internal_find_delay_addr (int player);
- void raydium_network_queue_check_time (void);
- void raydium_network_queue_ack_send (unsigned short tcpid, struct sockaddr *to);
- void raydium_network_queue_ack_recv (int type, char *buff);
- void raydium_network_player_name (char *str);
- char raydium_network_set_socket_block (int block);
- char raydium_network_netcall_add (void *ptr, int type, char tcp);
- void raydium_network_netcall_exec (int type, char *buff);
- char raydium_network_timeout_check (void);
- char raydium_network_init (void);
- void raydium_network_write (struct sockaddr *to, int from, char type, char *buff);
- void raydium_network_broadcast (char type, char *buff);
- char raydium_network_read (int *id, char *type, char *buff);
- char raydium_network_read_flushed (int *id, char *type, char *buff);
- char raydium_network_server_create (void);
- char raydium_network_client_connect_to (char *server);
- char raydium_server_accept_new (struct sockaddr *from, char *name);
- void raydium_network_close (void);
- void raydium_network_internal_server_delays_dump (void);
- void raydium_network_internal_dump (void);
normal.c
Introduction and
details
- void raydium_normal_generate_lastest_triangle (int default_visu);
- void raydium_normal_restore_all (void);
- void raydium_normal_regenerate_all (void);
- void raydium_normal_smooth_all (void);
O
object.c
Introduction and
details
- GLint raydium_object_find (char *name);
- void raydium_object_reset (GLuint o);
- int raydium_object_load (char *filename);
- GLint raydium_object_find_load (char *name);
- void raydium_object_draw (GLuint o);
- void raydium_object_draw_name (char *name);
- void raydium_object_deform (GLuint obj, GLfloat ampl);
- void raydium_object_deform_name (char *name, GLfloat ampl);
- GLfloat raydium_object_find_dist_max (GLuint obj);
- void raydium_object_find_axes_max (GLuint obj, GLfloat * tx, GLfloat * ty, GLfloat * tz);
ode.c
- void raydium_ode_name_auto (char *prefix, char *dest);
- void raydium_ode_init_object (int i);
- void raydium_ode_init_element (int i);
- void raydium_ode_init_joint (int i);
- void raydium_ode_init_motor (int i);
- void raydium_ode_init_explosion (int e);
- void raydium_ode_init (void);
- char raydium_ode_object_isvalid (int i);
- char raydium_ode_element_isvalid (int i);
- char raydium_ode_joint_isvalid (int i);
- char raydium_ode_motor_isvalid (int i);
- char raydium_ode_explosion_isvalid (int i);
- void raydium_ode_ground_dTriArrayCallback (dGeomID TriMesh, dGeomID RefObject, const int *TriIndices, int TriCount);
- int raydium_ode_ground_dTriCallback (dGeomID TriMesh, dGeomID RefObject, int TriangleIndex);
- void raydium_ode_ground_set_name (char *name);
- int raydium_ode_object_find (char *name);
- int raydium_ode_element_find (char *name);
- int raydium_ode_joint_find (char *name);
- int raydium_ode_motor_find (char *name);
- int raydium_ode_explosion_find (char *name);
- int raydium_ode_object_create (char *name);
- char raydium_ode_object_rename (int o, char *newname);
- char raydium_ode_object_rename_name (char *o, char *newname);
- char raydium_ode_object_colliding (int o, char colliding);
- char raydium_ode_object_colliding_name (char *o, char colliding);
- void raydium_ode_object_linearvelocity_set (int o, dReal * vect);
- void raydium_ode_object_linearvelocity_set_name (char *o, dReal * vect);
- void raydium_ode_object_linearvelocity_set_name_3f (char *o, dReal vx, dReal vy, dReal vz);
- void raydium_ode_object_addforce (int o, dReal * vect);
- void raydium_ode_object_addforce_name (char *o, dReal * vect);
- void raydium_ode_object_addforce_name_3f (char *o, dReal vx, dReal vy, dReal vz);
- void raydium_ode_element_addforce (int e, dReal * vect);
- void raydium_ode_element_addforce_name (char *e, dReal * vect);
- void raydium_ode_element_addforce_name_3f (char *e, dReal vx, dReal vy, dReal vz);
- void raydium_ode_element_addtorque (int e, dReal * vect);
- void raydium_ode_element_addtorque_name (char *e, dReal * vect);
- void raydium_ode_element_addtorque_name_3f (char *e, dReal vx, dReal vy, dReal vz);
- char raydium_ode_element_material (int e, dReal erp, dReal cfm);
- char raydium_ode_element_material_name (char *name, dReal erp, dReal cfm);
- char raydium_ode_element_slip (int e, dReal slip);
- char raydium_ode_element_slip_name (char *e, dReal slip);
- char raydium_ode_element_rotfriction (int e, dReal rotfriction);
- char raydium_ode_element_rotfriction_name (char *e, dReal rotfriction);
- dReal *raydium_ode_element_linearvelocity_get (int e);
- dReal *raydium_ode_element_linearvelocity_get_name (char *e);
- void raydium_ode_element_OnBlow (int e, void *OnBlow);
- void raydium_ode_element_OnBlow_name (char *e, void *OnBlow);
- void raydium_ode_element_OnDelete (int e, void *OnDelete);
- void raydium_ode_element_OnDelete_name (char *e, void *OnDelete);
- void raydium_ode_element_gravity (int e, char enable);
- void raydium_ode_element_gravity_name (char *e, char enable);
- void raydium_ode_element_ttl_set (int e, int ttl);
- void raydium_ode_element_ttl_set_name (char *e, int ttl);
- char raydium_ode_element_aabb_get (int element, dReal * aabb);
- char raydium_ode_element_aabb_get_name (char *element, dReal * aabb);
- int raydium_ode_element_touched_get (int e);
- int raydium_ode_element_touched_get_name (char *e);
- char raydium_ode_element_player_set (int e, char isplayer);
- char raydium_ode_element_player_set_name (char *name, char isplayer);
- char raydium_ode_element_player_get (int e);
- char raydium_ode_element_player_get_name (char *name);
- char raydium_ode_element_player_angle (int e, dReal angle);
- char raydium_ode_element_player_angle_name (char *e, dReal angle);
- int raydium_ode_element_ground_texture_get (int e);
- int raydium_ode_element_ground_texture_get_name (char *e);
- int raydium_ode_element_object_get (int e);
- int raydium_ode_element_object_get_name (char *e);
- int raydium_ode_object_sphere_add (char *name, int group, dReal mass, dReal radius, char type, int tag, char *mesh);
- int raydium_ode_object_box_add (char *name, int group, dReal mass, dReal tx, dReal ty, dReal tz, char type, int tag, char *mesh);
- int raydium_ode_element_fix (char *name, int *elem, int nelems, char keepgeoms);
- void raydium_ode_element_unfix (int e);
- void raydium_ode_element_move (int elem, dReal * pos);
- void raydium_ode_element_move_name (char *name, dReal * pos);
- void raydium_ode_element_move_name_3f (char *name, dReal x, dReal y, dReal z);
- void raydium_ode_element_rotate (int elem, dReal * rot);
- void raydium_ode_element_rotate_name (char *name, dReal * rot);
- void raydium_ode_element_rotateq (int elem, dReal * rot);
- void raydium_ode_element_rotateq_name (char *name, dQuaternion rot);
- void raydium_ode_element_rotate_name_3f (char *name, dReal rx, dReal ry, dReal rz);
- void raydium_ode_element_rotate_direction (int elem, char Force0OrVel1);
- void raydium_ode_element_rotate_direction_name (char *e, char Force0OrVel1);
- void raydium_ode_element_data_set (int e, void *data);
- void raydium_ode_element_data_set_name (char *e, void *data);
- void *raydium_ode_element_data_get (int e);
- void *raydium_ode_element_data_get_name (char *e);
- int raydium_ode_element_tag_get (int e);
- int raydium_ode_element_tag_get_name (char *e);
- void raydium_ode_object_move (int obj, dReal * pos);
- void raydium_ode_object_move_name (char *name, dReal * pos);
- void raydium_ode_object_move_name_3f (char *name, dReal x, dReal y, dReal z);
- void raydium_ode_object_rotateq (int obj, dReal * rot);
- void raydium_ode_object_rotateq_name (char *obj, dReal * rot);
- void raydium_ode_joint_suspension (int j, dReal erp, dReal cfm);
- void raydium_ode_joint_suspension_name (char *j, dReal erp, dReal cfm);
- int raydium_ode_joint_attach_hinge2 (char *name, int elem1, int elem2, dReal axe1x, dReal axe1y, dReal axe1z, dReal axe2x, dReal axe2y, dReal axe2z);
- int raydium_ode_joint_attach_hinge2_name (char *name, char *elem1, char *elem2, dReal axe1x, dReal axe1y, dReal axe1z, dReal axe2x, dReal axe2y, dReal axe2z);
- int raydium_ode_joint_attach_universal (char *name, int elem1, int elem2, dReal posx, dReal posy, dReal posz, dReal axe1x, dReal axe1y, dReal axe1z, dReal axe2x, dReal axe2y, dReal axe2z);
- int raydium_ode_joint_attach_universal_name (char *name, char *elem1, char *elem2, dReal posx, dReal posy, dReal posz, dReal axe1x, dReal axe1y, dReal axe1z, dReal axe2x, dReal axe2y, dReal axe2z);
- int raydium_ode_joint_attach_hinge (char *name, int elem1, int elem2, dReal posx, dReal posy, dReal posz, dReal axe1x, dReal axe1y, dReal axe1z);
- int raydium_ode_joint_attach_hinge_name (char *name, char *elem1, char *elem2, dReal posx, dReal posy, dReal posz, dReal axe1x, dReal axe1y, dReal axe1z);
- int raydium_ode_joint_attach_fixed (char *name, int elem1, int elem2);
- int raydium_ode_joint_attach_fixed_name (char *name, char *elem1, char *elem2);
- void raydium_ode_joint_hinge_limits (int j, dReal lo, dReal hi);
- void raydium_ode_joint_hinge_limits_name (char *j, dReal lo, dReal hi);
- void raydium_ode_joint_universal_limits (int j, dReal lo1, dReal hi1, dReal lo2, dReal hi2);
- void raydium_ode_joint_universal_limits_name (char *j, dReal lo1, dReal hi1, dReal lo2, dReal hi2);
- void raydium_ode_joint_hinge2_block (int j, char block);
- void raydium_ode_joint_hinge2_block_name (char *name, char block);
- void raydium_ode_joint_delete_callback (int j, void (*f) (int));
- void raydium_ode_joint_delete_callback_name (char *name, void (*f) (int));
- void raydium_ode_joint_break_force (int j, dReal maxforce);
- void raydium_ode_joint_break_force_name (char *name, dReal maxforce);
- void raydium_ode_joint_elements_get (int j, int *e1, int *e2);
- void raydium_ode_joint_elements_get_name (char *j, int *e1, int *e2);
- void raydium_ode_motor_update_joints_data_internal (int j);
- void raydium_ode_motor_speed (int j, dReal force);
- void raydium_ode_motor_speed_name (char *name, dReal force);
- void raydium_ode_motor_power_max (int j, dReal power);
- void raydium_ode_motor_power_max_name (char *name, dReal power);
- void raydium_ode_motor_angle (int j, dReal angle);
- void raydium_ode_motor_angle_name (char *motor, dReal angle);
- void raydium_ode_motor_gears_set (int m, dReal * gears, int n_gears);
- void raydium_ode_motor_gears_set_name (char *m, dReal * gears, int n_gears);
- void raydium_ode_motor_gear_change (int m, int gear);
- void raydium_ode_motor_gear_change_name (char *m, int gear);
- dReal *raydium_ode_element_pos_get (int j);
- dReal *raydium_ode_element_pos_get_name (char *name);
- char raydium_ode_element_rotq_get (int j, dQuaternion res);
- char raydium_ode_element_rotq_get_name (char *name, dQuaternion res);
- char raydium_ode_element_rot_get (int e, dReal * rx, dReal * ry, dReal * rz);
- char raydium_ode_element_rot_get_name (char *e, dReal * rx, dReal * ry, dReal * rz);
- void raydium_ode_element_sound_update (int e, int source);
- void raydium_ode_element_sound_update_name (char *e, int source);
- void raydium_ode_element_RelPointPos (int e, dReal px, dReal py, dReal pz, dReal * res);
- void raydium_ode_element_RelPointPos_name (char *e, dReal px, dReal py, dReal pz, dReal * res);
- int raydium_ode_motor_create (char *name, int obj, char type);
- void raydium_ode_motor_attach (int motor, int joint, int joint_axe);
- void raydium_ode_motor_attach_name (char *motor, char *joint, int joint_axe);
- dReal raydium_ode_motor_speed_get (int m, int gears);
- dReal raydium_ode_motor_speed_get_name (char *name, int gears);
- void raydium_ode_motor_rocket_set (int m, int element, dReal x, dReal y, dReal z);
- void raydium_ode_motor_rocket_set_name (char *motor, char *element, dReal x, dReal y, dReal z);
- void raydium_ode_motor_rocket_orientation (int m, dReal rx, dReal ry, dReal rz);
- void raydium_ode_motor_rocket_orientation_name (char *name, dReal rx, dReal ry, dReal rz);
- void raydium_ode_motor_rocket_playermovement (int m, char isplayermovement);
- void raydium_ode_motor_rocket_playermovement_name (char *m, char isplayermovement);
- char raydium_ode_motor_delete (int e);
- char raydium_ode_motor_delete_name (char *name);
- char raydium_ode_joint_delete (int joint);
- char raydium_ode_joint_delete_name (char *name);
- char raydium_ode_element_delete (int e, char deletejoints);
- char raydium_ode_element_delete_name (char *name, char deletejoints);
- char raydium_ode_object_delete (int obj);
- char raydium_ode_object_delete_name (char *name);
- char raydium_ode_explosion_delete (int e);
- char raydium_ode_element_moveto (int element, int object, char deletejoints);
- char raydium_ode_element_moveto_name (char *element, char *object, char deletejoints);
- void raydium_ode_joint_break (int j);
- char raydium_ode_launcher (int element, int from_element, dReal * rot, dReal force);
- char raydium_ode_launcher_name (char *element, char *from_element, dReal * rot, dReal force);
- char raydium_ode_launcher_name_3f (char *element, char *from_element, dReal rx, dReal ry, dReal rz, dReal force);
- char raydium_ode_launcher_simple (int element, int from_element, dReal * lrot, dReal force);
- char raydium_ode_launcher_simple_name (char *element, char *from_element, dReal * rot, dReal force);
- char raydium_ode_launcher_simple_name_3f (char *element, char *from_element, dReal rx, dReal ry, dReal rz, dReal force);
- void raydium_ode_explosion_blow (dReal radius, dReal max_force, dReal * pos);
- void raydium_ode_explosion_blow_3f (dReal radius, dReal max_force, dReal px, dReal py, dReal pz);
- int raydium_ode_explosion_create (char *name, dReal final_radius, dReal propag, dReal * pos);
- void raydium_ode_element_camera_inboard (int e, dReal px, dReal py, dReal pz, dReal lookx, dReal looky, dReal lookz);
- void raydium_ode_element_camera_inboard_name (char *name, dReal px, dReal py, dReal pz, dReal lookx, dReal looky, dReal lookz);
- void raydium_ode_draw_all (char names);
- void raydium_ode_near_callback (void *data, dGeomID o1, dGeomID o2);
- void raydium_ode_callback (void);
- void raydium_ode_time_change (GLfloat perc);
- void raydium_ode_element_particle (int elem, char *filename);
- void raydium_ode_element_particle_name (char *elem, char *filename);
- void raydium_ode_element_particle_offset (int elem, char *filename, dReal * offset);
- void raydium_ode_element_particle_offset_name (char *elem, char *filename, dReal * offset);
- void raydium_ode_element_particle_offset_name_3f (char *elem, char *filename, dReal ox, dReal oy, dReal oz);
- void raydium_ode_element_particle_point (int elem, char *filename);
- void raydium_ode_element_particle_point_name (char *elem, char *filename);
- void raydium_camera_smooth_path_to_element (char *path, int element, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_path_to_element_name (char *path, char *element, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_element_to_path_offset (int element, GLfloat offset_x, GLfloat offset_y, GLfloat offset_z, char *path, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_element_to_path_offset_name (char *element, GLfloat offset_x, GLfloat offset_y, GLfloat offset_z, char *path, GLfloat path_step, GLfloat smooth_step);
- void raydium_camera_smooth_element_to_path_name (char *element, char *path, GLfloat path_step, GLfloat smooth_step);
ode_net.c (from ode.c)
- int raydium_ode_network_MaxElementsPerPacket (void);
- int raydium_network_nid_element_find (int nid);
- void raydium_ode_network_newdel_event (int type, char *buff);
- void raydium_ode_network_nidwho_event (int type, char *buff);
- void raydium_ode_network_explosion_event (int type, char *buff);
- void raydium_ode_network_init (void);
- char raydium_ode_network_TimeToSend (void);
- void raydium_ode_network_element_send (short nelems, int *e);
- void raydium_ode_network_element_send_all (void);
- void raydium_ode_network_element_send_random (int nelems);
- void raydium_ode_network_element_send_iterative (int nelems);
- void raydium_ode_network_nidwho (int nid);
- void raydium_ode_network_apply (raydium_ode_network_Event * ev);
- void raydium_ode_network_read (void);
- void raydium_ode_network_element_new (int e);
- void raydium_ode_network_element_delete (int e);
- void raydium_ode_network_explosion_send (raydium_ode_network_Explosion * exp);
- char raydium_ode_network_element_isdistant (int elem);
- char raydium_ode_network_element_isdistant_name (char *elem);
- void raydium_ode_network_element_trajectory_correct (int elem);
osd.c
Introduction and
details
- void raydium_osd_color_change (GLfloat r, GLfloat g, GLfloat b);
- void raydium_osd_alpha_change (GLfloat a);
- void raydium_osd_color_rgba (GLfloat r, GLfloat g, GLfloat b, GLfloat a);
- void raydium_osd_color_ega (char hexa);
- void raydium_osd_start (void);
- void raydium_osd_stop (void);
- void raydium_osd_draw (int tex, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
- void raydium_osd_draw_name (char *tex, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
- void raydium_osd_printf (GLfloat x, GLfloat y, GLfloat size, GLfloat spacer, char *texture, unsigned char *format, ...);
- void raydium_osd_printf_3D (GLfloat x, GLfloat y, GLfloat z, GLfloat size, GLfloat spacer, char *texture, unsigned char *format, ...);
- void raydium_osd_logo (char *texture);
- void raydium_osd_cursor_set (char *texture, GLfloat xsize, GLfloat ysize);
- void raydium_osd_cursor_draw (void);
- void raydium_osd_internal_vertex (GLfloat x, GLfloat y, GLfloat top);
- void raydium_osd_network_stat_draw (GLfloat px, GLfloat py, GLfloat size);
- void raydium_osd_mask (GLfloat * color4);
- void raydium_osd_fade_callback (void);
- void raydium_osd_fade_init (void);
- void raydium_osd_fade_from (GLfloat * from4, GLfloat * to4, GLfloat time_len, void *OnFadeEnd);
P
parser.c
- void raydium_parser_trim (char *org);
- char raydium_parser_isdata (char *str);
- char raydium_parser_cut (char *str, char *part1, char *part2, char separator);
- void raydium_parser_replace (char *str, char what, char with);
- int raydium_parser_read (char *var, char *val_s, GLfloat * val_f, int *size, FILE * fp);
particle2.c
Introduction and
details
- void raydium_particle_name_auto (char *prefix, char *dest);
- void raydium_particle_init (void);
- char raydium_particle_generator_isvalid (int g);
- int raydium_particle_generator_find (char *name);
- int raydium_particle_find_free (void);
- void raydium_particle_generator_delete (int gen);
- void raydium_particle_generator_delete_name (char *gen);
- void raydium_particle_generator_enable (int gen, char enabled);
- void raydium_particle_generator_enable_name (char *gen, char enable);
- void raydium_particle_preload (char *filename);
- void raydium_particle_generator_load_internal (int generator, FILE * fp, char *filename);
- int raydium_particle_generator_load (char *filename, char *name);
- void raydium_particle_generator_update (int g, GLfloat step);
- void raydium_particle_update (int part, GLfloat step);
- void raydium_particle_callback (void);
- void raydium_particle_draw (raydium_particle_Particle * p, GLfloat ux, GLfloat uy, GLfloat uz, GLfloat rx, GLfloat ry, GLfloat rz);
- void raydium_particle_draw_all (void);
- void raydium_particle_generator_move (int gen, GLfloat * pos);
- void raydium_particle_generator_move_name (char *gen, GLfloat * pos);
- void raydium_particle_generator_move_name_3f (char *gen, GLfloat x, GLfloat y, GLfloat z);
- void raydium_particle_generator_particles_OnDelete (int gen, void *OnDelete);
- void raydium_particle_generator_particles_OnDelete_name (char *gen, void *OnDelete);
php.c
- zend_compiler_globals *compiler_globals;
- zend_executor_globals *executor_globals;
- php_core_globals *core_globals;
- sapi_globals_struct *sapi_globals;
- void ***tsrm_ls;
- int raydium_init_cli_option (char *option, char *value);;
- void raydium_php_error (int type, const char *msg, ...);
- int raydium_php_uwrite (const char *str, uint str_length TSRMLS_DC);
- void raydium_php_init_request (char *filename);
- int raydium_php_exec (char *name);
- void raydium_php_close (void);
- void raydium_php_init (void);
profile.c
- unsigned long raydium_profile_timer;
- void raydium_profile_start(void);
- void raydium_profile_end(char *tag);
Q
R
file.c
Warning,
introduction and
details
- int raydium_rayphp_repository_file_get(char *file);
- void read_vertex_from (char *filename);
random.c
Introduction and
details
- void raydium_random_randomize (void);
- GLfloat raydium_random_pos_1 (void);
- GLfloat raydium_random_neg_pos_1 (void);
- GLfloat raydium_random_0_x (GLfloat i);
- GLfloat raydium_random_f (GLfloat min, GLfloat max);
- int raydium_random_i (int min, int max);
- char raydium_random_proba (GLfloat proba);
rayphp.c
- int raydium_rayphp_repository_file_get (char *path);
- int raydium_rayphp_repository_file_put (char *path, int depends);
register.c
- int raydium_register_find_name (char *name);
- char raydium_register_name_isvalid (char *name);
- int raydium_register_variable (void *addr, int type, char *name);
- void raydium_register_variable_unregister_last (void);
- int raydium_register_modifiy (char *var, char *args);
- void raydium_register_function (void *addr, char *name);
- void raydium_register_dump (void);
render.c
Introduction and
details
- int raydium_rendering_prepare_texture_unit (GLenum tu, GLuint tex);
- void raydium_rendering_internal_prepare_texture_render (GLuint tex);
- void raydium_rendering_internal_restore_render_state (void);
- char infov (GLfloat x, GLfloat y);
- void raydium_rendering_from_to (GLuint from, GLuint to);
- void raydium_rendering (void);
- void raydium_rendering_finish (void);
- void raydium_rendering_wireframe (void);
- void raydium_rendering_normal (void);
- void raydium_rendering_rgb_force (GLfloat r, GLfloat g, GLfloat b);
- void raydium_rendering_rgb_normal (void);
S
php.c
- sapi_globals_struct *sapi_globals;
signal.c
Quick view
- void raydium_signal_handler (int sig);
- void raydium_signal_install_trap (void);
sky.c
Reference
- void raydium_sky_box_cache (void);
- void raydium_sky_box_render (GLfloat x, GLfloat y, GLfloat z);
sound.c
Introduction,
details and
example
- void raydium_sound_verify (char *caller);
- void raydium_sound_InitSource (int src);
- int raydium_sound_LoadWav (const char *fname);
- int raydium_sound_SourceVerify (int src);
- int raydium_sound_SetSourceLoop (int src, char loop);
- int raydium_sound_GetSourcePitch (int src, ALfloat * p);
- int raydium_sound_SetSourcePitch (int src, ALfloat p);
- int raydium_sound_GetSourceGain (int src, ALfloat * g);
- int raydium_sound_SetSourceGain (int src, ALfloat g);
- int raydium_sound_SetSourcePos (int src, ALfloat Pos[]);
- int raydium_sound_GetSourcePos (int src, ALfloat * Pos[]);
- int raydium_sound_SetSourceDir (int src, ALfloat Dir[]);
- int raydium_sound_GetSourceDir (int src, ALfloat * Dir[]);
- int raydium_sound_SetSourceVel (int src, ALfloat Vel[]);
- int raydium_sound_GetSourceVel (int src, ALfloat * Vel[]);
- void raydium_sound_SetListenerPos (ALfloat Pos[]);
- void raydium_sound_GetListenerPos (ALfloat * Pos[]);
- void raydium_sound_SetListenerOr (ALfloat Or[]);
- void raydium_sound_GetListenerOr (ALfloat * Or[]);
- void raydium_sound_SetListenerVel (ALfloat Vel[]);
- void raydium_sound_GetListenerVel (ALfloat * Vel[]);
- void raydium_sound_init (void);
- int raydium_sound_SourcePlay (int src);
- int raydium_sound_SourceStop (int src);
- int raydium_sound_SourcePause (int src);
- int raydium_sound_SourceUnpause (int src);
- void raydium_sound_close (void);
- int BufferData (ALuint buffer, OggVorbis_File * file, vorbis_info * ogginfo);
- void raydium_sound_internal_cleanstreambuffs (void);
- int StartMusic (ALuint musicsource, ALuint * buffers, OggVorbis_File * file, vorbis_info * ogginfo);
- int raydium_sound_load_music (char *fname);
- void raydium_sound_music_callback (void);
- void raydium_sound_callback (void);
T
php.c
texture.c
Introduction and
details
- char raydium_texture_size_is_correct (GLuint size);
- GLuint raydium_texture_load_internal (char *filename, char *as);
- GLuint raydium_texture_load (char *filename);
- GLuint raydium_texture_load_erase (char *filename, GLuint to_replace);
- char raydium_texture_current_set (GLuint current);
- GLuint raydium_texture_find_by_name (char *name);
- char raydium_texture_current_set_name (char *name);
- void raydium_texture_filter_change (GLuint filter);
timecall.c
Introduction and
details
- void raydium_timecall_raydium (GLfloat step);
- float raydium_timecall_internal_w32_detect_modulo(int div);
- int raydium_timecall_internal_w32_divmodulo_find(void);
- unsigned long raydium_timecall_devrtc_clock (void);
- unsigned long raydium_timecall_clock (void);
- char raydium_timecall_devrtc_rate_change (unsigned long new);
- void raydium_timecall_devrtc_close (void);
- unsigned long raydium_timecall_devrtc_init (void);
- int raydium_timecall_detect_frequency (void);
- void raydium_timecall_init (void);
- void raydium_timecall_freq_change (int callback, GLint hz);
- int raydium_timecall_add (void *funct, GLint hz);
- void raydium_timecall_callback (void);
trigo.c
Introduction and
details
- GLfloat raydium_trigo_cos (GLfloat i);
- GLfloat raydium_trigo_sin (GLfloat i);
- GLfloat raydium_trigo_cos_inv (GLfloat i);
- GLfloat raydium_trigo_sin_inv (GLfloat i);
- #define raydium_trigo_abs(A) ( (A) < (0) ? (-A) : (A) )
- #define raydium_trigo_min(A,B) ( (A) < (B) ? (A) : (B) )
- #define raydium_trigo_max(A,B) ( (A) > (B) ? (A) : (B) )
- void raydium_trigo_rotate (GLfloat * p, GLfloat rx, GLfloat ry, GLfloat rz, GLfloat * res);
- void raydium_trigo_pos_to_matrix (GLfloat * pos, GLfloat * m);
- void raydium_trigo_pos_get_modelview (GLfloat * res);
U
V
vertex.c
Introduction and
details
- void raydium_vertex_add (GLfloat x, GLfloat y, GLfloat z);
- void raydium_vertex_uv_add (GLfloat x, GLfloat y, GLfloat z, GLfloat u, GLfloat v);
- void raydium_vertex_uv_normals_add (GLfloat x, GLfloat y, GLfloat z, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat u, GLfloat v);
W
window.c
Introduction and
details
- void raydium_window_close (void);
- void raydium_window_create (GLuint tx, GLuint ty, char rendering, char *name);
- void raydium_window_resize_callback (GLsizei Width, GLsizei Height);
- void raydium_window_view_update (void);
X
Y
Z
php.c
- zend_compiler_globals *compiler_globals;
- zend_executor_globals *executor_globals;