- Timestamp:
- Oct 17, 2014, 1:10:56 AM (10 years ago)
- Branches:
- master
- Children:
- 84754c0
- Parents:
- 81c4e8a
- Location:
- server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
server/dbmod.txt
r81c4e8a rfb894b4 1 1 SQL statements for creating the db tables are stored here 2 2 3 CREATE TABLE users( 4 id INT NOT NULL AUTO_INCREMENT, 5 wins INT NOT NULL DEFAULT 0, 6 losses INT NOT NULL DEFAULT 0 7 ); 8 9 CREATE TABLE `users` ( 3 CREATE TABLE users ( 10 4 id INT NOT NULL AUTO_INCREMENT, 11 5 name varchar(64) NOT NULL, … … 19 13 PRIMARY KEY (id), 20 14 UNIQUE KEY name (name) 21 } 15 ); 22 16 23 17 -
server/makefile
r81c4e8a rfb894b4 6 6 DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o GameSummary.o LuaLoader.o 7 7 8 gameServer : server.cpp $(DEPENDENCIES)8 server : server.cpp $(DEPENDENCIES) 9 9 $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS) 10 10 … … 38 38 clean: 39 39 rm *.o 40 rm gameServer40 rm server
Note:
See TracChangeset
for help on using the changeset viewer.