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 49