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