Age | Commit message (Collapse) | Author |
|
twice (found due to added assertion in r14730)
|
|
|
|
(optional) parameter.
|
|
(without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
|
|
expected.
|
|
|
|
networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
-Note: 255 should really be enough for now... making it any more means network protocol bumps.
|
|
-Fix: don't show clients that are "only" in the lobby.
|
|
|
|
|
|
amount of slots in the array, but one less as a dedicated server takes a slot too.
|
|
function/definitions closer together.
|
|
#include dependencies.
|
|
|
|
it's (way) more descriptive what it's used for.
|
|
latter describes the name more precisely.
|
|
replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
|
|
non-network locations.
|
|
ClientIndex
|
|
|
|
one of the the network files.
|
|
variables (password/months not used) when needed, i.e. only for servers.
|
|
network related company information.
|
|
field for changing the password on clients.
|
|
to the client.
|
|
identification ids and the indices into the clients/client info arrays.
|
|
scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
|
|
|
|
on the maximum number of clients, not the maximum number of companies.
|
|
|
|
lastof() in some cases (part by Aali)
|
|
and strecpy where direct conversion is possible
|
|
they will not overflow their buffers.
|
|
HandleEditBox function (Zuu)
|
|
|
|
|
|
textbuf, explicitly say it includes the terminating zero
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
|
|
|
|
names in comments and add a little more doxygen documentation.
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
doesn't guarantee the resulting string is '\0'-terminated.
|
|
|
|
ShowQueryString()
|
|
window is scrolled (yorP)
|
|
as the chatbox got a higher priority than the OSK instead of the usual other way around.
|
|
|
|
|
|
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
|