Skip to content

Commit f4817d2

Browse files
committed
move timer thread and send response worker to game server lib. rename runner to game server, and game server to game server lib.
1 parent 1d92219 commit f4817d2

11 files changed

+2737
-2694
lines changed

bin/.game_server.dll

2 KB
Binary file not shown.

bin/game_server.dll

2 KB
Binary file not shown.

bin/game_server.exe

-3 KB
Binary file not shown.

bin/game_server.lib

-906 Bytes
Binary file not shown.

bin/login_server.exe

0 Bytes
Binary file not shown.

build.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ set flags=/Z7 /W4 /wd4996 /wd4201 /wd4477 /nologo /diagnostics:column -FC -Gm- -
1010

1111
cl %flags% ../login_server.c ../directory.c ../net_windows.c ../wqueue.c /Fe:login_server.exe -I../openssl-1.1/x64/include ../openssl-1.1/x64/lib/libcrypto.lib Ws2_32.lib
1212

13-
cl %flags% /LD ../game_server.c ../directory.c ../net_windows.c /Fe:game_server.dll /link -incremental:no /PDB:game_server_%random%.pdb /EXPORT:on_init /EXPORT:on_connection /EXPORT:on_request /EXPORT:on_response /EXPORT:on_disconnect /EXPORT:on_tick Ws2_32.lib
13+
cl %flags% /LD ../game_server_lib.c ../directory.c ../net_windows.c ../wqueue.c /Fe:game_server.dll /link -incremental:no /PDB:game_server_%random%.pdb /EXPORT:on_pevent Ws2_32.lib
1414

15-
cl %flags% ../runner.c ../net_windows.c ../wqueue.c /Fe:game_server.exe /link /PDB:game_server.pdb Ws2_32.lib
15+
cl %flags% ../game_server.c ../net_windows.c /Fe:game_server.exe /link /PDB:game_server.pdb Ws2_32.lib
1616

1717
popd

0 commit comments

Comments
 (0)