Cube  Diff

Differences From Artifact [59c370b1c3]:

To Artifact [ec095dab28]:


138
139
140
141
142
143
144

145

146
147
148
149
150
151
152
138
139
140
141
142
143
144
145

146
147
148
149
150
151
152
153







+
-
+







// worldocull
extern void computeraytable(float vx, float vy);
extern int isoccluded(float vx, float vy, float cx, float cy, float csize);

// main
extern void fatal(OFString *s, OFString *o = @"");
extern void *alloc(int s);
extern SDL_Window *window;
extern void keyrepeat(bool on);
extern bool keyrepeat;

// rendertext
extern void draw_text(char *str, int left, int top, int gl_num);
extern void draw_textf(char *fstr, int left, int top, int gl_num, ...);
extern int text_width(char *str);
extern void draw_envbox(int t, int fogdist);