dxx-rebirth/common/include/editor/seguvs.h

43 lines
1.4 KiB
C
Raw Normal View History

2006-03-20 16:43:15 +00:00
/*
2014-06-01 17:55:23 +00:00
* Portions of this file are copyright Rebirth contributors and licensed as
* described in COPYING.txt.
* Portions of this file are copyright Parallax Software and licensed
* according to the Parallax license below.
* See COPYING.txt for license details.
2006-03-20 16:43:15 +00:00
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
2006-03-20 16:43:15 +00:00
COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
*/
2006-03-20 16:43:15 +00:00
/*
*
* Header for seguvs.c
2006-03-20 16:43:15 +00:00
*
*/
2015-02-27 03:30:33 +00:00
#pragma once
2006-03-20 16:43:15 +00:00
#ifdef __cplusplus
2015-02-27 03:30:33 +00:00
#include "segment.h"
2015-02-27 03:30:33 +00:00
void assign_light_to_side(side &);
2015-07-25 23:10:45 +00:00
#if defined(DXX_BUILD_DESCENT_I) || defined(DXX_BUILD_DESCENT_II)
2015-02-27 03:30:33 +00:00
static inline void assign_light_to_side(segment &sp, uint_fast32_t sidenum)
{
assign_light_to_side(sp.sides[sidenum]);
}
2015-07-25 23:10:45 +00:00
#endif
2013-10-26 03:40:50 +00:00
2006-03-20 16:43:15 +00:00
extern void assign_default_lighting_all(void);
2014-10-02 03:02:34 +00:00
void stretch_uvs_from_curedge(vsegptridx_t segp, int side);
2006-03-20 16:43:15 +00:00
#endif