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
|