File: editor.h

package info (click to toggle)
freespace2 3.7.4%2Brepack-1.1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 22,268 kB
  • sloc: cpp: 393,535; ansic: 4,106; makefile: 1,091; xml: 181; sh: 137
file content (48 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Copyright (C) Volition, Inc. 1999.  All rights reserved.
 *
 * All source code herein is the property of Volition, Inc. You may not sell 
 * or otherwise commercially exploit the source or things you created based on the 
 * source.
 *
*/

#ifndef _EDITOR_H
#define _EDITOR_H

/*
#ifdef __cplusplus
extern "C" {
#endif
*/

#include "physics/physics.h"
#include "render/3d.h"
#include "mission/missiongrid.h"

#define	MAX_GRID_POINTS		1000

void create_object(int objnum, vec3d *pos);

//	This stuff properly belongs in editor.h, but I gave up trying to figure out how
//	to add an include file to the project.

extern void test_form_wing(int x);

extern int	select_object(int cx, int cy);
extern void game_init();

extern matrix	Grid_gmatrix;
extern vec3d	Grid_center;

extern int	Show_stars;
extern void rpd_line(vec3d *v0, vec3d *v1);


/*
#ifdef __cplusplus
}
#endif
*/

#endif