]> icculus.org git repositories - btb/d2x.git/blob - main/kludge.c
fix automap background image
[btb/d2x.git] / main / kludge.c
1 /* $Id: kludge.c,v 1.13 2003-10-10 09:36:35 btb Exp $ */
2
3 /*
4  *
5  * DPH: This is the file where all the stub functions go. The aim is
6  * to have nothing in here, eventually
7  *
8  */
9
10 #ifdef HAVE_CONFIG_H
11 #include <conf.h>
12 #endif
13
14 #include <stdio.h>
15 #include <stdlib.h>
16
17 #include "gr.h"
18 #include "pstypes.h"
19 #include "maths.h"
20 #include "findfile.h"
21
22 int gr_renderstats = 0;
23 int gr_badtexture = 0;
24
25 extern int VGA_current_mode;
26
27 int Window_clip_left,Window_clip_top,Window_clip_right,Window_clip_bot;
28
29 char CDROM_dir[40] = ".";
30
31 #ifndef __DJGPP__
32 int gr_check_mode(u_int32_t a)
33 {
34         return 0;
35 }
36
37
38 void joy_set_btn_values( int btn, int state, int time_down, int downcount, int upcount )
39 {
40
41 }
42 #endif
43
44 void key_putkey(char i)
45 {
46
47 }
48
49 void g3_remap_interp_colors()
50 {
51
52 }
53
54 /*
55 extern short interp_color_table
56 void g3_remap_interp_colors()
57 {
58  int eax, ebx;
59  
60  ebx = 0;
61  if (ebx != n_interp_colors) {
62    eax = 0;
63    eax = interp_color_table
64  }
65
66 }
67 */
68
69 int com_init(void)
70 {
71         return 0;
72 }
73
74 void com_level_sync(void)
75 {
76
77 }
78
79 void com_main_menu()
80 {
81
82 }
83
84 void com_do_frame()
85 {
86
87 }
88
89 void com_send_data()
90 {
91
92 }
93
94 void com_endlevel()
95 {
96
97 }
98
99 void serial_leave_game()
100 {
101
102 }
103
104 void network_dump_appletalk_player(ubyte node, ushort net, ubyte socket, int why)
105 {
106
107 }
108
109 void digi_stop_digi_sounds(void)
110 {
111
112 }
113
114 void digi_stop_current_song(void)
115 {
116
117
118 }
119
120 void digi_set_midi_volume(int a)
121 {
122
123 }
124
125 void digi_play_midi_song(void)
126 {
127
128 }
129
130 void digi_pause_digi_sounds()
131 {
132
133 }
134
135 void digi_resume_digi_sounds()
136 {
137
138 }
139 void digi_play_sample_looping( int soundno, fix max_volume,int loop_start, int loop_end )
140 {
141
142 }
143
144 void digi_change_looping_volume( fix volume )
145 {
146
147 }
148
149 void digi_stop_looping_sound()
150 {
151
152 }
153
154 // Plays a queued voice sound.
155 void digi_start_sound_queued( short soundnum, fix volume )
156 {
157
158 }