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

This commit is contained in:
Kp 2012-11-11 22:12:51 +00:00
parent 6a7bd1527a
commit eaea6bd15b
2 changed files with 3 additions and 3 deletions

View file

@ -796,7 +796,7 @@ class DXXProgram(DXXCommon):
'main/scores.cpp',
'main/slew.cpp',
'main/songs.cpp',
'main/state.c',
'main/state.cpp',
'main/switch.c',
'main/terrain.c',
'main/texmerge.c',

View file

@ -104,7 +104,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
int sc_last_item= 0;
static const char dgss_id[4] = "DGSS";
static const char dgss_id[4] = {'D', 'G', 'S', 'S'};
uint state_game_id;
@ -839,7 +839,7 @@ int state_save_old_game(int slotnum, const char * sg_name, player_rw * sg_player
// -----------------------------------------------------------------------------------
// Imagine if C had a function to copy a file...
int copy_file(const char *old_file, const char *new_file)
static int copy_file(const char *old_file, const char *new_file)
{
sbyte *buf;
int buf_size;