File: fredrender.h

package info (click to toggle)
freespace2 3.7.0%2Brepack-2
  • links: PTS, VCS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd
  • size: 22,848 kB
  • ctags: 41,897
  • sloc: cpp: 369,931; makefile: 1,060; xml: 129; sh: 112
file content (45 lines) | stat: -rw-r--r-- 1,173 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
/*
 * 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.
 *
*/



#include "mission/missiongrid.h"

#define BRIEFING_LOOKAT_POINT_ID	99999

extern int	Aa_gridlines;
extern int	player_start1;
extern int	Editing_mode;
extern int	Control_mode;
extern int	Show_grid;
extern int	Show_grid_positions;
extern int	Show_coordinates;
extern int	Show_outlines;
extern int	Single_axis_constraint;
extern int	Show_distances;
extern int	Universal_heading;
extern int	Flying_controls_mode;
extern int	Group_rotate;
extern int	Show_horizon;
extern int	Lookat_mode;
extern int	True_rw, True_rh;
extern int	Fixed_briefing_size;
extern vec3d	Constraint, Anticonstraint;
extern vec3d	Tp1, Tp2;  // test points
extern physics_info view_physics;
extern vec3d view_pos, eye_pos;
extern matrix view_orient, eye_orient;

void fred_render_init();
void generate_starfield();
void move_mouse(int btn, int mdx, int mdy);
void game_do_frame();
void render_frame();
void level_controlled();
void verticalize_controlled();