remove stupid pragmas

This commit is contained in:
Enno Rehling 2014-04-22 07:21:29 -07:00
parent 9aeb0f6b86
commit 0d05ae77a3
6 changed files with 2 additions and 17 deletions

2
cutest

@ -1 +1 @@
Subproject commit d83cec09a52835274ab8ed4849de16fb8658982a
Subproject commit 788659594ef87e9f497b8039da764182adfd2943

View File

@ -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.
**/
#pragma region includes
#include <platform.h>
#include <kernel/config.h>
#include <kernel/types.h>
@ -81,8 +79,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <assert.h>
#include <limits.h>
#pragma endregion
typedef struct request {
struct request *next;
struct unit *unit;

View File

@ -10,8 +10,6 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#pragma region includes
#include <platform.h>
#include <kernel/config.h>
#include "alliance.h"
@ -43,8 +41,6 @@ without prior permission by the authors of Eressea.
#include <stdlib.h>
#include <string.h>
#pragma endregion
alliance *alliances = NULL;
void free_alliance(alliance * al)

View File

@ -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.
**/
#pragma region includes
#include <platform.h>
#include <kernel/config.h>
#include "battle.h"
@ -73,8 +71,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdlib.h>
#include <sys/stat.h>
#pragma endregion
static FILE *bdebug;
#define TACTICS_BONUS 1 /* when undefined, we have a tactics round. else this is the bonus tactics give */

View File

@ -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.
**/
#pragma region includes
#include <platform.h>
#include <kernel/config.h>
#include "laws.h"
@ -103,8 +101,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <tests.h>
#pragma endregion
/* chance that a peasant dies of starvation: */
#define PEASANT_STARVATION_CHANCE 0.9F
/* Pferdevermehrung */

View File

@ -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.
**/
#include <autoconf.h>
#include <platform.h>
#include <util/log.h>