Age | Commit message (Collapse) | Author |
|
see.
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
|
|
|
|
|
|
spaces
|
|
|
|
directly to DoCommand(P).
|
|
thus unifying most of the validity checking too.
|
|
<nitpicked> by Swallow
|
|
location
|
|
or so.
|
|
the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
-Codechange: test earlier whether the command (send from the server) is actually valid.
|
|
|
|
|
|
|
|
debug stuff a runtime configurable debug option instead of a compile time option.
|
|
failed :(
|
|
|
|
|
|
(not enough players)" fully translateable.
|
|
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)
|