Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MSBUILD := MSBuild.exe
DEFINES := -DDR_MULTIPLAYER -DIPXNET -DDR_LETTERBOX #-DDR_CDCHECK
INCLUDES := -I/usr/include/SDL2
FLAGS ?= -O3
FLAGS += -Werror -Wno-unused-result
FLAGS += -std=c99 -Werror -Wno-unused-result
LDFLAGS := -lm -lSDL2 -lSDL2_net

OBJS := data.o bss.o
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The main goal of this project is to create a port of Death Rally (1996) running natively on Linux and BSD based operating systems.

#### Linux requirements
* GCC/Clang C compiler
* GCC/Clang C compiler supporting C99/POSIX
* GNU/Make
* SDL2

Expand Down
5 changes: 1 addition & 4 deletions db_ipx.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <stdbool.h>

#include "drally_ipx.h"

Expand All @@ -12,10 +13,6 @@

#define CONVIPX(hostvar) hostvar[0], hostvar[1], hostvar[2], hostvar[3], hostvar[4], hostvar[5]

typedef int bool;
#define true 1
#define false 0

typedef unsigned char Bit8u;
typedef signed short Bit16s;
typedef unsigned short Bit16u;
Expand Down
1 change: 1 addition & 0 deletions drally.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define __USE_POSIX 1
#include <time.h>
#include <ctype.h>
#include <SDL2/SDL.h>
Expand Down