FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
vec3d
Definition:
pstypes.h:88
rpd_line
void rpd_line(vec3d *v0, vec3d *v1)
Definition:
missiongrid.cpp:245
Grid_gmatrix
matrix Grid_gmatrix
Definition:
fredrender.cpp:109
matrix
Definition:
pstypes.h:114
Show_stars
int Show_stars
Definition:
fredrender.cpp:83
3d.h
v0
GLfloat v0
Definition:
Glext.h:5638
Grid_center
vec3d Grid_center
Definition:
fredrender.cpp:105
test_form_wing
void test_form_wing(int x)
x
GLint GLint GLint GLint GLint x
Definition:
Glext.h:5182
v1
GLfloat GLfloat v1
Definition:
Glext.h:5639
select_object
int select_object(int cx, int cy)
Definition:
fredrender.cpp:1930
missiongrid.h
physics.h
pos
hull_check pos
Definition:
lua.cpp:5050
create_object
void create_object(int objnum, vec3d *pos)
game_init
void game_init()
Definition:
freespace.cpp:1732
code
fred2
editor.h
Generated on Sun May 1 2016 16:22:16 for FS2_Open by
1.8.10