ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/init.C
(Generate patch)

Comparing deliantra/server/socket/init.C (file contents):
Revision 1.58 by root, Tue Apr 22 07:28:05 2008 UTC vs.
Revision 1.60 by root, Sat Dec 27 01:25:00 2008 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2001,2007 Mark Wedel 5 * Copyright (©) 2001,2007 Mark Wedel
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992,2007 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify 8 * Deliantra is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
134 134
135 if (fcntl (fd, F_SETFL, O_NONBLOCK) == -1) 135 if (fcntl (fd, F_SETFL, O_NONBLOCK) == -1)
136 LOG (llevError, "InitConnection: Error on fcntl.\n"); 136 LOG (llevError, "InitConnection: Error on fcntl.\n");
137 137
138 state = ST_SETUP; 138 state = ST_SETUP;
139 mapmode = Map0Cmd; 139 mapmode = Map1aCmd;
140 darkness = 1;
141 mapx = 11; 140 mapx = 11;
142 mapy = 11; 141 mapy = 11;
143 itemcmd = 1; /* Default is version item1 command */ 142 itemcmd = 1; /* Default is version item1 command */
144 max_rate = 100000 / (1000000 / MAX_TIME); // ~1mbit is assumed per default 143 max_rate = 100000 / (1000000 / MAX_TIME); // ~1mbit is assumed per default
145 144

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines