]> icculus.org git repositories - btb/d2x.git/blob - main/kludge.c
add -renderstats command-line arg to activate RENDERSTATS (d1x r1.36, r1.15, r1.33)
[btb/d2x.git] / main / kludge.c
1 /* $Id: kludge.c,v 1.14 2003-11-27 04:50:22 btb Exp $ */
2
3 /*
4  *
5  * DPH: This is the file where all the stub functions go. The aim is
6  * to have nothing in here, eventually
7  *
8  */
9
10 #ifdef HAVE_CONFIG_H
11 #include <conf.h>
12 #endif
13
14 #include <stdio.h>
15 #include <stdlib.h>
16
17 #include "gr.h"
18 #include "pstypes.h"
19 #include "maths.h"
20 #include "findfile.h"
21
22 int gr_renderstats = 0;
23 int gr_badtexture = 0;
24
25 extern int VGA_current_mode;
26
27 int Window_clip_left,Window_clip_top,Window_clip_right,Window_clip_bot;
28
29 char CDROM_dir[40] = ".";
30
31 #ifndef __DJGPP__
32 void joy_set_btn_values( int btn, int state, int time_down, int downcount, int upcount )
33 {
34
35 }
36 #endif
37
38 void key_putkey(char i)
39 {
40
41 }
42
43 void g3_remap_interp_colors()
44 {
45
46 }
47
48 /*
49 extern short interp_color_table
50 void g3_remap_interp_colors()
51 {
52  int eax, ebx;
53  
54  ebx = 0;
55  if (ebx != n_interp_colors) {
56    eax = 0;
57    eax = interp_color_table
58  }
59
60 }
61 */
62
63 int com_init(void)
64 {
65         return 0;
66 }
67
68 void com_level_sync(void)
69 {
70
71 }
72
73 void com_main_menu()
74 {
75
76 }
77
78 void com_do_frame()
79 {
80
81 }
82
83 void com_send_data()
84 {
85
86 }
87
88 void com_endlevel()
89 {
90
91 }
92
93 void serial_leave_game()
94 {
95
96 }
97
98 void network_dump_appletalk_player(ubyte node, ushort net, ubyte socket, int why)
99 {
100
101 }
102
103 void digi_stop_digi_sounds(void)
104 {
105
106 }
107
108 void digi_stop_current_song(void)
109 {
110
111
112 }
113
114 void digi_set_midi_volume(int a)
115 {
116
117 }
118
119 void digi_play_midi_song(void)
120 {
121
122 }
123
124 void digi_pause_digi_sounds()
125 {
126
127 }
128
129 void digi_resume_digi_sounds()
130 {
131
132 }
133 void digi_play_sample_looping( int soundno, fix max_volume,int loop_start, int loop_end )
134 {
135
136 }
137
138 void digi_change_looping_volume( fix volume )
139 {
140
141 }
142
143 void digi_stop_looping_sound()
144 {
145
146 }
147
148 // Plays a queued voice sound.
149 void digi_start_sound_queued( short soundnum, fix volume )
150 {
151
152 }