convert line ends
[canaan.git] / prj / cam / src / render / starhack.h
blob349d7a703bb75b229dc3fedb91a620d2c409a2ca
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/render/starhack.h,v 1.5 2000/01/31 09:53:30 adurant Exp $
7 // starfield setup/initializers/so on
8 #pragma once
10 // NOTE: this is all a hack
11 // it really should track polys and all be inside the portal library, id bet
14 #ifndef __STARHACK_H
15 #define __STARHACK_H
17 EXTERN BOOL any_stars;
19 // tell starfield you are about to start rendering (ie. about to call portal)
20 EXTERN void starfield_startframe(Position *campos, float zoom);
21 // tell starfield you are done with portal, it should go fill in
22 EXTERN void starfield_endframe(Position *campos, float zoom);
24 // set current star count, call on level load/editor command
25 EXTERN void starfield_set_cnt(int new_cnt);
27 // call on mode change
28 EXTERN void starfield_enter_mode(void);
30 // call on startup/shutdown of app
31 EXTERN void starfield_init(void);
32 EXTERN void starfield_term(void);
34 EXTERN void starfield_set_z(double z);
35 #endif