]> icculus.org git repositories - btb/d2x.git/blob - main/kludge.c
fix some gcc 3.0 warnings, courtesy of paoloulivi@tin.it
[btb/d2x.git] / main / kludge.c
1 /* DPH: This is the file where all the stub functions go. The aim is to have nothing in here ,eventually */
2 #include <conf.h>
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <string.h>
6 #include "gr.h"
7 #include "pstypes.h"
8 #include "maths.h"
9 #include "findfile.h"
10
11 int gr_renderstats = 0;
12 int gr_badtexture = 0;
13
14 extern int VGA_current_mode;
15 int MovieHires = 1;
16 int MVEPaletteCalls = 0;
17 int robot_movies = 0;
18 int Dont_start_sound_objects = 1;
19
20 int Window_clip_left,Window_clip_top,Window_clip_right,Window_clip_bot;
21 char CDROM_dir[40] = ".";
22
23 #ifndef __ENV_DJGPP__
24 int gr_check_mode(u_int32_t a)
25 {
26   return 0;
27
28 #endif
29
30 extern int Num_computed_colors;
31 void gr_copy_palette(ubyte *gr_palette, ubyte *pal, int size)
32 {
33                 memcpy(gr_palette, pal, size);
34
35                 Num_computed_colors = 0;
36 }
37
38 #ifndef __ENV_DJGPP__
39 void joy_set_btn_values( int btn, int state, int time_down, int downcount, int upcount )
40 {
41
42 }
43 #endif
44
45 int request_cd(void)
46 {
47         return 0;
48 }
49
50 void key_putkey(char i)
51 {
52
53 }
54
55 void g3_remap_interp_colors()
56 {
57
58 }
59
60 /*
61 extern short interp_color_table
62 void g3_remap_interp_colors()
63 {
64  int eax, ebx;
65  
66  ebx = 0;
67  if (ebx != n_interp_colors) {
68    eax = 0;
69    eax = interp_color_table
70  }
71
72 }
73 */
74
75 void init_movies()
76 {
77
78 }
79
80 int InitMovieBriefing()
81 {
82         return  0;
83 }
84
85 void RotateRobot()
86 {
87
88 }
89
90 int InitRobotMovie(char *a)
91 {
92         return 0;
93 }
94
95 void DeInitRobotMovie(void)
96 {
97
98 }
99
100 void init_extra_robot_movie(char *f)
101 {
102
103 }
104
105
106 int com_init(void)
107 {
108  return 0;
109 }
110
111 void com_level_sync(void)
112 {
113
114 }
115
116 void com_main_menu()
117 {
118
119 }
120
121 void com_do_frame()
122 {
123
124 }
125
126 void com_send_data()
127 {
128
129 }
130
131 void com_endlevel()
132 {
133
134 }
135
136 void serial_leave_game()
137 {
138
139 }
140
141 void network_dump_appletalk_player(ubyte node, ushort net, ubyte socket, int why)
142 {
143
144 }
145
146 int digi_link_sound_to_object3( int org_soundnum, short objnum, int forever, fix max_volume, fix  max_distance, int loop_start, int loop_end )
147 {
148         return 0;
149 }
150
151 void digi_stop_sound(int channel)
152 {
153
154 }
155
156 void digi_stop_digi_sounds(void)
157 {
158
159 }
160
161 void digi_stop_current_song(void)
162 {
163
164
165 }
166
167 void digi_set_midi_volume(int a)
168 {
169
170 }
171
172 void digi_play_midi_song(void)
173 {
174
175 }
176
177
178
179 int PlayMovie(const char *a, int b)
180 {
181         return 0;
182
183 }
184
185
186 void digi_pause_digi_sounds()
187 {
188
189 }
190
191 void digi_resume_digi_sounds()
192 {
193
194 }
195 void digi_play_sample_looping( int soundno, fix max_volume,int loop_start, int loop_end )
196 {
197
198 }
199 void digi_change_looping_volume( fix volume )
200 {
201
202 }
203 void digi_stop_looping_sound()
204 {
205
206 }
207
208 // Plays a queued voice sound.
209 void digi_start_sound_queued( short soundnum, fix volume )
210 {
211
212 }
213
214
215 void init_subtitles()
216 {
217
218 }
219
220 void close_subtitles()
221 {
222
223 }