Move similar/main/menu.c -> similar/main/menu.cpp
This commit is contained in:
parent
d3ddb816f1
commit
e663767201
|
@ -776,7 +776,7 @@ class DXXProgram(DXXCommon):
|
||||||
'main/kmatrix.cpp',
|
'main/kmatrix.cpp',
|
||||||
'main/laser.cpp',
|
'main/laser.cpp',
|
||||||
'main/lighting.cpp',
|
'main/lighting.cpp',
|
||||||
'main/menu.c',
|
'main/menu.cpp',
|
||||||
'main/mglobal.c',
|
'main/mglobal.c',
|
||||||
'main/mission.c',
|
'main/mission.c',
|
||||||
'main/morph.c',
|
'main/morph.c',
|
||||||
|
|
|
@ -4,8 +4,13 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
#include "multi.h"
|
#include "multi.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
// Exported functions
|
// Exported functions
|
||||||
int net_udp_setup_game(void);
|
int net_udp_setup_game(void);
|
||||||
void net_udp_manual_join_game();
|
void net_udp_manual_join_game();
|
||||||
|
@ -156,3 +161,6 @@ typedef struct UDP_mdata_recv
|
||||||
int cur_slot; // index we can use for a new pkt_num
|
int cur_slot; // index we can use for a new pkt_num
|
||||||
} __pack__ UDP_mdata_recv;
|
} __pack__ UDP_mdata_recv;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -1330,7 +1330,7 @@ typedef struct browser
|
||||||
|
|
||||||
void list_dir_el(browser *b, const char *origdir, const char *fname)
|
void list_dir_el(browser *b, const char *origdir, const char *fname)
|
||||||
{
|
{
|
||||||
char *ext;
|
const char *ext;
|
||||||
const char *const *i = NULL;
|
const char *const *i = NULL;
|
||||||
|
|
||||||
ext = strrchr(fname, '.');
|
ext = strrchr(fname, '.');
|
Loading…
Reference in a new issue