| 1 |
/* |
| 2 |
* Portions of this file are copyright Rebirth contributors and licensed as |
| 3 |
* described in COPYING.txt. |
| 4 |
* Portions of this file are copyright Parallax Software and licensed |
| 5 |
* according to the Parallax license below. |
| 6 |
* See COPYING.txt for license details. |
| 7 |
|
| 8 |
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX |
| 9 |
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO |
| 10 |
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A |
| 11 |
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS |
| 12 |
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS |
| 13 |
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE |
| 14 |
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE |
| 15 |
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS |
| 16 |
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE. |
| 17 |
COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. |
| 18 |
*/ |
| 19 |
|
| 20 |
/* |
| 21 |
* |
| 22 |
* Defnts for med drawing stuff |
| 23 |
* |
| 24 |
*/ |
| 25 |
|
| 26 |
#pragma once |
| 27 |
|
| 28 |
#ifdef __cplusplus |
| 29 |
#include "fwd-segment.h" |
| 30 |
#include "fwd-gr.h" |
| 31 |
|
| 32 |
struct editor_view; |
| 33 |
|
| 34 |
#ifdef DXX_BUILD_DESCENT |
| 35 |
namespace dsx { |
| 36 |
void meddraw_init_views( grs_canvas * canvas); |
| 37 |
} |
| 38 |
#endif |
| 39 |
#ifdef DXX_BUILD_DESCENT |
| 40 |
void draw_world(grs_canvas *screen_canvas,editor_view *v,vmsegptridx_t mine_ptr,int depth); |
| 41 |
void find_segments(short x,short y,grs_canvas *screen_canvas,editor_view *v,vmsegptridx_t mine_ptr,int depth); |
| 42 |
#endif |
| 43 |
|
| 44 |
// segp = pointer to segments array, probably always Segments. |
| 45 |
// automap_flag = 1 if this render is for the automap, else 0 (for editor) |
| 46 |
|
| 47 |
#endif |