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