Commit Graph

674 Commits (6b9ab65e2d796fece73965c683fa4cd349735020)

Author SHA1 Message Date
rubidium a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
peter1138 cfcd6c13f3 (svn r18103) -Codechange: Base content window detail title height on font height. 15 years ago
rubidium bb5a43e609 (svn r18099) -Codechange: scale the edit boxes to the fontsize 15 years ago
rubidium e53f9d1885 (svn r18094) -Codechange: make the network content GUI work better with RTL 15 years ago
rubidium 1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 4fd93aecd2 (svn r18078) -Codechange: remove some duplicate (non translatable) strings 15 years ago
rubidium fbcd97528a (svn r18054) -Change/Fix [FS#3310]: make pause on join pause during the whole joining (including download) phase 15 years ago
rubidium a0840ee58b (svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are. 15 years ago
rubidium 0c20992c5b (svn r18051) -Codechange: make the active clients pause use a separate bit in the pause mode 15 years ago
rubidium d8580eb8b9 (svn r18048) -Change: make no distinction between unpausing because of a client aborting to join or actually joining 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
frosch 4691a2069a (svn r17977) -Fix: Busses and trucks are distinguished by cargo class. 15 years ago
rubidium 318c2fad7c (svn r17963) -Codechange: some documentation style 15 years ago
rubidium 483ff921ae (svn r17958) -Codechange: make the join progress window nested 15 years ago
rubidium 95bcee3fde (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 15 years ago
rubidium 3013be391e (svn r17954) -Codechange: make the network client list nested 15 years ago
rubidium 55a9b89233 (svn r17952) -Codechange: make the network client list popup nested 15 years ago
rubidium 8611df32f2 (svn r17951) -Codechange: simplify making the popup list, remove arbirary limitations and unused code/strings. 15 years ago
rubidium 719b995358 (svn r17948) -Codechange: remove some magic numbers from the network client list GUIs / use ResizeWindow instead of custom resize code. 15 years ago
rubidium c4c56ea04d (svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used 15 years ago
rubidium 4cb1409391 (svn r17946) -Codechange: move the widget definition of the client list closer to the window 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium bca2397f5a (svn r17905) -Codechange: make the network server list window nested (and increase the default size slightly) 15 years ago
rubidium a592d22c5c (svn r17887) -Codechange: remove some (now) unneeded {SKIP}s 15 years ago
rubidium 4b83775e6f (svn r17886) -Codechange: make the 'start server' window nested 15 years ago
rubidium 8a703a8a80 (svn r17885) -Codechange: make the network lobby window nested 15 years ago
rubidium 4376af5b04 (svn r17884) -Codechange: remove (most) magic numbers from drawing the details of the network lobby and split detail drawing to its own function 15 years ago
rubidium 2894071583 (svn r17882) -Codechange: make the code to draw the details in the server list a seperate function and remove some magic numbers 15 years ago
rubidium e0c72d2c98 (svn r17877) -Fix (r1322/r1174/r464): do not hardcode 'Ban' for GUI purposes, i.e. make it translatable 15 years ago
rubidium 1a4fb59437 (svn r17876) -Codechange: make the network company password window nested 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium 5fb9f8cb24 (svn r17846) -Codechange: make the network content window nested 15 years ago
rubidium ac055da444 (svn r17843) -Codechange: move the details drawing code of the content window to a separate function 15 years ago
rubidium 6eba9654a2 (svn r17841) -Codechange: move state changes from OnPaint to OnInvalidate for the content gui. 15 years ago
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium aec99b1790 (svn r17772) -Fix [FS#3264]: CJK languages don't have spaces, so for adding newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string. 15 years ago
smatz c2c23ec661 (svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless 15 years ago
rubidium 7312bdb362 (svn r17743) -Fix: (post 0.7) memory leak in server in case handling a packet caused the connection to be closed. Also force-close the connection on invalid packets. 15 years ago
rubidium 65f97fb38c (svn r17742) -Codechange: remove unused variable from Recv_Packet 15 years ago
rubidium 65d4612d2a (svn r17741) -Feature-ish [FS#3116]: show the nickname of the person you're PMing 15 years ago
rubidium 3a9a88782b (svn r17737) -Codechange: remove the chat window when you were chatting with someone who lost his/her connection or when you were team chatting and moved out of the company. 15 years ago
smatz fa937901cb (svn r17701) -Codechange: don't start line with a space if it's not inside comment 15 years ago
rubidium 67a11a5776 (svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 7c74afb1c3 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium dd01e6196a (svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers. 15 years ago
rubidium 0855ae61de (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 15 years ago
rubidium ae115cda83 (svn r17667) -Fix [FS#3245]: autopause tried to (un)pause the server every tick when the pause command only gets processed once every frame_freq ticks. So it would spam the console with duplicate attempts. 15 years ago
rubidium e1e9b68b54 (svn r17635) -Codechange: make the chat gui nested 15 years ago
rubidium 99235a0d30 (svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset 15 years ago
rubidium d1032d69c8 (svn r17617) -Codechange: make the server side packet handling be more like the client side's handling, i.e. return the connection status
-Fix: do not do invalid reads when a packet handling function closed a connection
15 years ago
rubidium d579a9366a (svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet) 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
alberth 4ff755ac90 (svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array. 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium d9519fdf64 (svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data 15 years ago
frosch c192bbe800 (svn r17539) -Codechange: Replace a magic number. 15 years ago
frosch 804b40b48c (svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage. 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium fd04d4ed00 (svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI 15 years ago
frosch b3fd812eee (svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough. 15 years ago
frosch 3511a6a7c4 (svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum. 15 years ago
rubidium 0153e7a211 (svn r17467) -Change: show the client id in join messages at the server (patch by dihedral) 15 years ago
rubidium 6d72ae033a (svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers 15 years ago
glx cf2d2cb4b6 (svn r17350) -Fix (r17336): broken compilation with mingw 15 years ago
rubidium 533e3da493 (svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc) 15 years ago
rubidium 3af095aa19 (svn r17291) -Fix [FS#3147]: crash after upgrading base graphics/sound set when opening the game options menu and you were using the upgraded set 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium be9033295e (svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory. 15 years ago
rubidium 79844fd27f (svn r17245) -Fix [FS#3137] (r17015): you could, via unselect all, also unselect already installed content; it would not uninstall it though 15 years ago
smatz b8bd45ba4f (svn r17169) -Codechange: apply coding style to some for statements 15 years ago
smatz d64bdb138c (svn r17168) -Codechange: apply coding style to if and while statements 15 years ago
rubidium 93493827b6 (svn r17139) -Change: add the concept of sound sets 15 years ago
rubidium cdb969e164 (svn r17133) -Codechange: generalise the code that searches for base graphics 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
rubidium 5b315dacf2 (svn r17038) -Fix (r17015): don't download the stuff we already have 15 years ago
rubidium ede3aee313 (svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking 15 years ago
rubidium 871f3ec803 (svn r16981) -Fix [FS#3062]: the last manually added server would not be saved 15 years ago
rubidium 4874578e79 (svn r16930) -Codechange: more StringID name unification and grouping 15 years ago
rubidium 39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
rubidium 98b6faa2f6 (svn r16846) -Codechange: make the content download status window only use nested widgets 15 years ago
alberth fe9f5cbc46 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 15 years ago
rubidium 34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 15 years ago
rubidium 677b2d07bd (svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window. 15 years ago
smatz 54cbd17bd8 (svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany() 15 years ago
rubidium 71c7064ad6 (svn r16601) -Fix [FS#2880]: try 2... hopefully better this time 15 years ago
rubidium c011ea92f2 (svn r16594) -Fix [FS#2969]: mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible. 15 years ago
rubidium 8f74c85d74 (svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'. 15 years ago
rubidium f1840d084b (svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs. 15 years ago
rubidium 8b8920533b (svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file. 15 years ago
smatz a2567c84a0 (svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible 15 years ago
smatz 7d4d3850cb (svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker) 15 years ago
smatz f74b597c83 (svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit 15 years ago
rubidium f163217dbb (svn r16493) -Fix: missing/wrong @file doxygen 'headers' 15 years ago
alberth 580e478e4e (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 15 years ago
rubidium 78c726d2b1 (svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code. 15 years ago