Changeset fb894b4 in network-game for server


Ignore:
Timestamp:
Oct 17, 2014, 1:10:56 AM (10 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
84754c0
Parents:
81c4e8a
Message:

Change server exe name and clean up the db schema

Location:
server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/dbmod.txt

    r81c4e8a rfb894b4  
    11SQL statements for creating the db tables are stored here
    22
    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` (
     3CREATE TABLE users (
    104   id INT NOT NULL AUTO_INCREMENT,
    115   name varchar(64) NOT NULL,
     
    1913   PRIMARY KEY (id),
    2014   UNIQUE KEY name (name)
    21 }
     15);
    2216
    2317
  • server/makefile

    r81c4e8a rfb894b4  
    66DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o GameSummary.o LuaLoader.o
    77
    8 gameServer : server.cpp $(DEPENDENCIES)
     8server : server.cpp $(DEPENDENCIES)
    99        $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
    1010
     
    3838clean:
    3939        rm *.o
    40         rm gameServer
     40        rm server
Note: See TracChangeset for help on using the changeset viewer.