Build via include
This commit is contained in:
@@ -403,6 +403,40 @@ std::string CClib_rawtxgen(struct CCcontract_info *cp,uint8_t funcid,cJSON *para
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BUILD_ROGUE
|
#ifdef BUILD_ROGUE
|
||||||
|
#include "rogue/vers.c"
|
||||||
|
#include "rogue/extern.c"
|
||||||
|
#include "rogue/armor.c"
|
||||||
|
#include "rogue/chase.c"
|
||||||
|
#include "rogue/command.c"
|
||||||
|
#include "rogue/daemon.c"
|
||||||
|
#include "rogue/daemons.c"
|
||||||
|
#include "rogue/fight.c"
|
||||||
|
#include "rogue/init.c"
|
||||||
|
#include "rogue/io.c"
|
||||||
|
#include "rogue/list.c"
|
||||||
|
#include "rogue/mach_dep.c"
|
||||||
|
#include "rogue/rogue.c"
|
||||||
|
#include "rogue/mdport.c"
|
||||||
|
#include "rogue/misc.c"
|
||||||
|
#include "rogue/monsters.c"
|
||||||
|
#include "rogue/move.c"
|
||||||
|
#include "rogue/new_level.c"
|
||||||
|
#include "rogue/options.c"
|
||||||
|
#include "rogue/pack.c"
|
||||||
|
#include "rogue/passages.c"
|
||||||
|
#include "rogue/potions.c"
|
||||||
|
#include "rogue/rings.c"
|
||||||
|
#include "rogue/rip.c"
|
||||||
|
#include "rogue/rooms.c"
|
||||||
|
#include "rogue/save.c"
|
||||||
|
#include "rogue/scrolls.c"
|
||||||
|
#include "rogue/state.c"
|
||||||
|
#include "rogue/sticks.c"
|
||||||
|
#include "rogue/things.c"
|
||||||
|
#include "rogue/weapons.c"
|
||||||
|
#include "rogue/wizard.c"
|
||||||
|
#include "rogue/xcrypt.c"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include "sudoku.cpp"
|
#include "sudoku.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
* See the file LICENSE.TXT for full copyright and licensing information.
|
* See the file LICENSE.TXT for full copyright and licensing information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef H_EXTERN_ROGUE_H
|
||||||
|
#define H_EXTERN_ROGUE_H
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#ifdef PDCURSES
|
#ifdef PDCURSES
|
||||||
@@ -179,4 +181,5 @@ void md_onsignal_autosave(void);
|
|||||||
void md_onsignal_exit(void);
|
void md_onsignal_exit(void);
|
||||||
void md_onsignal_default(void);
|
void md_onsignal_default(void);
|
||||||
int md_issymlink(char *sp);
|
int md_issymlink(char *sp);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
* See the file LICENSE.TXT for full copyright and licensing information.
|
* See the file LICENSE.TXT for full copyright and licensing information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef H_ROGUE_H
|
||||||
|
#define H_ROGUE_H
|
||||||
|
|
||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
|
|
||||||
#undef lines
|
#undef lines
|
||||||
@@ -783,3 +786,5 @@ extern char *wood[];
|
|||||||
extern int cNWOOD;
|
extern int cNWOOD;
|
||||||
extern char *metal[];
|
extern char *metal[];
|
||||||
extern int cNMETAL;
|
extern int cNMETAL;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
*
|
*
|
||||||
* See the file LICENSE.TXT for full copyright and licensing information.
|
* See the file LICENSE.TXT for full copyright and licensing information.
|
||||||
*/
|
*/
|
||||||
|
#ifndef H_SCORE_H
|
||||||
|
#define H_SCORE_H
|
||||||
|
|
||||||
struct sc_ent {
|
struct sc_ent {
|
||||||
unsigned int sc_uid;
|
unsigned int sc_uid;
|
||||||
@@ -24,3 +26,4 @@ typedef struct sc_ent SCORE;
|
|||||||
|
|
||||||
void rd_score(SCORE *top_ten);
|
void rd_score(SCORE *top_ten);
|
||||||
void wr_score(SCORE *top_ten);
|
void wr_score(SCORE *top_ten);
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user