mirror of
https://git.zap.org.au/git/trader.git
synced 2024-12-04 14:46:45 -05: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>
|
||||
$Id$
|
||||
|
||||
This file, system.h, contains system #include directives for Star
|
||||
Traders.
|
||||
This file, system.h, contains system-specific definitions and #include
|
||||
directives for Star Traders.
|
||||
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
@ -72,7 +72,7 @@
|
||||
#elif defined(HAVE_CURSES_H)
|
||||
# include <curses.h>
|
||||
#else
|
||||
# error SysV-compatible curses library required
|
||||
# error "X/Open-compatible curses library required"
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -278,11 +278,11 @@ void init_program (void)
|
||||
// Initialise the random number generator
|
||||
init_rand();
|
||||
|
||||
// Initialise the terminal display
|
||||
init_screen();
|
||||
|
||||
// Initialise signal-handling functions
|
||||
// @@@ To be completed
|
||||
|
||||
// Initialise the terminal display
|
||||
init_screen();
|
||||
}
|
||||
|
||||
|
||||
|
25
src/trader.h
25
src/trader.h
@ -10,6 +10,7 @@
|
||||
$Id$
|
||||
|
||||
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
|
||||
@ -32,18 +33,7 @@
|
||||
|
||||
|
||||
/************************************************************************
|
||||
* 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
|
||||
|
||||
|
||||
/************************************************************************
|
||||
* Program-specific header files *
|
||||
* Included header files *
|
||||
************************************************************************/
|
||||
|
||||
#include "system.h"
|
||||
@ -58,4 +48,15 @@
|
||||
#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 */
|
||||
|
Loading…
Reference in New Issue
Block a user