Commit Graph

1056 Commits (bad2326dadb5049778fba56d0863155feb43ee71)

Author SHA1 Message Date
rubidium bd252de9ef (svn r23906) -Codechange: replace magic numbers with named constants (adf88) 13 years ago
rubidium abdd5ebfa7 (svn r23843) -Fix: minor issue with replaying ;) 13 years ago
rubidium 464d51905a (svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says 13 years ago
rubidium 1d098d8ce2 (svn r23822) -Fix-ish: when replaying make sure companies get created even if their creating client doesn't exist during the replay 13 years ago
rubidium 752474cec3 (svn r23821) -Fix-ish: when replaying a command log, ignore the command limit 13 years ago
rubidium 82a3783fdd (svn r23817) -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance that it happens significantly with betas/RCs/nightlies by doing the same as is done for stable releases: check the NewGRF version of server vs client.
Previously this check was not done for nightlies/betas/RCs due to missing versioning information in the source tarballs, but they have that for a while now. So just force the NewGRF version check for all versions, and remove the broken --revision configure option
13 years ago
yexo 9c74fb5a69 (svn r23802) -Fix [FS#4968] (r23601): game lobby gui not updated when new company information becomes available 13 years ago
rubidium 84433bbeb7 (svn r23787) -Fix: add some missing spaces 13 years ago
truebrain 1b34577941 (svn r23780) -Fix [FS#4963] (r23764): also name the two new errors server-side. As extra, split up one of the errors in 3 errors, to be more specific what goes wrong. As cherry on top, make sure on all sides we can never again forget to add such entries on both sides, by introducing an assert_compile() 13 years ago
rubidium 578c3218b0 (svn r23769) -Codechange: make the lag/join start timeouts configurable as well 13 years ago
rubidium f6329bf87e (svn r23764) -Fix [FS#4955]: make default timeouts for certain states lower and configurable 13 years ago
rubidium 1481ae6899 (svn r23754) -Fix (r23752): the locks aren't reentrant 13 years ago
rubidium 22be2a7f43 (svn r23752) -Fix [FS#4938]: missing locking causing crash is extreme case when being in the MP lobby 13 years ago
rubidium f8faaebaf0 (svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive name, and move the UDP specific bits to network_udp 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium e371c26025 (svn r23719) -Fix [FS#4930]: extraction of music packs failed 13 years ago
rubidium 2b32ddf24f (svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name 13 years ago
rubidium 37a81f01cf (svn r23709) -Feature-ish: try harder to sort text instead of fancy characters in the server names 13 years ago
rubidium 7e8fc15328 (svn r23692) -Fix: use smallest_x of your children only when you let the children update it 13 years ago
truebrain c967d260bc (svn r23691) -Fix: signed/unsigned issues, causing asserts for some languages in relation to the serverlist 13 years ago
truebrain 190a68b350 (svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one. 13 years ago
truebrain 1d84fb277e (svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript 13 years ago
truebrain 3a799f1145 (svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only) 13 years ago
truebrain ff7797c421 (svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library) 13 years ago
truebrain 14325e2391 (svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory 13 years ago
truebrain f66f27d249 (svn r23604) -Add: initial support for GameScripts 13 years ago
truebrain 2b381d0765 (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) 13 years ago
truebrain c74ccfff1b (svn r23601) -Fix: fix the conflict in window number 13 years ago
rubidium 3d605f6488 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
rubidium 8e4b6c3055 (svn r23590) -Codechange: make the string validation settings better expandable 13 years ago
frosch 7b9891f086 (svn r23579) -Fix (r23525): Most up/down arrows stopped working. 13 years ago
truebrain 4c344a82a9 (svn r23544) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
truebrain da63ce43fa (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
yexo 38102a96b9 (svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url 13 years ago
yexo 229000cc3b (svn r23492) -Feature: add 'view website' button to the online content window 13 years ago
rubidium 56f37d9386 (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 13 years ago
rubidium 43e78a88ca (svn r23475) -Codechange: queue critical error messages, so when multiple happen you won't miss any 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium daba7e588a (svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files 13 years ago
yexo 3ab6652a54 (svn r23469) -Fix (r23468): gcc warning about initialization order 13 years ago
yexo 78d5ec5aa6 (svn r23468) -Feature [FS#4827]: when looking for missing content, automatically select it so you can easily start the download 13 years ago
yexo 9070d4824f (svn r23467) -Feature [FS#4827]: automatically close the online content window after confirming the download with 'ok' 13 years ago
yexo 442caecab0 (svn r23465) -Feature [FS#4827]: add 'find missing content online' button to 'load savegame' and 'find network game' windows 13 years ago
truebrain bf803e40cc (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
truebrain 906045c457 (svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo and AIScannerLibrary 13 years ago
rubidium 26eebf2203 (svn r23337) -Fix [FS#4826]: don't send chat messages to clients that haven't joined yet 13 years ago
rubidium 637086fe02 (svn r23285) -Fix: scanning of content after download didn't work 13 years ago
rubidium 2052561c2e (svn r23240) -Codechange: rework the code of the download status window 13 years ago
rubidium ffccec6d84 (svn r23234) -Fix [FS#4840]: crash when after downloading content 13 years ago
rubidium 023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 13 years ago
rubidium 5135e2a09e (svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset 13 years ago
rubidium 4d281cce97 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 13 years ago
rubidium 9bf2cb0e86 (svn r23216) -Codechange: introduce the concept of having different tar lists 13 years ago
rubidium 1c5ecf5619 (svn r23202) -Fix [FS#4829]: unstable sorting in the network list when two servers had the exact same name 13 years ago
rubidium 33d71b45fe (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 13 years ago
rubidium 4ef3d33895 (svn r23193) -Codechange: don't cast away const unneededly 13 years ago
rubidium ee0fd02d17 (svn r23179) -Codechange: use some tooltips that already existed (monoid) 13 years ago
rubidium d10a5077d4 (svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral) 13 years ago
truebrain 6de385a9b4 (svn r23047) -Documentation: silly typo in comment 13 years ago
rubidium 7005bb694c (svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction between bankruptcy and manual removal of companies even though the API suggested that 13 years ago
peter1138 cacf7ecf2b (svn r23017) -Codechange: Add support for resized scrollbars. 13 years ago
planetmaker 4a87470323 (svn r23011) -Fix [FS#4791]: When the last used server is deleted from the list also clear the last used server if it is the same (monoid) 13 years ago
rubidium fc5af08ef8 (svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin port when a new game is started 13 years ago
yexo 7196157d2d (svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid) 13 years ago
rubidium 8c335b8db6 (svn r22845) -Fix [FS#4745]: perform stricter checks on some commands (monoid) 13 years ago
rubidium fea42cd52b (svn r22829) -Codechange: unify the dirtying of windows after an AI scan 13 years ago
rubidium c8167de1c2 (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory 13 years ago
rubidium 9194ff28b7 (svn r22805) -Codechange: move use of magic number for version checking to more logical location 13 years ago
rubidium 54f52a26a4 (svn r22793) -Codechange: remove callback default to make clear they are not forgotten 13 years ago
rubidium afe407322d (svn r22771) -Codechange: unify some NewGRFScan calling code 13 years ago
frosch 30c413c399 (svn r22738) -Fix [FS#4722] (r21854): Setting company passwords via the GUI on servers (including starting a company with the default password) failed, so no client could join. 13 years ago
rubidium 838a7040f3 (svn r22696) -Fix: don't requery the servers when the server list window isn't opened 13 years ago
rubidium 7c9432f94d (svn r22695) -Fix [FS#4697]: mark addresses that could not be resolved as 'do not resolve anymore' as well, instead of trying to resolve them each and every time the address is accessed 13 years ago
frosch 1322d59aaa (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 13 years ago
rubidium 82251f0e4c (svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocol 13 years ago
michi_cc be59f1e7ff (svn r22431) -Fix (r22399): NETWORK_RECV_STATUS_MALFORMED_PACKET != false. 13 years ago
frosch 7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 13 years ago
rubidium 61a3963361 (svn r22424) -Document: some more bits 13 years ago
rubidium 1ef751e855 (svn r22423) -Document: some network stuff 13 years ago
frosch 7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 13 years ago
rubidium eb2197f4c8 (svn r22410) -Document: some more bits ;) 13 years ago
rubidium ee93be2e3f (svn r22403) -Document: some more network/core code 13 years ago
rubidium 8a58e2cd16 (svn r22401) -Codechange: replace some defines in the udp code so doxygen can create better documentation 13 years ago
rubidium 8e39557a2e (svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation 13 years ago
rubidium 0e2f541c80 (svn r22399) -Codechange: replace some defines in the tcp/content code so doxygen can create better documentation 13 years ago
rubidium e2c050d256 (svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation 13 years ago
rubidium 1615b81d64 (svn r22387) -Fix-ish [FS#4601]: Windows' recv seems to return "graceful closed" before having passed the remaining buffer which causes OpenTTD to think all connections are "incorrectly" terminated, i.e. without the "I'm leaving" packet from the client. So let the client wait a tiny bit after sending the "I'm leaving" packet and before gracefully closing the connection 13 years ago
rubidium 4957d6beb1 (svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots 13 years ago
rubidium 889fbcb84d (svn r22372) -Fix (r22364) [FS#4598]: segmentation fault when trying to get the server's IP 13 years ago
rubidium 347ec4d713 (svn r22370) -Codechange/fix: keep better accounting of the order in which clients joined:
* Clients can't be starved from joining the game
 * Clients will see the amount of clients actually waiting in front of them, instead of the amount of waiting clients in total
13 years ago
rubidium 586cd7d45e (svn r22369) -Codechange: allocate ClientInfo when needed, i.e. don't allocate it for clients that are there to just get a list of companies. This means that these short lived clients won't be seen by the admin network in their client queries anymore 13 years ago
rubidium 8430fadcbb (svn r22368) -Codechange: move the IP address field from the ClientInfo to ClientSocket 13 years ago
rubidium 9ce29f918d (svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots" 13 years ago
rubidium 7e151c1d51 (svn r22366) -Codechange: make GetClientIP a function of the server's ClientSocket, after all the Socket is the bit that's associated with the network 13 years ago
rubidium c4af57ad3b (svn r22365) -Codechange: add overload of NetworkServerKickOrBanIP using the ClientID, which later resolves the IP address to ban. This to consolidate the knowledge about resolving IP addresses 13 years ago
rubidium 074644a3f0 (svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients 13 years ago
rubidium 9328b8b63d (svn r22363) -Codechange: NetworkFindClientStateFromClientID -> NetworkClientSocket::GetByClientID 13 years ago
rubidium 0a7dcc9781 (svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID 13 years ago
rubidium c90e28d184 (svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client) 13 years ago