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