Added game.c, game.h, player.c, and player.h to the devcpp projects and successfully tested both the SDL and curses clients on Windows.
parent
1f973fc865
commit
3d1fb1de41
|
@ -4,8 +4,8 @@
|
||||||
CPP = g++.exe
|
CPP = g++.exe
|
||||||
CC = gcc.exe
|
CC = gcc.exe
|
||||||
WINDRES = windres.exe
|
WINDRES = windres.exe
|
||||||
OBJ = ../main.o ../interface/curses.o ../net/sockets.o
|
OBJ = ../main.o ../interface/curses.o ../net/sockets.o ../game.o ../player.o
|
||||||
LINKOBJ = ../main.o ../interface/curses.o ../net/sockets.o
|
LINKOBJ = ../main.o ../interface/curses.o ../net/sockets.o ../game.o ../player.o
|
||||||
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc ../../PDCurses/pdcurses.lib
|
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc ../../PDCurses/pdcurses.lib
|
||||||
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"../../PDCurses"
|
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"../../PDCurses"
|
||||||
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"../../PDCurses"
|
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"../../PDCurses"
|
||||||
|
@ -33,3 +33,9 @@ $(BIN): $(OBJ)
|
||||||
|
|
||||||
../net/sockets.o: ../net/sockets.c
|
../net/sockets.o: ../net/sockets.c
|
||||||
$(CC) -c ../net/sockets.c -o ../net/sockets.o $(CFLAGS)
|
$(CC) -c ../net/sockets.c -o ../net/sockets.o $(CFLAGS)
|
||||||
|
|
||||||
|
../game.o: ../game.c
|
||||||
|
$(CC) -c ../game.c -o ../game.o $(CFLAGS)
|
||||||
|
|
||||||
|
../player.o: ../player.c
|
||||||
|
$(CC) -c ../player.c -o ../player.o $(CFLAGS)
|
||||||
|
|
|
@ -29,7 +29,7 @@ IncludeVersionInfo=0
|
||||||
SupportXPThemes=0
|
SupportXPThemes=0
|
||||||
CompilerSet=0
|
CompilerSet=0
|
||||||
CompilerSettings=0000000000000000000000000
|
CompilerSettings=0000000000000000000000000
|
||||||
UnitCount=7
|
UnitCount=11
|
||||||
|
|
||||||
[VersionInfo]
|
[VersionInfo]
|
||||||
Major=1
|
Major=1
|
||||||
|
@ -120,3 +120,43 @@ Priority=1000
|
||||||
OverrideBuildCmd=0
|
OverrideBuildCmd=0
|
||||||
BuildCmd=
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit8]
|
||||||
|
FileName=..\game.c
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-pdcurses
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit9]
|
||||||
|
FileName=..\game.h
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-pdcurses
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit10]
|
||||||
|
FileName=..\player.c
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-pdcurses
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit11]
|
||||||
|
FileName=..\player.h
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-pdcurses
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
|
|
@ -38,3 +38,15 @@ Top=0
|
||||||
[Editor_6]
|
[Editor_6]
|
||||||
Open=0
|
Open=0
|
||||||
Top=0
|
Top=0
|
||||||
|
[Editor_7]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
[Editor_8]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
[Editor_9]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
[Editor_10]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
|
|
@ -29,7 +29,7 @@ IncludeVersionInfo=0
|
||||||
SupportXPThemes=0
|
SupportXPThemes=0
|
||||||
CompilerSet=0
|
CompilerSet=0
|
||||||
CompilerSettings=0000000000000000000000000
|
CompilerSettings=0000000000000000000000000
|
||||||
UnitCount=7
|
UnitCount=11
|
||||||
|
|
||||||
[VersionInfo]
|
[VersionInfo]
|
||||||
Major=1
|
Major=1
|
||||||
|
@ -120,3 +120,43 @@ Priority=1000
|
||||||
OverrideBuildCmd=0
|
OverrideBuildCmd=0
|
||||||
BuildCmd=
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit8]
|
||||||
|
FileName=..\game.c
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-sdl
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit9]
|
||||||
|
FileName=..\game.h
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-sdl
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit10]
|
||||||
|
FileName=..\player.c
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-sdl
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit11]
|
||||||
|
FileName=..\player.h
|
||||||
|
CompileCpp=0
|
||||||
|
Folder=timesynk-sdl
|
||||||
|
Compile=1
|
||||||
|
Link=1
|
||||||
|
Priority=1000
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
|
|
@ -26,3 +26,19 @@ Top=0
|
||||||
[Editor_6]
|
[Editor_6]
|
||||||
Open=0
|
Open=0
|
||||||
Top=0
|
Top=0
|
||||||
|
[Editor_7]
|
||||||
|
CursorCol=1
|
||||||
|
CursorRow=1
|
||||||
|
TopLine=1
|
||||||
|
LeftChar=1
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
[Editor_8]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
[Editor_9]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
[Editor_10]
|
||||||
|
Open=0
|
||||||
|
Top=0
|
||||||
|
|
Loading…
Reference in New Issue