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