Move similar/main/menu.c -> similar/main/menu.cpp

This commit is contained in:
Kp 2012-11-11 22:12:51 +00:00
parent d3ddb816f1
commit e663767201
3 changed files with 11 additions and 3 deletions

View file

@ -776,7 +776,7 @@ class DXXProgram(DXXCommon):
'main/kmatrix.cpp',
'main/laser.cpp',
'main/lighting.cpp',
'main/menu.c',
'main/menu.cpp',
'main/mglobal.c',
'main/mission.c',
'main/morph.c',

View file

@ -4,8 +4,13 @@
*
*/
#pragma once
#include "multi.h"
#ifdef __cplusplus
extern "C" {
#endif
// Exported functions
int net_udp_setup_game(void);
void net_udp_manual_join_game();
@ -155,4 +160,7 @@ typedef struct UDP_mdata_recv
int pkt_num[UDP_MDATA_STOR_QUEUE_SIZE];
int cur_slot; // index we can use for a new pkt_num
} __pack__ UDP_mdata_recv;
#ifdef __cplusplus
}
#endif

View file

@ -1330,7 +1330,7 @@ typedef struct browser
void list_dir_el(browser *b, const char *origdir, const char *fname)
{
char *ext;
const char *ext;
const char *const *i = NULL;
ext = strrchr(fname, '.');