]> icculus.org git repositories - btb/d2x.git/blob - main/kludge.c
typo
[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 Dont_start_sound_objects = 1;
16
17 int Window_clip_left,Window_clip_top,Window_clip_right,Window_clip_bot;
18
19 #if 0
20 char CDROM_dir[40] = ".";
21 #else
22 char CDROM_dir[40] = "/cdrom/d2data/";
23 #endif
24
25 #ifndef __DJGPP__
26 int gr_check_mode(u_int32_t a)
27 {
28   return 0;
29
30 #endif
31
32 extern int Num_computed_colors;
33 void gr_copy_palette(ubyte *gr_palette, ubyte *pal, int size)
34 {
35                 memcpy(gr_palette, pal, size);
36
37                 Num_computed_colors = 0;
38 }
39
40 #ifndef __DJGPP__
41 void joy_set_btn_values( int btn, int state, int time_down, int downcount, int upcount )
42 {
43
44 }
45 #endif
46
47 void key_putkey(char i)
48 {
49
50 }
51
52 void g3_remap_interp_colors()
53 {
54
55 }
56
57 /*
58 extern short interp_color_table
59 void g3_remap_interp_colors()
60 {
61  int eax, ebx;
62  
63  ebx = 0;
64  if (ebx != n_interp_colors) {
65    eax = 0;
66    eax = interp_color_table
67  }
68
69 }
70 */
71
72 int com_init(void)
73 {
74  return 0;
75 }
76
77 void com_level_sync(void)
78 {
79
80 }
81
82 void com_main_menu()
83 {
84
85 }
86
87 void com_do_frame()
88 {
89
90 }
91
92 void com_send_data()
93 {
94
95 }
96
97 void com_endlevel()
98 {
99
100 }
101
102 void serial_leave_game()
103 {
104
105 }
106
107 void network_dump_appletalk_player(ubyte node, ushort net, ubyte socket, int why)
108 {
109
110 }
111
112 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 )
113 {
114         return 0;
115 }
116
117 void digi_stop_sound(int channel)
118 {
119
120 }
121
122 void digi_stop_digi_sounds(void)
123 {
124
125 }
126
127 void digi_stop_current_song(void)
128 {
129
130
131 }
132
133 void digi_set_midi_volume(int a)
134 {
135
136 }
137
138 void digi_play_midi_song(void)
139 {
140
141 }
142
143 void digi_pause_digi_sounds()
144 {
145
146 }
147
148 void digi_resume_digi_sounds()
149 {
150
151 }
152 void digi_play_sample_looping( int soundno, fix max_volume,int loop_start, int loop_end )
153 {
154
155 }
156 void digi_change_looping_volume( fix volume )
157 {
158
159 }
160 void digi_stop_looping_sound()
161 {
162
163 }
164
165 // Plays a queued voice sound.
166 void digi_start_sound_queued( short soundnum, fix volume )
167 {
168
169 }