Move similar/editor/med.c -> similar/editor/med.cpp
This commit is contained in:
parent
3f67882964
commit
980621b9d4
|
@ -837,7 +837,7 @@ class DXXProgram(DXXCommon):
|
|||
'editor/ksegsize.cpp',
|
||||
'editor/ktmap.cpp',
|
||||
'editor/kview.cpp',
|
||||
'editor/med.c',
|
||||
'editor/med.cpp',
|
||||
'editor/meddraw.c',
|
||||
'editor/medmisc.c',
|
||||
'editor/medrobot.c',
|
||||
|
|
|
@ -20,6 +20,10 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#ifndef _MEDDRAW_H
|
||||
#define _MEDDRAW_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void meddraw_init_views( grs_canvas * canvas);
|
||||
void draw_world(grs_canvas *screen_canvas,editor_view *v,segment *mine_ptr,int depth);
|
||||
void find_segments(short x,short y,grs_canvas *screen_canvas,editor_view *v,segment *mine_ptr,int depth);
|
||||
|
@ -28,4 +32,8 @@ void find_segments(short x,short y,grs_canvas *screen_canvas,editor_view *v,segm
|
|||
// automap_flag = 1 if this render is for the automap, else 0 (for editor)
|
||||
extern void draw_mine_all(segment *segp, int automap_flag);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,6 +20,14 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#ifndef _MEDSEL_H
|
||||
#define _MEDSEL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void sort_seg_list(int n_segs,short *segnumlist,vms_vector *pos);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -22,6 +22,10 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
|
||||
#include "ui.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct d_event;
|
||||
|
||||
int objpage_grab_current(int n);
|
||||
|
@ -33,4 +37,8 @@ int objpage_do(struct d_event *event);
|
|||
|
||||
extern void draw_object_picture(int id, vms_angvec *orient_angles, int type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue