S3D - a 3D Desktop Environment

Simon Wunderlich

0.2.2

Abstract

This is the Documentation for the S3D and it's Development Libraries.


Table of Contents

1. s3d - the server
Client-Server Architecture
Moving in s3d
The s3drc file
2. libs3d - The S3D API
Using the s3d library
Setting s3d up
Getting started
function reference
s3d_usage
s3d_init
s3d_quit
s3d_mainloop
s3d_push_vertex
s3d_push_vertices
s3d_push_material
s3d_pep_material
s3d_push_material_a
s3d_push_materials_a
s3d_pep_material_a
s3d_pep_materials_a
s3d_load_materials_a
s3d_push_polygon
s3d_push_polygons
s3d_push_line
s3d_push_lines
s3d_push_texture
s3d_push_textures
s3d_pop_vertex
s3d_pop_polygon
s3d_pop_material
s3d_pop_texture
s3d_pop_line
s3d_pep_line_normals
s3d_pep_polygon_normals
s3d_pep_polygon_tex_coord
s3d_pep_polygon_tex_coords
s3d_pep_material_texture
s3d_pep_vertex
s3d_pep_vertices
s3d_pep_line
s3d_pep_lines
s3d_load_line_normals
s3d_load_polygon_normals
s3d_load_polygon_tex_coords
s3d_load_texture
s3d_new_object
s3d_del_object
s3d_clone
s3d_clone_target
s3d_link
s3d_unlink
s3d_flags_on
s3d_flags_off
s3d_translate
s3d_rotate
s3d_scale
s3d_import_model_file
s3d_open_file
s3d_select_font
s3d_draw_string
s3d_strlen
s3d_vector_length
s3d_vector_dot_product
s3d_vector_subtract
s3d_vector_angle
s3d_angle_to_cam
s3d_vector_cross_product
s3d_push_event
s3d_pop_event
s3d_find_event
s3d_delete_event
s3d_set_callback
s3d_clear_callback
s3d_ignore_callback
s3d_get_callback
s3d_process_stack
s3d_mcp_focus
s3d_net_check
Data types
struct s3d_evt
struct mcp_object
struct s3d_obj_info
struct s3d_but_info
struct s3d_key_event
typedef s3d_cb
Definitions
S3D events
S3D Object Flags
Additional Notes
About alpha transparency
3. libs3dw - The S3D Widget Library
Using the s3d widget library
Getting started
function reference
s3dw_button_new
s3dw_label_new
s3dw_input_new
s3dw_textbox_new
s3dw_input_gettext
s3dw_input_change_text
s3dw_label_change_text
s3dw_surface_new
s3dw_getroot
s3dw_moveit
s3dw_delete
s3dw_show
s3dw_focus
s3dw_textbox_scrollup
s3dw_textbox_scrolldown
s3dw_textbox_scrollleft
s3dw_textbox_scrollright
s3dw_textbox_scrollto
s3dw_textbox_change_text
s3dw_handle_click
s3dw_handle_key
s3dw_object_info
s3dw_ani_mate
Data types
struct _s3dw_style
struct _s3dw_widget
struct _s3dw_button
struct _s3dw_label
struct _s3dw_scrollbar
struct _s3dw_textbox
struct _s3dw_input
struct _s3dw_surface
typedef s3dw_widget
typedef s3dw_button
typedef s3dw_label
typedef s3dw_textbox
typedef s3dw_scrollbar
typedef s3dw_input
typedef s3dw_surface
typedef s3dw_style
typedef s3dw_callback