FS2_Open
Open source remastering of the Freespace 2 engine
editor.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
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 the
6  * source.
7  *
8 */
9 
10 #ifndef _EDITOR_H
11 #define _EDITOR_H
12 
13 /*
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 */
18 
19 #include "physics/physics.h"
20 #include "render/3d.h"
21 #include "mission/missiongrid.h"
22 
23 #define MAX_GRID_POINTS 1000
24 
25 void create_object(int objnum, vec3d *pos);
26 
27 // This stuff properly belongs in editor.h, but I gave up trying to figure out how
28 // to add an include file to the project.
29 
30 extern void test_form_wing(int x);
31 
32 extern int select_object(int cx, int cy);
33 extern void game_init();
34 
35 extern matrix Grid_gmatrix;
36 extern vec3d Grid_center;
37 
38 extern int Show_stars;
39 extern void rpd_line(vec3d *v0, vec3d *v1);
40 
41 
42 /*
43 #ifdef __cplusplus
44 }
45 #endif
46 */
47 
48 #endif
Definition: pstypes.h:88
void rpd_line(vec3d *v0, vec3d *v1)
matrix Grid_gmatrix
Definition: fredrender.cpp:109
int Show_stars
Definition: fredrender.cpp:83
GLfloat v0
Definition: Glext.h:5638
vec3d Grid_center
Definition: fredrender.cpp:105
void test_form_wing(int x)
GLint GLint GLint GLint GLint x
Definition: Glext.h:5182
GLfloat GLfloat v1
Definition: Glext.h:5639
int select_object(int cx, int cy)
hull_check pos
Definition: lua.cpp:5050
void create_object(int objnum, vec3d *pos)
void game_init()
Definition: freespace.cpp:1732