My Project: openb3dlib.mod/openb3d/src/functions.h Source File

My Project

functions.h
Go to the documentation of this file.
1 #ifndef __functions_h__
2 #define __functions_h__
3
4
5 #ifdef WIN32
6 #ifdef BUILD_DLL
7 #define DLL_EXPORT __declspec(dllexport)
8 #else
9 #define DLL_EXPORT __declspec(dllimport)
10 #endif
11 #else
12 #define DLL_EXPORT
13 #endif
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 // extra
20 void DLL_EXPORT FreeShader(Shader *shader);
21 void DLL_EXPORT FreeStencil(Stencil *stencil);
22 void DLL_EXPORT TextureFlags(Texture* tex, int flags);
23 void DLL_EXPORT FreeSurface(Surface* surf);
24 void DLL_EXPORT TextureGLTexEnv(Texture* tex, int target, int pname, int param);
25 void DLL_EXPORT BrushGLColor(Brush* brush, float r, float g, float b, float a);
26 void DLL_EXPORT BrushGLBlendFunc(Brush* brush, int sfactor, int dfactor);
27
28 // rendering
29 void DLL_EXPORT BufferToTex(Texture* tex,unsigned char* buffer, int frame);
30 void DLL_EXPORT BackBufferToTex(Texture* tex,int frame);
31 void DLL_EXPORT CameraToTex(Texture* tex, Camera* cam, int frame);
32 void DLL_EXPORT TexToBuffer(Texture* tex,unsigned char* buffer, int frame);
33
34
35 /*
36 bbdoc: Minib3d Only
37 about:
38 This command is the equivalent of Blitz3D's MeshCullBox command.
39
40 It is used to set the radius of a mesh's 'cull sphere' - if the 'cull sphere' is not inside the viewing area, the mesh will not
41 be rendered.
42
43 A mesh's cull radius is set automatically, therefore in most cases you will not have to use this command.
44
45 One time you may have to use it is for animated meshes where the default cull radius may not take into account all animation
46 positions, resulting in the mesh being wrongly culled at extreme positions.
47 */
48 void DLL_EXPORT MeshCullRadius(Entity* ent, float radius);
49 // Blitz3D functions, A-Z
50
51 /*
52 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AddAnimSeq">Online Help</a>
53 */
54 int DLL_EXPORT AddAnimSeq(Entity* ent,int length);
55
56 /*
57 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AddMesh">Online Help</a>
58 */
59 void DLL_EXPORT AddMesh(Mesh* mesh1,Mesh* mesh2);
60
61 /*
62 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AddTriangle">Online Help</a>
63 */
64 int DLL_EXPORT AddTriangle(Surface* surf,int v0,int v1,int v2);
65
66 /*
67 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AddVertex">Online Help</a>
68 */
69 int DLL_EXPORT AddVertex(Surface* surf,float x, float y,float z,float u, float v,float w);
70
71 /*
72 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AmbientLight">Online Help</a>
73 */
74 void DLL_EXPORT AmbientLight(float r,float g,float b);
75
76 /*
77 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AntiAlias">Online Help</a>
78 */
79 void DLL_EXPORT AntiAlias(int samples);
80
81 /*
82 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=Animate">Online Help</a>
83 */
84 void DLL_EXPORT Animate(Entity* ent,int mode,float speed,int seq,int trans);
85
86 /*
87 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=Animating">Online Help</a>
88 */
89 int DLL_EXPORT Animating(Entity* ent);
90
91 /*
92 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AnimLength">Online Help</a>
93 */
94 int DLL_EXPORT AnimLength(Entity* ent);
95
96 /*
97 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AnimSeq">Online Help</a>
98 */
99 int DLL_EXPORT AnimSeq(Entity* ent);
100
101 /*
102 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=AnimTime">Online Help</a>
103 */
104 float DLL_EXPORT AnimTime(Entity* ent);
105
106 /*
107 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=BrushAlpha">Online Help</a>
108 */
109 void DLL_EXPORT BrushAlpha(Brush* brush, float a);
110
111 /*
112 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=BrushBlend">Online Help</a>
113 */
114 void DLL_EXPORT BrushBlend(Brush* brush,int blend);
115
116 /*
117 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=BrushColor">Online Help</a>
118 */
119 void DLL_EXPORT BrushColor(Brush* brush,float r,float g,float b);
120
121 /*
122 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=BrushFX">Online Help</a>
123 */
124 void DLL_EXPORT BrushFX(Brush* brush,int fx);
125
126 /*
127 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=BrushShininess">Online Help</a>
128 */
129 void DLL_EXPORT BrushShininess(Brush* brush,float s);
130
131 /*
132 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=BrushTexture">Online Help</a>
133 */
134 void DLL_EXPORT BrushTexture(Brush* brush,Texture* tex,int frame,int index);
135
136 /*
137 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraClsColor">Online Help</a>
138 */
139 void DLL_EXPORT CameraClsColor(Camera* cam, float r,float g,float b);
140
141 /*
142 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraClsMode">Online Help</a>
143 */
144 void DLL_EXPORT CameraClsMode(Camera* cam,int cls_depth,int cls_zbuffer);
145
146 /*
147 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraFogColor">Online Help</a>
148 */
149 void DLL_EXPORT CameraFogColor(Camera* cam,float r,float g,float b);
150
151 /*
152 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraFogMode">Online Help</a>
153 */
154 void DLL_EXPORT CameraFogMode(Camera* cam,int mode);
155
156 /*
157 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraFogRange">Online Help</a>
158 */
159 void DLL_EXPORT CameraFogRange(Camera* cam,float nnear,float nfar);
160
161 /*
162 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraPick">Online Help</a>
163 */
164 Entity* DLL_EXPORT CameraPick(Camera* cam,float x,float y);
165
166 /*
167 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraProject">Online Help</a>
168 */
169 void DLL_EXPORT CameraProject(Camera* cam,float x,float y,float z);
170
171 /*
172 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraProjMode">Online Help</a>
173 */
174 void DLL_EXPORT CameraProjMode(Camera* cam,int mode);
175
176 /*
177 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraRange">Online Help</a>
178 */
179 void DLL_EXPORT CameraRange(Camera* cam,float nnear,float nfar);
180
181 /*
182 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraViewport">Online Help</a>
183 */
184 void DLL_EXPORT CameraViewport(Camera* cam,int x,int y,int width,int height);
185
186 /*
187 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CameraZoom">Online Help</a>
188 */
189 void DLL_EXPORT CameraZoom(Camera* cam,float zoom);
190
191 /*
192 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ClearCollisions">Online Help</a>
193 int ClearCollisions(){
194 Global::ClearCollisions();
195 }
196 */
197 /*
198 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ClearSurface">Online Help</a>
199 */
200 void DLL_EXPORT ClearSurface(Surface* surf,int clear_verts,int clear_tris);
201
202 /*
203 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ClearTextureFilters">Online Help</a>
204 */
205 void DLL_EXPORT ClearTextureFilters();
206
207 /*
208 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ClearWorld">Online Help</a>
209 */
210 void DLL_EXPORT ClearWorld(int entities,int brushes,int textures);
211
212 /*
213 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionEntity">Online Help</a>
214 */
215 Entity* DLL_EXPORT CollisionEntity(Entity* ent,int index);
216
217 /*
218 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=Collisions">Online Help</a>
219 */
220 void DLL_EXPORT Collisions(int src_no,int dest_no,int method_no,int response_no);
221
222 /*
223 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionNX">Online Help</a>
224 */
225 float DLL_EXPORT CollisionNX(Entity* ent,int index);
226
227 /*
228 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionNY">Online Help</a>
229 */
230 float DLL_EXPORT CollisionNY(Entity* ent,int index);
231
232 /*
233 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionNZ">Online Help</a>
234 */
235 float DLL_EXPORT CollisionNZ(Entity* ent,int index);
236
237 /*
238 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionSurface">Online Help</a>
239 */
240 Surface* DLL_EXPORT CollisionSurface(Entity* ent,int index);
241
242 /*
243 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionTime">Online Help</a>
244 */
245 float DLL_EXPORT CollisionTime(Entity* ent,int index);
246
247 /*
248 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionTriangle">Online Help</a>
249 */
250 int DLL_EXPORT CollisionTriangle(Entity* ent,int index);
251
252 /*
253 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionX">Online Help</a>
254 */
255 float DLL_EXPORT CollisionX(Entity* ent,int index);
256
257 /*
258 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionY">Online Help</a>
259 */
260 float DLL_EXPORT CollisionY(Entity* ent,int index);
261
262 /*
263 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionZ">Online Help</a>
264 */
265 float DLL_EXPORT CollisionZ(Entity* ent,int index);
266
267 /*
268 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CountChildren">Online Help</a>
269 */
270 int DLL_EXPORT CountChildren(Entity* ent);
271
272 /*
273 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CountCollisions">Online Help</a>
274 */
275 int DLL_EXPORT CountCollisions(Entity* ent);
276
277 /*
278 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CopyEntity">Online Help</a>
279 */
280 Entity* DLL_EXPORT CopyEntity(Entity* ent,Entity* parent);
281
282 /*
283 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CopyMesh">Online Help</a>
284 */
285 Mesh* DLL_EXPORT CopyMesh(Mesh* mesh,Entity* parent);
286
287 /*
288 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CountSurfaces">Online Help</a>
289 */
290 int DLL_EXPORT CountSurfaces(Mesh* mesh);
291
292 /*
293 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CountTriangles">Online Help</a>
294 */
295 int DLL_EXPORT CountTriangles(Surface* surf);
296
297 /*
298 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CountVertices">Online Help</a>
299 */
300 int DLL_EXPORT CountVertices(Surface* surf);
301
302 /*
303 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateBrush">Online Help</a>
304 */
305 Brush* DLL_EXPORT CreateBrush(float r,float g,float b);
306
307 /*
308 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCamera">Online Help</a>
309 */
310 Camera* DLL_EXPORT CreateCamera(Entity* parent);
311
312 /*
313 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCone">Online Help</a>
314 */
315 Mesh* DLL_EXPORT CreateCone(int segments,int solid,Entity* parent);
316
317 /*
318 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCylinder">Online Help</a>
319 */
320 Mesh* DLL_EXPORT CreateCylinder(int segments,int solid,Entity* parent);
321
322 /*
323 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCube">Online Help</a>
324 */
325 Mesh* DLL_EXPORT CreateCube(Entity* parent);
326
327 Terrain* DLL_EXPORT CreateGeosphere(int size, Entity* parent);
328
329 /*
330 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateMesh">Online Help</a>
331 */
332 Mesh* DLL_EXPORT CreateMesh(Entity* parent);
333
334 /*
335 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateLight">Online Help</a>
336 */
337 Light* DLL_EXPORT CreateLight(int light_type,Entity* parent);
338
339 /*
340 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreatePivot">Online Help</a>
341 */
342 Pivot* DLL_EXPORT CreatePivot(Entity* parent);
343
344 Mesh* DLL_EXPORT CreatePlane(int divisions,Entity* parent);
345
346 Mesh* DLL_EXPORT CreateQuad(Entity* parent);
347
348 ShadowObject* DLL_EXPORT CreateShadow(Mesh* parent, char Static);
349
350 /*
351 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateSphere">Online Help</a>
352 */
353 Mesh* DLL_EXPORT CreateSphere(int segments,Entity* parent);
354
355 /*
356 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateSprite">Online Help</a>
357 */
358 Sprite* DLL_EXPORT CreateSprite(Entity* parent);
359
360 /*
361 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateSurface">Online Help</a>
362 */
363 Surface* DLL_EXPORT CreateSurface(Mesh* mesh,Brush* brush);
364
365 /*
366 */
367 Stencil* DLL_EXPORT CreateStencil();
368
369 /*
370 */
371 Terrain* DLL_EXPORT CreateTerrain(int size, Entity* parent);
372
373 /*
374 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=CreateTexture">Online Help</a>
375 */
376 Texture* DLL_EXPORT CreateTexture(int width,int height,int flags,int frames);
377
378 /*
379 */
380 VoxelSprite* DLL_EXPORT CreateVoxelSprite(int slices, Entity* parent);
381
382
383 /*
384 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=DeltaPitch">Online Help</a>
385 */
386 float DLL_EXPORT DeltaPitch(Entity* ent1,Entity* ent2);
387
388 /*
389 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=DeltaYaw">Online Help</a>
390 */
391 float DLL_EXPORT DeltaYaw(Entity* ent1,Entity* ent2);
392
393 /*
394 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityAlpha">Online Help</a>
395 */
396 void DLL_EXPORT EntityAlpha(Entity* ent,float alpha);
397
398 /*
399 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityAutoFade">Online Help</a>
400 */
401 void DLL_EXPORT EntityAutoFade(Entity* ent,float near,float far);
402
403 /*
404 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityBlend">Online Help</a>
405 */
406 void DLL_EXPORT EntityBlend(Entity* ent, int blend);
407
408 /*
409 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityBox">Online Help</a>
410 */
411 void DLL_EXPORT EntityBox(Entity* ent,float x,float y,float z,float w,float h,float d);
412
413 /*
414 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityClass">Online Help</a>
415 */
416 const char* DLL_EXPORT EntityClass(Entity* ent);
417
418 /*
419 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityCollided">Online Help</a>
420 */
421 Entity* DLL_EXPORT EntityCollided(Entity* ent,int type_no);
422
423 /*
424 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityColor">Online Help</a>
425 */
426 void DLL_EXPORT EntityColor(Entity* ent,float red,float green,float blue);
427
428 /*
429 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityDistance">Online Help</a>
430 */
431 float DLL_EXPORT EntityDistance(Entity* ent1,Entity* ent2);
432
433 /*
434 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityFX">Online Help</a>
435 */
436 void DLL_EXPORT EntityFX(Entity* ent,int fx);
437
438 /*
439 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityInView">Online Help</a>
440 */
441 int DLL_EXPORT EntityInView(Entity* ent,Camera* cam);
442
443 /*
444 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityName">Online Help</a>
445 */
446 const char* DLL_EXPORT EntityName(Entity* ent);
447
448 /*
449 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityOrder">Online Help</a>
450 */
451 void DLL_EXPORT EntityOrder(Entity* ent,int order);
452
453 /*
454 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityParent">Online Help</a>
455 */
456 void DLL_EXPORT EntityParent(Entity* ent,Entity* parent_ent,int glob);
457
458 /*
459 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityPick">Online Help</a>
460 */
461 Entity* DLL_EXPORT EntityPick(Entity* ent,float range);
462
463 /*
464 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityPickMode">Online Help</a>
465 */
466 void DLL_EXPORT EntityPickMode(Entity* ent,int pick_mode,int obscurer);
467
468 /*
469 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityPitch">Online Help</a>
470 */
471 float DLL_EXPORT EntityPitch(Entity* ent,int glob);
472
473 /*
474 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityRadius">Online Help</a>
475 */
476 void DLL_EXPORT EntityRadius(Entity* ent,float radius_x,float radius_y);
477
478 /*
479 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityRoll">Online Help</a>
480 */
481 float DLL_EXPORT EntityRoll(Entity* ent,int glob);
482
483 /*
484 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityShininess">Online Help</a>
485 */
486 void DLL_EXPORT EntityShininess(Entity* ent,float shine);
487
488 /*
489 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityTexture">Online Help</a>
490 */
491 void DLL_EXPORT EntityTexture(Entity* ent,Texture* tex,int frame,int index);
492
493 /*
494 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityType">Online Help</a>
495 */
496 void DLL_EXPORT EntityType(Entity* ent,int type_no,int recursive);
497
498 /*
499 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityVisible">Online Help</a>
500 */
501 int DLL_EXPORT EntityVisible(Entity* src_ent,Entity* dest_ent);
502
503 /*
504 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityX">Online Help</a>
505 */
506 float DLL_EXPORT EntityX(Entity* ent,int glob);
507
508 /*
509 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityY">Online Help</a>
510 */
511 float DLL_EXPORT EntityY(Entity* ent,int glob);
512
513 /*
514 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityYaw">Online Help</a>
515 */
516 float DLL_EXPORT EntityYaw(Entity* ent,int glob);
517
518 /*
519 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=EntityZ">Online Help</a>
520 */
521 float DLL_EXPORT EntityZ(Entity* ent,int glob);
522
523 /*
524 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ExtractAnimSeq">Online Help</a>
525 */
526 int DLL_EXPORT ExtractAnimSeq(Entity* ent,int first_frame,int last_frame,int seq);
527
528 /*
529 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FindChild">Online Help</a>
530 */
531 Entity* DLL_EXPORT FindChild(Entity* ent,char* child_name);
532
533 /*
534 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FindSurface">Online Help</a>
535 */
536 Surface* DLL_EXPORT FindSurface(Mesh* mesh,Brush* brush);
537
538 /*
539 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FitMesh">Online Help</a><p>
540 */
541 void DLL_EXPORT FitMesh(Mesh* mesh,float x,float y,float z,float width,float height,float depth,int uniform);
542
543 /*
544 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FlipMesh">Online Help</a>
545 */
546 void DLL_EXPORT FlipMesh(Mesh* mesh);
547
548 /*
549 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FreeBrush">Online Help</a>
550 */
551 void DLL_EXPORT FreeBrush(Brush* brush);
552
553 /*
554 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FreeEntity">Online Help</a>
555 */
556 void DLL_EXPORT FreeEntity(Entity* ent);
557
558 void DLL_EXPORT FreeShadow(ShadowObject* shad);
559
560
561 /*
562 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=FreeTexture">Online Help</a>
563 */
564 void DLL_EXPORT FreeTexture(Texture* tex);
565
566 /*
567 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetBrushTexture">Online Help</a>
568 */
569 Texture* DLL_EXPORT GetBrushTexture(Brush* brush,int index);
570
571 /*
572 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetChild">Online Help</a>
573 */
574 Entity* DLL_EXPORT GetChild(Entity* ent,int child_no);
575
576 /*
577 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetEntityBrush">Online Help</a>
578 */
579 Brush* DLL_EXPORT GetEntityBrush(Entity* ent);
580
581 /*
582 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetEntityType">Online Help</a>
583 */
584 int DLL_EXPORT GetEntityType(Entity* ent);
585
586 /*
587 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ResetEntity">Online Help</a>
588 */
589 float DLL_EXPORT GetMatElement(Entity* ent,int row,int col);
590
591 /*
592 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetParent">Online Help</a>
593 */
594 Entity* DLL_EXPORT GetParentEntity(Entity* ent);
595
596 /*
597 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetSurface">Online Help</a>
598 */
599 Surface* DLL_EXPORT GetSurface(Mesh* mesh,int surf_no);
600
601 /*
602 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=GetSurfaceBrush">Online Help</a>
603 */
604 Brush* DLL_EXPORT GetSurfaceBrush(Surface* surf);
605
606 /*
607 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=Graphics3D">Online Help</a>
608 */
609 void DLL_EXPORT Graphics3D(int width,int height,int depth,int mode,int rate);
610
611 /*
612 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=HandleSprite">Online Help</a>
613 */
614 void DLL_EXPORT HandleSprite(Sprite* sprite,float h_x,float h_y);
615
616 /*
617 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=HideEntity">Online Help</a>
618 */
619 void DLL_EXPORT HideEntity(Entity* ent);
620
621 /*
622 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LightColor">Online Help</a>
623 */
624 void DLL_EXPORT LightColor(Light* light,float red,float green,float blue);
625
626 /*
627 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LightConeAngles">Online Help</a>
628 */
629 void DLL_EXPORT LightConeAngles(Light* light,float inner_ang,float outer_ang);
630
631 /*
632
633 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LightRange">Online Help</a>
634 */
635 void DLL_EXPORT LightRange(Light* light,float range);
636
637 /*
638 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LinePick">Online Help</a>
639 */
640 Entity* DLL_EXPORT LinePick(float x,float y,float z,float dx,float dy,float dz,float radius);
641
642 /*
643 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LoadAnimMesh">Online Help</a>
644 */
645 Mesh* DLL_EXPORT LoadAnimMesh(char* file,Entity* parent);
646
647 /*
648 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LoadAnimTexture">Online Help</a>
649 */
650 Texture* DLL_EXPORT LoadAnimTexture(char* file,int flags,int frame_width,int frame_height,int first_frame,int frame_count);
651
652 /*
653 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LoadBrush">Online Help</a>
654 */
655 Brush* DLL_EXPORT LoadBrush(char *file,int flags,float u_scale,float v_scale);
656
657 Terrain* DLL_EXPORT LoadGeosphere(char* file,Entity* parent);
658
659 /*
660 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LoadMesh">Online Help</a>
661 */
662 Mesh* DLL_EXPORT LoadMesh(char* file,Entity* parent);
663
664
665 Terrain* DLL_EXPORT LoadTerrain(char* file,Entity* parent);
666
667
668 /*
669 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LoadTexture">Online Help</a>
670 */
671 Texture* DLL_EXPORT LoadTexture(char* file,int flags);
672
673 /*
674 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=LoadSprite">Online Help</a>
675 */
676 Sprite* DLL_EXPORT LoadSprite(char* tex_file,int tex_flag,Entity* parent);
677
678 /*
679 */
680 Mesh* DLL_EXPORT MeshCSG(Mesh* m1, Mesh* m2, int method);
681
682 /*
683 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=MeshDepth">Online Help</a>
684 */
685 float DLL_EXPORT MeshDepth(Mesh* mesh);
686
687 /*
688 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=MeshesIntersect">Online Help</a>
689 */
690 int DLL_EXPORT MeshesIntersect(Mesh* mesh1,Mesh* mesh2);
691
692 /*
693 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=MeshHeight">Online Help</a>
694 */
695 float DLL_EXPORT MeshHeight(Mesh* mesh);
696
697 /*
698 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=MeshWidth">Online Help</a>
699 */
700 float DLL_EXPORT MeshWidth(Mesh* mesh);
701
702 void DLL_EXPORT ModifyGeosphere(Geosphere* geo, int x, int z, float new_height);
703
704 void DLL_EXPORT ModifyTerrain(Terrain* terr, int x, int z, float new_height);
705
706 /*
707 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=MoveEntity">Online Help</a>
708 */
709 void DLL_EXPORT MoveEntity(Entity* ent,float x,float y,float z);
710
711 /*
712 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=NameEntity">Online Help</a>
713 */
714 void DLL_EXPORT NameEntity(Entity* ent,char* name);
715
716 /*
717 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PaintEntity">Online Help</a>
718 */
719 void DLL_EXPORT PaintEntity(Entity* ent,Brush* brush);
720
721 /*
722 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PaintMesh">Online Help</a>
723 */
724 void DLL_EXPORT PaintMesh(Mesh* mesh,Brush* brush);
725
726 /*
727 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PaintSurface">Online Help</a>
728 */
729 void DLL_EXPORT PaintSurface(Surface* surf,Brush* brush);
730
731 /*
732 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedEntity">Online Help</a>
733 */
734 Entity* DLL_EXPORT PickedEntity();
735
736 /*
737 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedNX">Online Help</a>
738 */
739 float DLL_EXPORT PickedNX();
740
741 /*
742 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedNY">Online Help</a>
743 */
744 float DLL_EXPORT PickedNY();
745
746 /*
747 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedNZ">Online Help</a>
748 */
749 float DLL_EXPORT PickedNZ();
750
751 /*
752 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedSurface">Online Help</a>
753 */
754 Surface* DLL_EXPORT PickedSurface();
755
756 /*
757 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedTime">Online Help</a>
758 */
759 float DLL_EXPORT PickedTime();
760
761 /*
762 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedTriangle">Online Help</a>
763 */
764 int DLL_EXPORT PickedTriangle();
765
766 /*
767 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedX">Online Help</a>
768 */
769 float DLL_EXPORT PickedX();
770
771 /*
772 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedY">Online Help</a>
773 */
774 float DLL_EXPORT PickedY();
775
776 /*
777 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PickedZ">Online Help</a>
778 */
779 float DLL_EXPORT PickedZ();
780
781 /*
782 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PointEntity">Online Help</a>
783 */
784 void DLL_EXPORT PointEntity(Entity* ent,Entity* target_ent,float roll);
785
786 /*
787 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PositionEntity">Online Help</a>
788 */
789 void DLL_EXPORT PositionEntity(Entity* ent,float x,float y,float z,int glob);
790
791 /*
792 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PositionMesh">Online Help</a>
793 */
794 void DLL_EXPORT PositionMesh(Mesh* mesh,float px,float py,float pz);
795
796 /*
797 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=PositionTexture">Online Help</a>
798 */
799 void DLL_EXPORT PositionTexture(Texture* tex,float u_pos,float v_pos);
800
801 /*
802 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ProjectedX">Online Help</a>
803 */
804 float DLL_EXPORT ProjectedX();
805
806 /*
807 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ProjectedY">Online Help</a>
808 */
809 float DLL_EXPORT ProjectedY();
810
811 /*
812 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ProjectedZ">Online Help</a>
813 */
814 float DLL_EXPORT ProjectedZ();
815
816 /*
817 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=RenderWorld">Online Help</a>
818 */
819 void DLL_EXPORT RenderWorld();
820
821 /*
822 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=RepeatMesh">Online Help</a>
823 */
824 Mesh* DLL_EXPORT RepeatMesh(Mesh* mesh,Entity* parent);
825
826 /*
827 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ResetEntity">Online Help</a>
828 */
829 void DLL_EXPORT ResetEntity(Entity* ent);
830
831 /*
832 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=RotateEntity">Online Help</a>
833 */
834 void DLL_EXPORT RotateEntity(Entity* ent,float x,float y,float z,int glob);
835
836 /*
837 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=RotateMesh">Online Help</a>
838 */
839 void DLL_EXPORT RotateMesh(Mesh* mesh,float pitch,float yaw,float roll);
840
841 /*
842 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=RotateSprite">Online Help</a>
843 */
844 void DLL_EXPORT RotateSprite(Sprite* sprite,float ang);
845
846 /*
847 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=RotateTexture">Online Help</a>
848 */
849 void DLL_EXPORT RotateTexture(Texture* tex,float ang);
850
851 /*
852 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleEntity">Online Help</a>
853 */
854 void DLL_EXPORT ScaleEntity(Entity* ent,float x,float y,float z,int glob);
855
856 /*
857 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleMesh">Online Help</a>
858 */
859 void DLL_EXPORT ScaleMesh(Mesh* mesh,float sx,float sy,float sz);
860
861 /*
862 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleSprite">Online Help</a>
863 */
864 void DLL_EXPORT ScaleSprite(Sprite* sprite,float s_x,float s_y);
865
866 /*
867 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleTexture">Online Help</a>
868 */
869 void DLL_EXPORT ScaleTexture(Texture* tex,float u_scale,float v_scale);
870
871 /*
872 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=SetAnimTime">Online Help</a>
873 */
874 void DLL_EXPORT SetAnimTime(Entity* ent,float time,int seq);
875
876 /*
877 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=SetCubeFace">Online Help</a>
878 */
879 void DLL_EXPORT SetCubeFace(Texture* tex,int face);
880
881 /*
882 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=SetCubeMode">Online Help</a>
883 */
884 void DLL_EXPORT SetCubeMode(Texture* tex,int mode);
885
886 /*
887 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=ShowEntity">Online Help</a>
888 */
889 void DLL_EXPORT ShowEntity(Entity* ent);
890
891 /*
892 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=SpriteViewMode">Online Help</a>
893 */
894 void DLL_EXPORT SpriteViewMode(Sprite* sprite,int mode);
895
896 /*
897 */
898 void DLL_EXPORT StencilAlpha(Stencil* stencil, float a);
899
900 /*
901 */
902 void DLL_EXPORT StencilClsColor(Stencil* stencil, float r,float g,float b);
903
904 /*
905 */
906 void DLL_EXPORT StencilClsMode(Stencil* stencil,int cls_depth,int cls_zbuffer);
907
908 /*
909 */
910 void DLL_EXPORT StencilMesh(Stencil* stencil, Mesh* mesh, int mode);
911
912 /*
913 */
914 void DLL_EXPORT StencilMode(Stencil* stencil, int m, int o);
915
916 /*
917 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainHeight">Online Help</a>
918 */
919 float DLL_EXPORT TerrainHeight (Terrain* terr, int x, int z);
920
921 /*
922 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainX">Online Help</a>
923 */
924 float DLL_EXPORT TerrainX(Terrain* terr, float x, float y, float z);
925
926 /*
927
928 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainY">Online Help</a>
929 */
930 float DLL_EXPORT TerrainY(Terrain* terr, float x, float y, float z);
931
932 /*
933 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainZ">Online Help</a>
934 */
935 float DLL_EXPORT TerrainZ(Terrain* terr, float x, float y, float z);
936
937 /*
938 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TextureBlend">Online Help</a>
939 */
940 void DLL_EXPORT TextureBlend(Texture* tex,int blend);
941
942 /*
943 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TextureCoords">Online Help</a>
944 */
945 void DLL_EXPORT TextureCoords(Texture* tex,int coords);
946
947 /*
948 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TextureHeight">Online Help</a>
949 */
950 int DLL_EXPORT TextureHeight(Texture* tex);
951
952 /*
953 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TextureFilter">Online Help</a>
954 */
955 void DLL_EXPORT TextureFilter(char* match_text,int flags);
956
957 /*
958 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TextureName">Online Help</a>
959 */
960 const char* DLL_EXPORT TextureName(Texture* tex);
961
962 /*
963 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TextureWidth">Online Help</a>
964 */
965 int DLL_EXPORT TextureWidth(Texture* tex);
966
967 /*
968 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TFormedX">Online Help</a>
969 */
970 float DLL_EXPORT TFormedX();
971
972 /*
973 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TFormedY">Online Help</a>
974 */
975 float DLL_EXPORT TFormedY();
976
977 /*
978 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TFormedZ">Online Help</a>
979 */
980 float DLL_EXPORT TFormedZ();
981
982 /*
983 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TFormNormal">Online Help</a>
984 */
985 void DLL_EXPORT TFormNormal(float x,float y,float z,Entity* src_ent,Entity* dest_ent);
986
987 /*
988 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TFormPoint">Online Help</a>
989 */
990 void DLL_EXPORT TFormPoint(float x,float y,float z,Entity* src_ent,Entity* dest_ent);
991
992 /*
993 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TFormVector">Online Help</a>
994 */
995 void DLL_EXPORT TFormVector(float x,float y,float z,Entity* src_ent,Entity* dest_ent);
996
997 /*
998 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TranslateEntity">Online Help</a>
999 */
1000 void DLL_EXPORT TranslateEntity(Entity* ent,float x,float y,float z,int glob);
1001
1002 /*
1003 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TriangleVertex">Online Help</a>
1004 */
1005 int DLL_EXPORT TriangleVertex(Surface* surf,int tri_no,int corner);
1006
1007 /*
1008 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=TurnEntity">Online Help</a>
1009 */
1010 void DLL_EXPORT TurnEntity(Entity* ent,float x,float y,float z,int glob);
1011
1012 /*
1013 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=UpdateNormals">Online Help</a>
1014 */
1015 void DLL_EXPORT UpdateNormals(Mesh* mesh);
1016
1017 /*
1018 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=UpdateNormals">Online Help</a>
1019 */
1020 void DLL_EXPORT UpdateTexCoords(Surface* surf);
1021
1022
1023 /*
1024 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=UpdateWorld">Online Help</a>
1025 */
1026 void DLL_EXPORT UpdateWorld(float anim_speed);
1027
1028 /*
1029 */
1030 void DLL_EXPORT UseStencil(Stencil* stencil);
1031 /*
1032 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VectorPitch">Online Help</a>
1033 */
1034 float DLL_EXPORT VectorPitch(float vx,float vy,float vz);
1035
1036 /*
1037 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VectorYaw">Online Help</a>
1038 */
1039 float DLL_EXPORT VectorYaw(float vx,float vy,float vz);
1040
1041 /*
1042 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexAlpha">Online Help</a>
1043 */
1044 float DLL_EXPORT VertexAlpha(Surface* surf,int vid);
1045
1046 /*
1047 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexBlue">Online Help</a>
1048 */
1049 float DLL_EXPORT VertexBlue(Surface* surf,int vid);
1050
1051 /*
1052 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexColor">Online Help</a>
1053 */
1054 void DLL_EXPORT VertexColor(Surface* surf,int vid,float r,float g,float b,float a);
1055
1056 /*
1057 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexCoords">Online Help</a>
1058 */
1059 void DLL_EXPORT VertexCoords(Surface* surf,int vid,float x,float y,float z);
1060
1061 /*
1062 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexGreen">Online Help</a>
1063 */
1064 float DLL_EXPORT VertexGreen(Surface* surf,int vid);
1065
1066 /*
1067 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNormal">Online Help</a>
1068 */
1069 void DLL_EXPORT VertexNormal(Surface* surf,int vid,float nx,float ny,float nz);
1070
1071 /*
1072 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNX">Online Help</a>
1073 */
1074 float DLL_EXPORT VertexNX(Surface* surf,int vid);
1075
1076 /*
1077 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNY">Online Help</a>
1078 */
1079 float DLL_EXPORT VertexNY(Surface* surf,int vid);
1080
1081 /*
1082 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNZ">Online Help</a>
1083 */
1084 float DLL_EXPORT VertexNZ(Surface* surf,int vid);
1085
1086 /*
1087 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexRed">Online Help</a>
1088 */
1089 float DLL_EXPORT VertexRed(Surface* surf,int vid);
1090
1091 /*
1092 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexTexCoords">Online Help</a>
1093 */
1094 void DLL_EXPORT VertexTexCoords(Surface* surf,int vid,float u,float v,float w,int coord_set);
1095
1096 /*
1097 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexU">Online Help</a>
1098 */
1099 float DLL_EXPORT VertexU(Surface* surf,int vid,int coord_set);
1100
1101 /*
1102 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexV">Online Help</a>
1103 */
1104 float DLL_EXPORT VertexV(Surface* surf,int vid,int coord_set);
1105
1106 /*
1107 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexW">Online Help</a>
1108 */
1109 float DLL_EXPORT VertexW(Surface* surf,int vid,int coord_set);
1110
1111 /*
1112 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexX">Online Help</a>
1113 */
1114 float DLL_EXPORT VertexX(Surface* surf,int vid);
1115
1116 /*
1117 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexY">Online Help</a>
1118 */
1119 float DLL_EXPORT VertexY(Surface* surf,int vid);
1120
1121 /*
1122 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=VertexZ">Online Help</a>
1123 */
1124 float DLL_EXPORT VertexZ(Surface* surf,int vid);
1125
1126 /*
1127 */
1128 void DLL_EXPORT VoxelSpriteMaterial(VoxelSprite* voxelspr, Material* mat);
1129
1130
1131 /*
1132 bbdoc: <a href="http://www.blitzbasic.com/b3ddocs/command.php?name=Wireframe">Online Help</a>
1133 */
1134 void DLL_EXPORT Wireframe(int enable);
1135
1136
1137 float DLL_EXPORT EntityScaleX(Entity* ent,int glob);
1138
1139 float DLL_EXPORT EntityScaleY(Entity* ent,int glob);
1140
1141 float DLL_EXPORT EntityScaleZ(Entity* ent,int glob);
1142
1143 Shader* DLL_EXPORT LoadShader(char* ShaderName, char* VshaderFileName, char* FshaderFileName);
1144
1145 Shader* DLL_EXPORT CreateShader(char* ShaderName, char* VshaderString, char* FshaderString);
1146
1147 void DLL_EXPORT ShadeSurface(Surface* surf, Shader* material);
1148
1149 void DLL_EXPORT ShadeMesh(Mesh* mesh, Shader* material);
1150
1151 void DLL_EXPORT ShadeEntity(Entity* ent, Shader* material);
1152
1153 Texture* DLL_EXPORT ShaderTexture(Shader* material, Texture* tex, char* name, int index);
1154
1155 void DLL_EXPORT SetFloat(Shader* material, char* name, float v1);
1156
1157 void DLL_EXPORT SetFloat2(Shader* material, char* name, float v1, float v2);
1158
1159 void DLL_EXPORT SetFloat3(Shader* material, char* name, float v1, float v2, float v3);
1160
1161 void DLL_EXPORT SetFloat4(Shader* material, char* name, float v1, float v2, float v3, float v4);
1162
1163 void DLL_EXPORT UseFloat(Shader* material, char* name, float* v1);
1164
1165 void DLL_EXPORT UseFloat2(Shader* material, char* name, float* v1, float* v2);
1166
1167 void DLL_EXPORT UseFloat3(Shader* material, char* name, float* v1, float* v2, float* v3);
1168
1169 void DLL_EXPORT UseFloat4(Shader* material, char* name, float* v1, float* v2, float* v3, float* v4);
1170
1171 void DLL_EXPORT SetInteger(Shader* material, char* name, int v1);
1172
1173 void DLL_EXPORT SetInteger2(Shader* material, char* name, int v1, int v2);
1174
1175 void DLL_EXPORT SetInteger3(Shader* material, char* name, int v1, int v2, int v3);
1176
1177 void DLL_EXPORT SetInteger4(Shader* material, char* name, int v1, int v2, int v3, int v4);
1178
1179 void DLL_EXPORT UseInteger(Shader* material, char* name, int* v1);
1180
1181 void DLL_EXPORT UseInteger2(Shader* material, char* name, int* v1, int* v2);
1182
1183 void DLL_EXPORT UseInteger3(Shader* material, char* name, int* v1, int* v2, int* v3);
1184
1185 void DLL_EXPORT UseInteger4(Shader* material, char* name, int* v1, int* v2, int* v3, int* v4);
1186
1187 void DLL_EXPORT UseSurface(Shader* material, char* name, Surface* surf, int vbo);
1188
1189 void DLL_EXPORT UseMatrix(Shader* material, char* name, int mode);
1190
1191 Material* DLL_EXPORT LoadMaterial(char* filename,int flags, int frame_width,int frame_height,int first_frame,int frame_count);
1192
1193 void DLL_EXPORT ShaderMaterial(Shader* material, Material* tex, char* name, int index);
1194
1195 OcTree* DLL_EXPORT CreateOcTree(float w, float h, float d, Entity* parent_ent);
1196
1197 void DLL_EXPORT AddToOctree(OcTree* octree, Mesh* mesh, int level, float X, float Y, float Z, float Near, float Far);
1198
1199 #ifdef __cplusplus
1200 } // extern "C"
1201 #endif
1202
1203 #endif
TexToBuffer
void DLL_EXPORT TexToBuffer(Texture *tex, unsigned char *buffer, int frame)
Definition: functions.cpp:76
PaintSurface
void DLL_EXPORT PaintSurface(Surface *surf, Brush *brush)
Definition: functions.cpp:1150
CameraFogColor
void DLL_EXPORT CameraFogColor(Camera *cam, float r, float g, float b)
Definition: functions.cpp:239
TranslateEntity
void DLL_EXPORT TranslateEntity(Entity *ent, float x, float y, float z, int glob)
EntityBlend
void DLL_EXPORT EntityBlend(Entity *ent, int blend)
Definition: functions.cpp:650
Mesh
Definition: mesh.h:34
UseFloat3
void DLL_EXPORT UseFloat3(Shader *material, char *name, float *v1, float *v2, float *v3)
Definition: functions.cpp:1881
EntityScaleY
float DLL_EXPORT EntityScaleY(Entity *ent, int glob)
CreateCube
Mesh *DLL_EXPORT CreateCube(Entity *parent)
Definition: functions.cpp:497
PickedNY
float DLL_EXPORT PickedNY()
Definition: functions.cpp:1193
EntityVisible
int DLL_EXPORT EntityVisible(Entity *src_ent, Entity *dest_ent)
Definition: functions.cpp:788
UseFloat
void DLL_EXPORT UseFloat(Shader *material, char *name, float *v1)
Definition: functions.cpp:1873
GetEntityBrush
Brush *DLL_EXPORT GetEntityBrush(Entity *ent)
Definition: functions.cpp:925
CreateGeosphere
Terrain *DLL_EXPORT CreateGeosphere(int size, Entity *parent)
Definition: functions.cpp:503
EntityZ
float DLL_EXPORT EntityZ(Entity *ent, int glob)
SetCubeFace
void DLL_EXPORT SetCubeFace(Texture *tex, int face)
Definition: functions.cpp:1395
UseInteger3
void DLL_EXPORT UseInteger3(Shader *material, char *name, int *v1, int *v2, int *v3)
Definition: functions.cpp:1913
SetFloat
void DLL_EXPORT SetFloat(Shader *material, char *name, float v1)
Definition: functions.cpp:1857
StencilClsMode
void DLL_EXPORT StencilClsMode(Stencil *stencil, int cls_depth, int cls_zbuffer)
Definition: functions.cpp:1450
AntiAlias
void DLL_EXPORT AntiAlias(int samples)
Definition: functions.cpp:138
PickedNX
float DLL_EXPORT PickedNX()
Definition: functions.cpp:1186
UseFloat4
void DLL_EXPORT UseFloat4(Shader *material, char *name, float *v1, float *v2, float *v3, float *v4)
Definition: functions.cpp:1885
ShaderTexture
Texture *DLL_EXPORT ShaderTexture(Shader *material, Texture *tex, char *name, int index)
Definition: functions.cpp:1853
Surface
Definition: surface.h:19
EntityOrder
void DLL_EXPORT EntityOrder(Entity *ent, int order)
Definition: functions.cpp:713
CollisionTriangle
int DLL_EXPORT CollisionTriangle(Entity *ent, int index)
Definition: functions.cpp:379
ClearTextureFilters
void DLL_EXPORT ClearTextureFilters()
Definition: functions.cpp:316
LightRange
void DLL_EXPORT LightRange(Light *light, float range)
Definition: functions.cpp:1006
CreateStencil
Stencil *DLL_EXPORT CreateStencil()
Definition: functions.cpp:568
EntityType
void DLL_EXPORT EntityType(Entity *ent, int type_no, int recursive)
CollisionX
float DLL_EXPORT CollisionX(Entity *ent, int index)
Definition: functions.cpp:386
ProjectedX
float DLL_EXPORT ProjectedX()
Definition: functions.cpp:1278
VertexBlue
float DLL_EXPORT VertexBlue(Surface *surf, int vid)
Definition: functions.cpp:1662
SetInteger2
void DLL_EXPORT SetInteger2(Shader *material, char *name, int v1, int v2)
Definition: functions.cpp:1893
VertexCoords
void DLL_EXPORT VertexCoords(Surface *surf, int vid, float x, float y, float z)
Definition: functions.cpp:1676
VertexTexCoords
void DLL_EXPORT VertexTexCoords(Surface *surf, int vid, float u, float v, float w, int coord_set)
Definition: functions.cpp:1726
SetFloat2
void DLL_EXPORT SetFloat2(Shader *material, char *name, float v1, float v2)
Definition: functions.cpp:1861
Light
Definition: light.h:19
EntityName
const char *DLL_EXPORT EntityName(Entity *ent)
Definition: functions.cpp:706
Terrain
Definition: terrain.h:22
CreateSphere
Mesh *DLL_EXPORT CreateSphere(int segments, Entity *parent)
Definition: functions.cpp:548
CameraFogMode
void DLL_EXPORT CameraFogMode(Camera *cam, int mode)
Definition: functions.cpp:246
AddToOctree
void DLL_EXPORT AddToOctree(OcTree *octree, Mesh *mesh, int level, float X, float Y, float Z, float Near, float Far)
SetFloat4
void DLL_EXPORT SetFloat4(Shader *material, char *name, float v1, float v2, float v3, float v4)
Definition: functions.cpp:1869
StencilMesh
void DLL_EXPORT StencilMesh(Stencil *stencil, Mesh *mesh, int mode)
Definition: functions.cpp:1456
EntityFX
void DLL_EXPORT EntityFX(Entity *ent, int fx)
Definition: functions.cpp:692
Pivot
Definition: pivot.h:19
FreeBrush
void DLL_EXPORT FreeBrush(Brush *brush)
Definition: functions.cpp:871
VertexColor
void DLL_EXPORT VertexColor(Surface *surf, int vid, float r, float g, float b, float a)
Definition: functions.cpp:1669
EntityScaleZ
float DLL_EXPORT EntityScaleZ(Entity *ent, int glob)
StencilMode
void DLL_EXPORT StencilMode(Stencil *stencil, int m, int o)
Definition: functions.cpp:1462
RotateMesh
void DLL_EXPORT RotateMesh(Mesh *mesh, float pitch, float yaw, float roll)
Definition: functions.cpp:1332
EntityY
float DLL_EXPORT EntityY(Entity *ent, int glob)
RepeatMesh
Mesh *DLL_EXPORT RepeatMesh(Mesh *mesh, Entity *parent)
Definition: functions.cpp:1306
ResetEntity
void DLL_EXPORT ResetEntity(Entity *ent)
Definition: functions.cpp:1313
UseInteger4
void DLL_EXPORT UseInteger4(Shader *material, char *name, int *v1, int *v2, int *v3, int *v4)
Definition: functions.cpp:1917
UseMatrix
void DLL_EXPORT UseMatrix(Shader *material, char *name, int mode)
Definition: functions.cpp:1925
CopyMesh
Mesh *DLL_EXPORT CopyMesh(Mesh *mesh, Entity *parent)
Definition: functions.cpp:428
MoveEntity
void DLL_EXPORT MoveEntity(Entity *ent, float x, float y, float z)
Definition: functions.cpp:1122
CollisionNZ
float DLL_EXPORT CollisionNZ(Entity *ent, int index)
Definition: functions.cpp:358
NameEntity
void DLL_EXPORT NameEntity(Entity *ent, char *name)
Definition: functions.cpp:1129
LoadMesh
Mesh *DLL_EXPORT LoadMesh(char *file, Entity *parent)
Definition: functions.cpp:1052
CameraProject
void DLL_EXPORT CameraProject(Camera *cam, float x, float y, float z)
Definition: functions.cpp:267
CameraToTex
void DLL_EXPORT CameraToTex(Texture *tex, Camera *cam, int frame)
Definition: functions.cpp:72
FreeTexture
void DLL_EXPORT FreeTexture(Texture *tex)
Definition: functions.cpp:898
FitMesh
void DLL_EXPORT FitMesh(Mesh *mesh, float x, float y, float z, float width, float height, float depth, int uniform)
LinePick
Entity *DLL_EXPORT LinePick(float x, float y, float z, float dx, float dy, float dz, float radius)
Definition: functions.cpp:1013
Wireframe
void DLL_EXPORT Wireframe(int enable)
Definition: functions.cpp:1783
ModifyTerrain
void DLL_EXPORT ModifyTerrain(Terrain *terr, int x, int z, float new_height)
Definition: functions.cpp:1115
PositionEntity
void DLL_EXPORT PositionEntity(Entity *ent, float x, float y, float z, int glob)
GetParentEntity
Entity *DLL_EXPORT GetParentEntity(Entity *ent)
Definition: functions.cpp:947
ClearSurface
void DLL_EXPORT ClearSurface(Surface *surf, int clear_verts, int clear_tris)
CreateLight
Light *DLL_EXPORT CreateLight(int light_type, Entity *parent)
Definition: functions.cpp:517
Collisions
void DLL_EXPORT Collisions(int src_no, int dest_no, int method_no, int response_no)
Definition: functions.cpp:337
BrushTexture
void DLL_EXPORT BrushTexture(Brush *brush, Texture *tex, int frame, int index)
Definition: functions.cpp:218
PickedSurface
Surface *DLL_EXPORT PickedSurface()
Definition: functions.cpp:1207
TFormedX
float DLL_EXPORT TFormedX()
Definition: functions.cpp:1540
ShowEntity
void DLL_EXPORT ShowEntity(Entity *ent)
Definition: functions.cpp:1416
CreateQuad
Mesh *DLL_EXPORT CreateQuad(Entity *parent)
Definition: functions.cpp:532
BrushColor
void DLL_EXPORT BrushColor(Brush *brush, float r, float g, float b)
Definition: functions.cpp:197
EntityShininess
void DLL_EXPORT EntityShininess(Entity *ent, float shine)
Definition: functions.cpp:766
ShadeMesh
void DLL_EXPORT ShadeMesh(Mesh *mesh, Shader *material)
Definition: functions.cpp:1835
EntityPitch
float DLL_EXPORT EntityPitch(Entity *ent, int glob)
HideEntity
void DLL_EXPORT HideEntity(Entity *ent)
Definition: functions.cpp:984
StencilAlpha
void DLL_EXPORT StencilAlpha(Stencil *stencil, float a)
Definition: functions.cpp:1438
GetSurfaceBrush
Brush *DLL_EXPORT GetSurfaceBrush(Surface *surf)
Definition: functions.cpp:961
EntityInView
int DLL_EXPORT EntityInView(Entity *ent, Camera *cam)
Definition: functions.cpp:699
TextureWidth
int DLL_EXPORT TextureWidth(Texture *tex)
Definition: functions.cpp:1533
PickedX
float DLL_EXPORT PickedX()
Definition: functions.cpp:1229
TextureHeight
int DLL_EXPORT TextureHeight(Texture *tex)
Definition: functions.cpp:1512
Camera
Definition: camera.h:23
AmbientLight
void DLL_EXPORT AmbientLight(float r, float g, float b)
Definition: functions.cpp:131
VoxelSprite
Definition: voxel.h:9
CountCollisions
int DLL_EXPORT CountCollisions(Entity *ent)
Definition: functions.cpp:414
ClearWorld
void DLL_EXPORT ClearWorld(int entities, int brushes, int textures)
ShaderMaterial
void DLL_EXPORT ShaderMaterial(Shader *material, Material *tex, char *name, int index)
Definition: functions.cpp:1933
CountVertices
int DLL_EXPORT CountVertices(Surface *surf)
Definition: functions.cpp:449
ProjectedZ
float DLL_EXPORT ProjectedZ()
Definition: functions.cpp:1292
VectorYaw
float DLL_EXPORT VectorYaw(float vx, float vy, float vz)
Definition: functions.cpp:1646
DeltaYaw
float DLL_EXPORT DeltaYaw(Entity *ent1, Entity *ent2)
Definition: functions.cpp:602
OcTree
Definition: octree.h:29
EntityDistance
float DLL_EXPORT EntityDistance(Entity *ent1, Entity *ent2)
Definition: functions.cpp:685
CollisionNY
float DLL_EXPORT CollisionNY(Entity *ent, int index)
Definition: functions.cpp:351
VoxelSpriteMaterial
void DLL_EXPORT VoxelSpriteMaterial(VoxelSprite *voxelspr, Material *mat)
Definition: functions.cpp:1775
TurnEntity
void DLL_EXPORT TurnEntity(Entity *ent, float x, float y, float z, int glob)
Stencil
Definition: stencil.h:16
EntityX
float DLL_EXPORT EntityX(Entity *ent, int glob)
GetSurface
Surface *DLL_EXPORT GetSurface(Mesh *mesh, int surf_no)
Definition: functions.cpp:954
AnimLength
int DLL_EXPORT AnimLength(Entity *ent)
Definition: functions.cpp:161
VertexV
float DLL_EXPORT VertexV(Surface *surf, int vid, int coord_set)
Definition: functions.cpp:1741
VertexAlpha
float DLL_EXPORT VertexAlpha(Surface *surf, int vid)
Definition: functions.cpp:1655
CameraViewport
void DLL_EXPORT CameraViewport(Camera *cam, int x, int y, int width, int height)
Definition: functions.cpp:288
AddAnimSeq
int DLL_EXPORT AddAnimSeq(Entity *ent, int length)
Definition: functions.cpp:103
ScaleMesh
void DLL_EXPORT ScaleMesh(Mesh *mesh, float sx, float sy, float sz)
Definition: functions.cpp:1360
StencilClsColor
void DLL_EXPORT StencilClsColor(Stencil *stencil, float r, float g, float b)
Definition: functions.cpp:1444
MeshesIntersect
int DLL_EXPORT MeshesIntersect(Mesh *mesh1, Mesh *mesh2)
Definition: functions.cpp:1092
UpdateWorld
void DLL_EXPORT UpdateWorld(float anim_speed)
Definition: functions.cpp:1618
UseSurface
void DLL_EXPORT UseSurface(Shader *material, char *name, Surface *surf, int vbo)
Definition: functions.cpp:1921
ShadowObject
Definition: shadow.h:50
EntityParent
void DLL_EXPORT EntityParent(Entity *ent, Entity *parent_ent, int glob)
LoadTexture
Texture *DLL_EXPORT LoadTexture(char *file, int flags)
Definition: functions.cpp:1065
SetFloat3
void DLL_EXPORT SetFloat3(Shader *material, char *name, float v1, float v2, float v3)
Definition: functions.cpp:1865
CreateCylinder
Mesh *DLL_EXPORT CreateCylinder(int segments, int solid, Entity *parent)
DeltaPitch
float DLL_EXPORT DeltaPitch(Entity *ent1, Entity *ent2)
Definition: functions.cpp:595
CameraClsColor
void DLL_EXPORT CameraClsColor(Camera *cam, float r, float g, float b)
Definition: functions.cpp:225
VertexGreen
float DLL_EXPORT VertexGreen(Surface *surf, int vid)
Definition: functions.cpp:1684
SetInteger3
void DLL_EXPORT SetInteger3(Shader *material, char *name, int v1, int v2, int v3)
Definition: functions.cpp:1897
LoadMaterial
Material *DLL_EXPORT LoadMaterial(char *filename, int flags, int frame_width, int frame_height, int first_frame, int frame_count)
Definition: functions.cpp:1929
PickedEntity
Entity *DLL_EXPORT PickedEntity()
Definition: functions.cpp:1178
PositionMesh
void DLL_EXPORT PositionMesh(Mesh *mesh, float px, float py, float pz)
Definition: functions.cpp:1264
ModifyGeosphere
void DLL_EXPORT ModifyGeosphere(Geosphere *geo, int x, int z, float new_height)
Definition: functions.cpp:1110
RotateEntity
void DLL_EXPORT RotateEntity(Entity *ent, float x, float y, float z, int glob)
UseInteger2
void DLL_EXPORT UseInteger2(Shader *material, char *name, int *v1, int *v2)
Definition: functions.cpp:1909
Sprite
Definition: sprite.h:18
CollisionNX
float DLL_EXPORT CollisionNX(Entity *ent, int index)
Definition: functions.cpp:344
CreateVoxelSprite
VoxelSprite *DLL_EXPORT CreateVoxelSprite(int slices, Entity *parent)
Definition: functions.cpp:587
CreateOcTree
OcTree *DLL_EXPORT CreateOcTree(float w, float h, float d, Entity *parent_ent)
Definition: functions.cpp:1943
CreatePlane
Mesh *DLL_EXPORT CreatePlane(int divisions, Entity *parent)
Definition: functions.cpp:528
CreateSprite
Sprite *DLL_EXPORT CreateSprite(Entity *parent)
Definition: functions.cpp:555
Entity
Definition: entity.h:27
AddVertex
int DLL_EXPORT AddVertex(Surface *surf, float x, float y, float z, float u, float v, float w)
Definition: functions.cpp:124
BrushBlend
void DLL_EXPORT BrushBlend(Brush *brush, int blend)
Definition: functions.cpp:190
Graphics3D
void DLL_EXPORT Graphics3D(int width, int height, int depth, int mode, int rate)
Definition: functions.cpp:968
GetChild
Entity *DLL_EXPORT GetChild(Entity *ent, int child_no)
Definition: functions.cpp:918
Material
Definition: shadermat.h:35
RenderWorld
void DLL_EXPORT RenderWorld()
Definition: functions.cpp:1299
ScaleTexture
void DLL_EXPORT ScaleTexture(Texture *tex, float u_scale, float v_scale)
Definition: functions.cpp:1374
CreatePivot
Pivot *DLL_EXPORT CreatePivot(Entity *parent)
Definition: functions.cpp:524
UseFloat2
void DLL_EXPORT UseFloat2(Shader *material, char *name, float *v1, float *v2)
Definition: functions.cpp:1877
RotateTexture
void DLL_EXPORT RotateTexture(Texture *tex, float ang)
Definition: functions.cpp:1346
CreateCone
Mesh *DLL_EXPORT CreateCone(int segments, int solid, Entity *parent)
VertexNZ
float DLL_EXPORT VertexNZ(Surface *surf, int vid)
Definition: functions.cpp:1712
LightConeAngles
void DLL_EXPORT LightConeAngles(Light *light, float inner_ang, float outer_ang)
Definition: functions.cpp:998
UseInteger
void DLL_EXPORT UseInteger(Shader *material, char *name, int *v1)
Definition: functions.cpp:1905
CreateMesh
Mesh *DLL_EXPORT CreateMesh(Entity *parent)
Definition: functions.cpp:510
CollisionSurface
Surface *DLL_EXPORT CollisionSurface(Entity *ent, int index)
Definition: functions.cpp:365
TFormVector
void DLL_EXPORT TFormVector(float x, float y, float z, Entity *src_ent, Entity *dest_ent)
Definition: functions.cpp:1575
Animating
int DLL_EXPORT Animating(Entity *ent)
Definition: functions.cpp:152
LoadAnimTexture
Texture *DLL_EXPORT LoadAnimTexture(char *file, int flags, int frame_width, int frame_height, int first_frame, int frame_count)
Definition: functions.cpp:1034
PaintEntity
void DLL_EXPORT PaintEntity(Entity *ent, Brush *brush)
Definition: functions.cpp:1136
TextureFlags
void DLL_EXPORT TextureFlags(Texture *tex, int flags)
Definition: functions.cpp:31
ExtractAnimSeq
int DLL_EXPORT ExtractAnimSeq(Entity *ent, int first_frame, int last_frame, int seq)
Definition: functions.cpp:823
CameraPick
Entity *DLL_EXPORT CameraPick(Camera *cam, float x, float y)
Definition: functions.cpp:260
ScaleEntity
void DLL_EXPORT ScaleEntity(Entity *ent, float x, float y, float z, int glob)
PointEntity
void DLL_EXPORT PointEntity(Entity *ent, Entity *target_ent, float roll)
Definition: functions.cpp:1250
CreateTerrain
Terrain *DLL_EXPORT CreateTerrain(int size, Entity *parent)
Definition: functions.cpp:574
CountSurfaces
int DLL_EXPORT CountSurfaces(Mesh *mesh)
Definition: functions.cpp:435
EntityPick
Entity *DLL_EXPORT EntityPick(Entity *ent, float range)
Definition: functions.cpp:731
ShadeSurface
void DLL_EXPORT ShadeSurface(Surface *surf, Shader *material)
Definition: functions.cpp:1831
FlipMesh
void DLL_EXPORT FlipMesh(Mesh *mesh)
Definition: functions.cpp:852
PickedZ
float DLL_EXPORT PickedZ()
Definition: functions.cpp:1243
BrushGLColor
void DLL_EXPORT BrushGLColor(Brush *brush, float r, float g, float b, float a)
Definition: functions.cpp:50
CopyEntity
Entity *DLL_EXPORT CopyEntity(Entity *ent, Entity *parent)
Definition: functions.cpp:421
SpriteViewMode
void DLL_EXPORT SpriteViewMode(Sprite *sprite, int mode)
Definition: functions.cpp:1432
BrushShininess
void DLL_EXPORT BrushShininess(Brush *brush, float s)
Definition: functions.cpp:211
EntityClass
const char *DLL_EXPORT EntityClass(Entity *ent)
Definition: functions.cpp:664
ProjectedY
float DLL_EXPORT ProjectedY()
Definition: functions.cpp:1285
FreeSurface
void DLL_EXPORT FreeSurface(Surface *surf)
Definition: functions.cpp:35
SetInteger
void DLL_EXPORT SetInteger(Shader *material, char *name, int v1)
Definition: functions.cpp:1889
UseStencil
void DLL_EXPORT UseStencil(Stencil *stencil)
Definition: functions.cpp:1624
RotateSprite
void DLL_EXPORT RotateSprite(Sprite *sprite, float ang)
Definition: functions.cpp:1339
ShadeEntity
void DLL_EXPORT ShadeEntity(Entity *ent, Shader *material)
Definition: functions.cpp:1843
CreateCamera
Camera *DLL_EXPORT CreateCamera(Entity *parent)
Definition: functions.cpp:471
VertexNX
float DLL_EXPORT VertexNX(Surface *surf, int vid)
Definition: functions.cpp:1698
TextureBlend
void DLL_EXPORT TextureBlend(Texture *tex, int blend)
Definition: functions.cpp:1498
MeshCullRadius
void DLL_EXPORT MeshCullRadius(Entity *ent, float radius)
Definition: functions.cpp:94
FreeEntity
void DLL_EXPORT FreeEntity(Entity *ent)
Definition: functions.cpp:882
TextureName
const char *DLL_EXPORT TextureName(Texture *tex)
Definition: functions.cpp:1526
Texture
Definition: texture.h:23
CameraRange
void DLL_EXPORT CameraRange(Camera *cam, float nnear, float nfar)
Definition: functions.cpp:281
PickedTime
float DLL_EXPORT PickedTime()
Definition: functions.cpp:1215
load3ds::brush
Brush * brush
Definition: 3ds.cpp:48
VertexNormal
void DLL_EXPORT VertexNormal(Surface *surf, int vid, float nx, float ny, float nz)
Definition: functions.cpp:1691
AddMesh
void DLL_EXPORT AddMesh(Mesh *mesh1, Mesh *mesh2)
Definition: functions.cpp:110
CollisionZ
float DLL_EXPORT CollisionZ(Entity *ent, int index)
Definition: functions.cpp:400
CollisionEntity
Entity *DLL_EXPORT CollisionEntity(Entity *ent, int index)
Definition: functions.cpp:330
CreateShadow
ShadowObject *DLL_EXPORT CreateShadow(Mesh *parent, char Static)
Definition: functions.cpp:541
load3ds::mesh
Mesh * mesh
Definition: 3ds.cpp:46
UpdateTexCoords
void DLL_EXPORT UpdateTexCoords(Surface *surf)
Definition: functions.cpp:1610
TerrainY
float DLL_EXPORT TerrainY(Terrain *terr, float x, float y, float z)
Definition: functions.cpp:1484
TerrainHeight
float DLL_EXPORT TerrainHeight(Terrain *terr, int x, int z)
Definition: functions.cpp:1469
VectorPitch
float DLL_EXPORT VectorPitch(float vx, float vy, float vz)
Definition: functions.cpp:1633
LoadSprite
Sprite *DLL_EXPORT LoadSprite(char *tex_file, int tex_flag, Entity *parent)
Definition: functions.cpp:1072
MeshDepth
float DLL_EXPORT MeshDepth(Mesh *mesh)
Definition: functions.cpp:1085
VertexU
float DLL_EXPORT VertexU(Surface *surf, int vid, int coord_set)
Definition: functions.cpp:1733
SetAnimTime
void DLL_EXPORT SetAnimTime(Entity *ent, float time, int seq)
Definition: functions.cpp:1388
TriangleVertex
int DLL_EXPORT TriangleVertex(Surface *surf, int tri_no, int corner)
Definition: functions.cpp:1589
Shader
Definition: shadermat.h:56
TextureGLTexEnv
void DLL_EXPORT TextureGLTexEnv(Texture *tex, int target, int pname, int param)
Definition: functions.cpp:41
CountTriangles
int DLL_EXPORT CountTriangles(Surface *surf)
Definition: functions.cpp:442
BrushGLBlendFunc
void DLL_EXPORT BrushGLBlendFunc(Brush *brush, int sfactor, int dfactor)
Definition: functions.cpp:57
EntityScaleX
float DLL_EXPORT EntityScaleX(Entity *ent, int glob)
CreateSurface
Surface *DLL_EXPORT CreateSurface(Mesh *mesh, Brush *brush)
Definition: functions.cpp:562
LoadShader
Shader *DLL_EXPORT LoadShader(char *ShaderName, char *VshaderFileName, char *FshaderFileName)
Definition: functions.cpp:1819
BufferToTex
void DLL_EXPORT BufferToTex(Texture *tex, unsigned char *buffer, int frame)
Definition: functions.cpp:64
CameraZoom
void DLL_EXPORT CameraZoom(Camera *cam, float zoom)
Definition: functions.cpp:295
CollisionTime
float DLL_EXPORT CollisionTime(Entity *ent, int index)
Definition: functions.cpp:372
LoadAnimMesh
Mesh *DLL_EXPORT LoadAnimMesh(char *file, Entity *parent)
Definition: functions.cpp:1020
EntityRadius
void DLL_EXPORT EntityRadius(Entity *ent, float radius_x, float radius_y)
Definition: functions.cpp:752
AddTriangle
int DLL_EXPORT AddTriangle(Surface *surf, int v0, int v1, int v2)
Definition: functions.cpp:117
SetCubeMode
void DLL_EXPORT SetCubeMode(Texture *tex, int mode)
Definition: functions.cpp:1409
CollisionY
float DLL_EXPORT CollisionY(Entity *ent, int index)
Definition: functions.cpp:393
GetEntityType
int DLL_EXPORT GetEntityType(Entity *ent)
Definition: functions.cpp:932
SetInteger4
void DLL_EXPORT SetInteger4(Shader *material, char *name, int v1, int v2, int v3, int v4)
Definition: functions.cpp:1901
FreeStencil
void DLL_EXPORT FreeStencil(Stencil *stencil)
Definition: functions.cpp:27
TFormNormal
void DLL_EXPORT TFormNormal(float x, float y, float z, Entity *src_ent, Entity *dest_ent)
Definition: functions.cpp:1561
TFormedZ
float DLL_EXPORT TFormedZ()
Definition: functions.cpp:1554
TerrainX
float DLL_EXPORT TerrainX(Terrain *terr, float x, float y, float z)
Definition: functions.cpp:1476
VertexY
float DLL_EXPORT VertexY(Surface *surf, int vid)
Definition: functions.cpp:1762
EntityTexture
void DLL_EXPORT EntityTexture(Entity *ent, Texture *tex, int frame, int index)
Definition: functions.cpp:773
EntityAlpha
void DLL_EXPORT EntityAlpha(Entity *ent, float alpha)
Definition: functions.cpp:636
FindSurface
Surface *DLL_EXPORT FindSurface(Mesh *mesh, Brush *brush)
Definition: functions.cpp:837
GetBrushTexture
Texture *DLL_EXPORT GetBrushTexture(Brush *brush, int index)
Definition: functions.cpp:910
CameraFogRange
void DLL_EXPORT CameraFogRange(Camera *cam, float nnear, float nfar)
Definition: functions.cpp:253
Brush
Definition: brush.h:21
FreeShadow
void DLL_EXPORT FreeShadow(ShadowObject *shad)
Definition: functions.cpp:890
CameraProjMode
void DLL_EXPORT CameraProjMode(Camera *cam, int mode)
Definition: functions.cpp:274
TextureCoords
void DLL_EXPORT TextureCoords(Texture *tex, int coords)
Definition: functions.cpp:1505
VertexRed
float DLL_EXPORT VertexRed(Surface *surf, int vid)
Definition: functions.cpp:1719
GetMatElement
float DLL_EXPORT GetMatElement(Entity *ent, int row, int col)
Definition: functions.cpp:939
TextureFilter
void DLL_EXPORT TextureFilter(char *match_text, int flags)
Definition: functions.cpp:1519
PickedY
float DLL_EXPORT PickedY()
Definition: functions.cpp:1236
VertexZ
float DLL_EXPORT VertexZ(Surface *surf, int vid)
Definition: functions.cpp:1769
MeshCSG
Mesh *DLL_EXPORT MeshCSG(Mesh *m1, Mesh *m2, int method)
Definition: csg.cpp:914
FreeShader
void DLL_EXPORT FreeShader(Shader *shader)
Definition: functions.cpp:23
TerrainZ
float DLL_EXPORT TerrainZ(Terrain *terr, float x, float y, float z)
Definition: functions.cpp:1491
MeshHeight
float DLL_EXPORT MeshHeight(Mesh *mesh)
Definition: functions.cpp:1099
DLL_EXPORT
#define DLL_EXPORT
Definition: functions.h:12
HandleSprite
void DLL_EXPORT HandleSprite(Sprite *sprite, float h_x, float h_y)
Definition: functions.cpp:977
EntityRoll
float DLL_EXPORT EntityRoll(Entity *ent, int glob)
EntityColor
void DLL_EXPORT EntityColor(Entity *ent, float red, float green, float blue)
Definition: functions.cpp:678
PickedNZ
float DLL_EXPORT PickedNZ()
Definition: functions.cpp:1200
BrushFX
void DLL_EXPORT BrushFX(Brush *brush, int fx)
Definition: functions.cpp:204
CountChildren
int DLL_EXPORT CountChildren(Entity *ent)
Definition: functions.cpp:407
PickedTriangle
int DLL_EXPORT PickedTriangle()
Definition: functions.cpp:1222
PaintMesh
void DLL_EXPORT PaintMesh(Mesh *mesh, Brush *brush)
Definition: functions.cpp:1143
TFormedY
float DLL_EXPORT TFormedY()
Definition: functions.cpp:1547
BackBufferToTex
void DLL_EXPORT BackBufferToTex(Texture *tex, int frame)
Definition: functions.cpp:68
UpdateNormals
void DLL_EXPORT UpdateNormals(Mesh *mesh)
Definition: functions.cpp:1603
CreateBrush
Brush *DLL_EXPORT CreateBrush(float r, float g, float b)
Definition: functions.cpp:464
AnimTime
float DLL_EXPORT AnimTime(Entity *ent)
Definition: functions.cpp:176
LightColor
void DLL_EXPORT LightColor(Light *light, float red, float green, float blue)
Definition: functions.cpp:991
CreateShader
Shader *DLL_EXPORT CreateShader(char *ShaderName, char *VshaderString, char *FshaderString)
Definition: functions.cpp:1825
LoadGeosphere
Terrain *DLL_EXPORT LoadGeosphere(char *file, Entity *parent)
Definition: functions.cpp:1045
MeshWidth
float DLL_EXPORT MeshWidth(Mesh *mesh)
Definition: functions.cpp:1106
Animate
void DLL_EXPORT Animate(Entity *ent, int mode, float speed, int seq, int trans)
Definition: functions.cpp:145
LoadTerrain
Terrain *DLL_EXPORT LoadTerrain(char *file, Entity *parent)
Definition: functions.cpp:1057
EntityYaw
float DLL_EXPORT EntityYaw(Entity *ent, int glob)
CameraClsMode
void DLL_EXPORT CameraClsMode(Camera *cam, int cls_depth, int cls_zbuffer)
Definition: functions.cpp:232
BrushAlpha
void DLL_EXPORT BrushAlpha(Brush *brush, float a)
Definition: functions.cpp:183
TFormPoint
void DLL_EXPORT TFormPoint(float x, float y, float z, Entity *src_ent, Entity *dest_ent)
Definition: functions.cpp:1568
LoadBrush
Brush *DLL_EXPORT LoadBrush(char *file, int flags, float u_scale, float v_scale)
Definition: functions.cpp:1041
EntityAutoFade
void DLL_EXPORT EntityAutoFade(Entity *ent, float near, float far)
Definition: functions.cpp:643
VertexW
float DLL_EXPORT VertexW(Surface *surf, int vid, int coord_set)
Definition: functions.cpp:1748
EntityBox
void DLL_EXPORT EntityBox(Entity *ent, float x, float y, float z, float w, float h, float d)
Definition: functions.cpp:657
FindChild
Entity *DLL_EXPORT FindChild(Entity *ent, char *child_name)
Definition: functions.cpp:830
VertexX
float DLL_EXPORT VertexX(Surface *surf, int vid)
Definition: functions.cpp:1755
ScaleSprite
void DLL_EXPORT ScaleSprite(Sprite *sprite, float s_x, float s_y)
Definition: functions.cpp:1367
AnimSeq
int DLL_EXPORT AnimSeq(Entity *ent)
Definition: functions.cpp:168
Geosphere
Definition: geosphere.h:14
VertexNY
float DLL_EXPORT VertexNY(Surface *surf, int vid)
Definition: functions.cpp:1705
CreateTexture
Texture *DLL_EXPORT CreateTexture(int width, int height, int flags, int frames)
Definition: functions.cpp:581
PositionTexture
void DLL_EXPORT PositionTexture(Texture *tex, float u_pos, float v_pos)
Definition: functions.cpp:1271
EntityCollided
Entity *DLL_EXPORT EntityCollided(Entity *ent, int type_no)
Definition: functions.cpp:671
EntityPickMode
void DLL_EXPORT EntityPickMode(Entity *ent, int pick_mode, int obscurer)