forked from github/server
remove stupid pragmas
This commit is contained in:
parent
9aeb0f6b86
commit
0d05ae77a3
2
cutest
2
cutest
|
@ -1 +1 @@
|
||||||
Subproject commit d83cec09a52835274ab8ed4849de16fb8658982a
|
Subproject commit 788659594ef87e9f497b8039da764182adfd2943
|
|
@ -16,8 +16,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#pragma region includes
|
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <kernel/config.h>
|
#include <kernel/config.h>
|
||||||
#include <kernel/types.h>
|
#include <kernel/types.h>
|
||||||
|
@ -81,8 +79,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#pragma endregion
|
|
||||||
|
|
||||||
typedef struct request {
|
typedef struct request {
|
||||||
struct request *next;
|
struct request *next;
|
||||||
struct unit *unit;
|
struct unit *unit;
|
||||||
|
|
|
@ -10,8 +10,6 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma region includes
|
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <kernel/config.h>
|
#include <kernel/config.h>
|
||||||
#include "alliance.h"
|
#include "alliance.h"
|
||||||
|
@ -43,8 +41,6 @@ without prior permission by the authors of Eressea.
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#pragma endregion
|
|
||||||
|
|
||||||
alliance *alliances = NULL;
|
alliance *alliances = NULL;
|
||||||
|
|
||||||
void free_alliance(alliance * al)
|
void free_alliance(alliance * al)
|
||||||
|
|
|
@ -16,8 +16,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#pragma region includes
|
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <kernel/config.h>
|
#include <kernel/config.h>
|
||||||
#include "battle.h"
|
#include "battle.h"
|
||||||
|
@ -73,8 +71,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#pragma endregion
|
|
||||||
|
|
||||||
static FILE *bdebug;
|
static FILE *bdebug;
|
||||||
|
|
||||||
#define TACTICS_BONUS 1 /* when undefined, we have a tactics round. else this is the bonus tactics give */
|
#define TACTICS_BONUS 1 /* when undefined, we have a tactics round. else this is the bonus tactics give */
|
||||||
|
|
|
@ -16,8 +16,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#pragma region includes
|
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <kernel/config.h>
|
#include <kernel/config.h>
|
||||||
#include "laws.h"
|
#include "laws.h"
|
||||||
|
@ -103,8 +101,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include <tests.h>
|
#include <tests.h>
|
||||||
|
|
||||||
#pragma endregion
|
|
||||||
|
|
||||||
/* chance that a peasant dies of starvation: */
|
/* chance that a peasant dies of starvation: */
|
||||||
#define PEASANT_STARVATION_CHANCE 0.9F
|
#define PEASANT_STARVATION_CHANCE 0.9F
|
||||||
/* Pferdevermehrung */
|
/* Pferdevermehrung */
|
||||||
|
|
|
@ -16,6 +16,7 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#include <autoconf.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <util/log.h>
|
#include <util/log.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue