Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-26 | (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate ↵ | Darkvater | |
debugging levels to use in debug.h. grfmsg() is now used as a specific debug-function for grf. | |||
2006-11-16 | (svn r7182) -Feature: Merge utf8 branch. This brings us support for ↵ | peter1138 | |
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. | |||
2006-10-24 | (svn r6932) -Codechange: Send server messages with format ↵ | Darkvater | |
NETWORK_ACTION_SERVER_MESSAGE so it is general colour like the rest of the server messages. Spectators speak in grey. | |||
2006-10-24 | (svn r6931) -Codechange: Change textmessage format a bit. Only the sender's ↵ | Darkvater | |
name and target are in the sender's colour, the actual message is in white. Should improve readability. | |||
2006-10-21 | (svn r6884) -Codechange: Add strict bounds checking in string formatting system. | Darkvater | |
The last parameter should point to the end of the buffer (eg lastof(buf)) Courtesy of Tron. | |||
2006-10-21 | (svn r6878) -Fix r6876 +add network.c, network_client.c | Darkvater | |
2006-10-18 | (svn r6820) -Codechange: Some more const correctness, coding style. | Darkvater | |
-Codechange: Add FOR_ALL_ACTIVE_CLIENT_INFOS macro that will loop all clients skipping inactive ones. | |||
2006-10-17 | (svn r6816) -Codechange: Some coding style, variable localization, const ↵ | Darkvater | |
correctness. -Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState | |||
2006-10-17 | (svn r6814) -Codechange: For network games ci->client_playas was always ↵ | Darkvater | |
p->index + 1. To correctly handle this ci->client_playas - 1 was used all over the code making it pretty confusing at times. Use proper one-on-one values now. Special handling is only needed for user-output to not to confuse users. | |||
2006-10-15 | (svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. ↵ | Darkvater | |
This function only adds favourite servers to the list, does nothing with regards to connection | |||
2006-10-15 | (svn r6783) -Codechange: Allow ParseConnectionString to allow players with ↵ | Darkvater | |
more than one digit | |||
2006-10-14 | (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to ↵ | Darkvater | |
PLAYER_SPECTATOR and put it into player.h where it belongs (instead of map.h) | |||
2006-10-12 | (svn r6753) -Codechange: Move some function declerations from functions.h ↵ | Darkvater | |
into network.h and let NetworkDisconnect handle all shutdown related operations. | |||
2006-10-12 | (svn r6750) -Codechange: Juggle around some header includes as they're only ↵ | Darkvater | |
used when networking is enabled. | |||
2006-10-03 | (svn r6628) - Feature: Add the ability to pause a server if not enough ↵ | peter1138 | |
players are connected. The setting for this is 'min_players' and can be set in the config and via the console. If the number of players drops below this number, the server will pause the game. | |||
2006-08-27 | (svn r6170) -Feature: save max_companies/clients/spectators in the config file. | Darkvater | |
2006-08-16 | (svn r5928) -Cleanup: remove ConvertIntDate and use ConvertYMDToDate as ↵ | rubidium | |
ConvertIntDate was only called with Years. | |||
2006-08-15 | (svn r5915) -Cleanup: some variables were named *_date while they were only ↵ | rubidium | |
holding years; rename these variables to match this. | |||
2006-08-14 | (svn r5887) -Cleanup: move date related functions, defines and variables to ↵ | rubidium | |
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments | |||
2006-06-27 | (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular | tron | |
2006-06-17 | (svn r5298) Hide function declarations and remove function stubs which ↵ | tron | |
aren't needed in the !ENABLE_NETWORK case | |||
2006-06-17 | (svn r5297) Check the interface flags if IFF_BROADCAST is set before asking ↵ | tron | |
for the broadcast address | |||
2006-06-17 | (svn r5295) Handle a quirk in the Windows interface detection code and fix a ↵ | tron | |
typo in r5293 (thanks to Darkvater for testing) | |||
2006-06-17 | (svn r5293) -Fix: Not all network interfaces are capable of broadcasting. ↵ | tron | |
Don't record those which aren't -Fix: Not all networks are /24. Generate proper broadcast addresses for non-/24 nets | |||
2006-06-17 | (svn r5292) -Fix: When using SIOCGIFCONF to detect network interfaces ↵ | tron | |
accomodate for the fact that struct sockaddr doesn't have fixed size in all implementations | |||
2006-06-10 | (svn r5210) Many small changes which piled up: const, unsigned, variable ↵ | tron | |
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. | |||
2006-04-22 | (svn r4521) - Fix: be consistent about the size of the player-name in MP. ↵ | Darkvater | |
This hopefully fixes a crash on lesser OS's (eg Win98). Use ttd_strlcpy() to just copy over strings and properly terminate them because different implementations of snprintf() behave differently. Courtesy of TrueLight | |||
2006-04-03 | (svn r4268) - Delete the network-copy of the Patches struct as it is not ↵ | Darkvater | |
needed anymore. All relevant patch-settings that are changed by a network-game are those that are saved with a savegame, so these are not affected for loaded games (since Patches are saved with them). Also there is a distinction between in-game patch settings and default patch settings and this is not affected in MP. Thus this temp copy can be removed. | |||
2006-04-03 | (svn r4267) - Fix (r4241): also validate the error number that a client ↵ | Darkvater | |
receives from a server, and encapsulate this functionality into GetNetworkErrorMsg(). | |||
2006-02-01 | (svn r3511) More whitespace ([FS#46] by Rubidium) | tron | |
2006-01-31 | (svn r3500) - Workaround the inaccurate count of spectators/companies that ↵ | Darkvater | |
can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking. | |||
2006-01-29 | (svn r3470) - Fix: plug a memleak in _network_host_list. | Darkvater | |
2006-01-25 | (svn r3429) - Feature (Followup): Change the gamelist window to accomodate ↵ | Darkvater | |
for the new information. | |||
2006-01-25 | (svn r3427) - Feature: Allow seeing and setting the maximum amount of ↵ | Darkvater | |
companies and spectators for a server. This can be changed/viewed during runtime as well in the console. | |||
2006-01-19 | (svn r3409) - Change the server advertisement interval to use the frame ↵ | peter1138 | |
counter instead of game days. This allows a paused server to continue to advertise itself. This also fixes advertising for games that start before 1922. | |||
2006-01-19 | (svn r3407) - Feature: Kick and ban now with IP numbers. | Darkvater | |
2005-11-14 | (svn r3181) -Bracing | tron | |
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if | |||
2005-08-28 | (svn r2899) -Fix: Several format string vulnerabilities and buffer overflows ↵ | tron | |
in the network code | |||
2005-07-29 | (svn r2755) Fix: Fix a desync issue with autoreplace | ludde | |
2005-07-24 | (svn r2701) Insert Id tags into all source files | tron | |
2005-07-22 | (svn r2673) Include functions.h directly, not globally via openttd.h | tron | |
2005-07-21 | (svn r2663) Include variables.h only in these files which need it, not ↵ | tron | |
globally via openttd.h | |||
2005-07-16 | (svn r2590) Fix: [network] Fixed NetworkHandleLocalQueue | ludde | |
2005-07-16 | (svn r2589) Fix: [network] Fixed static variable that wasn't initialized. ↵ | ludde | |
Would stop the sync checking from working in some cases. | |||
2005-07-16 | (svn r2588) Codechange: Remove PLAYER_SEED_RANDOM | ludde | |
2005-07-15 | (svn r2583) Move OS specific code out of misc.c | ludde | |
Added support for Mersenne Twister random number generator (not implemented in network yet) Wrap player randoms around #ifdef | |||
2005-07-14 | (svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is ↵ | ludde | |
not meant to be used by GUI-code, because it modifies the "game-state". Added a way to bind a C-string to an openttd string which doesn't modify the game state. | |||
2005-06-04 | (svn r2405) Simplify a few '? true : false' and '? false : true', especially ↵ | tron | |
the latter is confusing | |||
2005-05-17 | (svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made ↵ | truelight | |
Darkvater go crazy ;)) | |||
2005-05-02 | (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help ↵ | Darkvater | |
about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'. - Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup" |