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

45 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"
void assign_light_to_side(unique_side &);
2016-01-09 16:38:15 +00:00
#ifdef dsx
2018-12-13 02:31:38 +00:00
static inline void assign_light_to_side(unique_segment &sp, const uint_fast32_t sidenum)
2015-02-27 03:30:33 +00:00
{
assign_light_to_side(sp.sides[sidenum]);
}
2013-10-26 03:40:50 +00:00
2006-03-20 16:43:15 +00:00
extern void assign_default_lighting_all(void);
namespace dsx {
void stretch_uvs_from_curedge(vmsegptridx_t segp, int side);
}
#endif
2006-03-20 16:43:15 +00:00
#endif