mirror of
https://git.zap.org.au/git/trader.git
synced 2024-10-27 18:20:13 -04:00
Minor (cosmetic) changes to the ordering of elements in some files
This commit is contained in:
parent
04879e376e
commit
7bfdcff969
@ -9,8 +9,8 @@
|
|||||||
Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This file, system.h, contains system #include directives for Star
|
This file, system.h, contains system-specific definitions and #include
|
||||||
Traders.
|
directives for Star Traders.
|
||||||
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This program is free software: you can redistribute it and/or modify it
|
||||||
@ -72,7 +72,7 @@
|
|||||||
#elif defined(HAVE_CURSES_H)
|
#elif defined(HAVE_CURSES_H)
|
||||||
# include <curses.h>
|
# include <curses.h>
|
||||||
#else
|
#else
|
||||||
# error SysV-compatible curses library required
|
# error "X/Open-compatible curses library required"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -278,11 +278,11 @@ void init_program (void)
|
|||||||
// Initialise the random number generator
|
// Initialise the random number generator
|
||||||
init_rand();
|
init_rand();
|
||||||
|
|
||||||
// Initialise the terminal display
|
|
||||||
init_screen();
|
|
||||||
|
|
||||||
// Initialise signal-handling functions
|
// Initialise signal-handling functions
|
||||||
// @@@ To be completed
|
// @@@ To be completed
|
||||||
|
|
||||||
|
// Initialise the terminal display
|
||||||
|
init_screen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
25
src/trader.h
25
src/trader.h
@ -10,6 +10,7 @@
|
|||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This file, trader.h, contains overall definitions for Star Traders.
|
This file, trader.h, contains overall definitions for Star Traders.
|
||||||
|
This allows source files to include just one file: this one.
|
||||||
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This program is free software: you can redistribute it and/or modify it
|
||||||
@ -32,18 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
* Global definitions *
|
* Included header files *
|
||||||
************************************************************************/
|
|
||||||
|
|
||||||
#define GAME_FILE_HEADER PACKAGE_NAME " Saved Game"
|
|
||||||
#define GAME_FILE_API_VERSION "7.0" // For game loads and saves
|
|
||||||
#define GAME_FILE_SENTINEL (42) // End of game file sentinel
|
|
||||||
|
|
||||||
#define BUFSIZE (1024) // For various string buffers
|
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************
|
|
||||||
* Program-specific header files *
|
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
@ -58,4 +48,15 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
|
||||||
|
/************************************************************************
|
||||||
|
* Global definitions *
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
#define GAME_FILE_HEADER PACKAGE_NAME " Saved Game"
|
||||||
|
#define GAME_FILE_API_VERSION "7.0" // For game loads and saves
|
||||||
|
#define GAME_FILE_SENTINEL (42) // End of game file sentinel
|
||||||
|
|
||||||
|
#define BUFSIZE (1024) // For various string buffers
|
||||||
|
|
||||||
|
|
||||||
#endif /* included_TRADER_H */
|
#endif /* included_TRADER_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user