2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
14 static void stub_void_void()
18 static void stub_void_int(int)
22 static void stub_void_int2(int, int)
26 static void stub_void_int3(int, int, int)
30 static void stub_void_int4(int, int, int, int)
34 static void stub_void_int6(int, int, int, int, int, int)
38 static void stub_void_vertex2(vertex *, vertex *)
42 static void stub_string(int, int, const char *)
46 static void stub_tmapper(int, vertex *[], uint)
50 static void stub_print_screen(const char *)
54 static int stub_save_screen()
59 static void stub_set_gamma(float)
63 static uint stub_lock()
68 static void stub_fog_set(int, int, int, int, float, float)
72 static void stub_get_region(int, int, int, ubyte *)
76 static void stub_cross_fade(int, int, int, int, int, int, float)
80 static int stub_preload(int, int)
85 static void stub_stream_frame(ubyte *)
92 gr_screen.gf_flip = stub_void_void;
93 gr_screen.gf_set_clip = stub_void_int4;
94 gr_screen.gf_reset_clip = stub_void_void;
96 gr_screen.gf_clear = stub_void_void;
98 gr_screen.gf_aabitmap = stub_void_int2;
99 gr_screen.gf_aabitmap_ex = stub_void_int6;
101 gr_screen.gf_rect = stub_void_int4;
102 gr_screen.gf_shade = stub_void_int4;
103 gr_screen.gf_string = stub_string;
104 gr_screen.gf_circle = stub_void_int3;
106 gr_screen.gf_line = stub_void_int4;
107 gr_screen.gf_aaline = stub_void_vertex2;
108 gr_screen.gf_pixel = stub_void_int2;
109 gr_screen.gf_scaler = stub_void_vertex2;
110 gr_screen.gf_tmapper = stub_tmapper;
112 gr_screen.gf_gradient = stub_void_int4;
114 gr_screen.gf_print_screen = stub_print_screen;
116 gr_screen.gf_fade_in = stub_void_int;
117 gr_screen.gf_fade_out = stub_void_int;
118 gr_screen.gf_flash = stub_void_int3;
120 gr_screen.gf_zbuffer_clear = stub_void_int;
122 gr_screen.gf_save_screen = stub_save_screen;
123 gr_screen.gf_restore_screen = stub_void_int;
124 gr_screen.gf_free_screen = stub_void_int;
126 gr_screen.gf_dump_frame_start = stub_void_int2;
127 gr_screen.gf_dump_frame_stop = stub_void_void;
128 gr_screen.gf_dump_frame = stub_void_void;
130 gr_screen.gf_stream_start = stub_void_int4;
131 gr_screen.gf_stream_frame = stub_stream_frame;
132 gr_screen.gf_stream_stop = stub_void_void;
134 gr_screen.gf_set_gamma = stub_set_gamma;
136 gr_screen.gf_lock = stub_lock;
137 gr_screen.gf_unlock = stub_void_void;
139 gr_screen.gf_fog_set = stub_fog_set;
141 gr_screen.gf_get_region = stub_get_region;
143 gr_screen.gf_set_cull = stub_void_int;
145 gr_screen.gf_cross_fade = stub_cross_fade;
147 gr_screen.gf_preload_init = stub_void_void;
148 gr_screen.gf_preload = stub_preload;
150 gr_screen.gf_zbias = stub_void_int;
152 gr_screen.gf_set_viewport = stub_void_int2;
154 gr_screen.gf_activate = stub_void_int;
156 gr_screen.gf_release_texture = stub_void_int;