Subversion Repositories Games.Chess Giants

Rev

Rev 179 | Rev 186 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 179 Rev 185
Line 7... Line 7...
7
// audio.cpp function prototypes
7
// audio.cpp function prototypes
8
bool Audio_Init (void);
8
bool Audio_Init (void);
9
void Audio_Shutdown (void);
9
void Audio_Shutdown (void);
10
void Audio_Think (void);
10
void Audio_Think (void);
11
void Audio_PlaySound (int sound_type, float pos_x, float pos_y, float pos_z);
11
void Audio_PlaySound (int sound_type, float pos_x, float pos_y, float pos_z);
-
 
12
#define Audio_PlaySoundAtCenter(soundtype) Audio_PlaySound ((soundtype), 0.0f, 0.0f, 0.04f)
-
 
13
#define Audio_PlaySoundAtSlot(soundtype,line,column) Audio_PlaySound ((soundtype), 17.5f - (7 - (column)) * 5.0f, 17.5f - (line) * 5.0f, 0.04f)
12
 
14
 
13
// base64.cpp function prototypes
15
// base64.cpp function prototypes
14
size_t base64_encode (char *dest, const char *source, size_t source_len);
16
size_t base64_encode (char *dest, const char *source, size_t source_len);
15
size_t base64_decode (unsigned char *dest, const unsigned char *source, size_t source_len);
17
size_t base64_decode (unsigned char *dest, const unsigned char *source, size_t source_len);
16
 
18
 
Line 181... Line 183...
181
bool Render_Init (const wchar_t *fmt, ...); // parameter = splash screen pathname
183
bool Render_Init (const wchar_t *fmt, ...); // parameter = splash screen pathname
182
void Render_Shutdown (void);
184
void Render_Shutdown (void);
183
void Render_RenderFrame (scene_t *scene);
185
void Render_RenderFrame (scene_t *scene);
184
int Render_LoadMesh (const wchar_t *fmt, ...);
186
int Render_LoadMesh (const wchar_t *fmt, ...);
185
int Render_LoadTexture (const wchar_t *fmt, ...);
187
int Render_LoadTexture (const wchar_t *fmt, ...);
186
int Render_LoadFont (const wchar_t *font_name, int font_size, bool is_bold, bool is_italic);
-
 
187
int Render_LoadSprite (const wchar_t *fmt, ...);
188
int Render_LoadSprite (const wchar_t *fmt, ...);
188
int Render_MaterialIndexOf (const wchar_t *material_name);
189
int Render_MaterialIndexOf (const wchar_t *material_name);
189
void Render_MouseToFloor (short mouse_x, short mouse_y, float *floor_x, float *floor_y);
190
void Render_MouseToFloor (short mouse_x, short mouse_y, float *floor_x, float *floor_y);
190
bool Render_IsMouseInBox (short mouse_x, short mouse_y, float x_percent, float y_percent, float width_percent, float height_percent);
191
bool Render_IsMouseInBox (short mouse_x, short mouse_y, float x_percent, float y_percent, float width_percent, float height_percent);
191
 
192
 
Line 201... Line 202...
201
// scene.cpp function prototypes
202
// scene.cpp function prototypes
202
void Scene_Init (scene_t *scene, board_t *board);
203
void Scene_Init (scene_t *scene, board_t *board);
203
void Scene_Shutdown (scene_t *scene);
204
void Scene_Shutdown (scene_t *scene);
204
void Scene_Update (scene_t *scene, board_t *board);
205
void Scene_Update (scene_t *scene, board_t *board);
205
void Scene_AddCCReply (scene_t *scene, wchar_t *nickname, wchar_t *channelname, unsigned long color_rgbx, wchar_t *fmt, ...);
206
void Scene_AddCCReply (scene_t *scene, wchar_t *nickname, wchar_t *channelname, unsigned long color_rgbx, wchar_t *fmt, ...);
206
void Scene_AddAnnouncement (scene_t *scene, wchar_t *fmt, ...);
207
void Scene_AddCCAnnouncement (scene_t *scene, wchar_t *announcement_label, wchar_t *fmt, ...);
207
void Scene_SetupButton (guibutton_t *button, float left_percent, float top_percent, float width_percent, float height_percent, int sprite_index, wchar_t *fmt, ...);
208
void Scene_SetupButton (guibutton_t *button, float left_percent, float top_percent, float width_percent, float height_percent, int sprite_index, wchar_t *font_face, float font_sizepct, bool is_bold, bool is_italic, wchar_t *fmt, ...);
208
void Scene_SetupTextArea (guitext_t *text, float xpos_percent, float ypos_percent, float maxwidth_percent, int horizontal_align, int vertical_align, int text_align, int font_index);
209
void Scene_SetupTextArea (guitext_t *text, float xpos_percent, float ypos_percent, float maxwidth_percent, int horizontal_align, int vertical_align, int text_align, wchar_t *font_face, float font_sizepct, bool is_bold, bool is_italic);
209
void Scene_UpdateText (guitext_t *text, unsigned long color_rgba, float duration, bool want_fade, wchar_t *fmt, ...);
210
void Scene_UpdateText (guitext_t *text, unsigned long color_rgba, float duration, bool want_fade, wchar_t *fmt, ...);
210
 
211
 
211
// tabcontrol.cpp function prototypes
212
// tabcontrol.cpp function prototypes
212
void *TabControl_New (HWND hTabControlWnd, WNDPROC ParentProc);
213
void *TabControl_New (HWND hTabControlWnd, WNDPROC ParentProc);
213
void TabControl_AddPage (void *tab_control, wchar_t *page_name, int dialog_id);
214
void TabControl_AddPage (void *tab_control, wchar_t *page_name, int dialog_id);