Commit Graph

613 Commits

Author SHA1 Message Date
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
rubidium c2221885f4 (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 2009-11-09 09:59:35 +00:00
frosch b012a75c47 (svn r17977) -Fix: Busses and trucks are distinguished by cargo class. 2009-11-05 20:26:13 +00:00
rubidium d79439fb3c (svn r17963) -Codechange: some documentation style 2009-11-03 17:30:08 +00:00
rubidium 9976da168e (svn r17958) -Codechange: make the join progress window nested 2009-11-02 19:42:09 +00:00
rubidium 56611d13db (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 2009-11-02 16:07:09 +00:00
rubidium 8382b41420 (svn r17954) -Codechange: make the network client list nested 2009-11-02 16:03:17 +00:00
rubidium 27218dff08 (svn r17952) -Codechange: make the network client list popup nested 2009-11-02 15:37:54 +00:00
rubidium b1f906e819 (svn r17951) -Codechange: simplify making the popup list, remove arbirary limitations and unused code/strings. 2009-11-02 15:27:05 +00:00
rubidium 44013ba889 (svn r17948) -Codechange: remove some magic numbers from the network client list GUIs / use ResizeWindow instead of custom resize code. 2009-11-02 10:52:57 +00:00
rubidium 4a970202a9 (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 2009-11-02 10:15:48 +00:00
rubidium 148d9b8e38 (svn r17946) -Codechange: move the widget definition of the client list closer to the window 2009-11-02 09:58:08 +00:00
alberth 44aacfc59f (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium 8cb8f81662 (svn r17905) -Codechange: make the network server list window nested (and increase the default size slightly) 2009-10-30 20:42:42 +00:00
rubidium 4fd74e2f94 (svn r17887) -Codechange: remove some (now) unneeded {SKIP}s 2009-10-27 14:46:59 +00:00
rubidium 7b46503dfc (svn r17886) -Codechange: make the 'start server' window nested 2009-10-27 14:39:37 +00:00
rubidium 62f42f2131 (svn r17885) -Codechange: make the network lobby window nested 2009-10-27 12:43:08 +00:00
rubidium fc741b3334 (svn r17884) -Codechange: remove (most) magic numbers from drawing the details of the network lobby and split detail drawing to its own function 2009-10-27 12:03:12 +00:00
rubidium e61008b599 (svn r17882) -Codechange: make the code to draw the details in the server list a seperate function and remove some magic numbers 2009-10-26 22:10:09 +00:00
rubidium 22db089c0d (svn r17877) -Fix (r1322/r1174/r464): do not hardcode 'Ban' for GUI purposes, i.e. make it translatable 2009-10-26 12:43:27 +00:00
rubidium fac3655a4c (svn r17876) -Codechange: make the network company password window nested 2009-10-26 12:24:14 +00:00
rubidium ca0521f89f (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. 2009-10-24 14:53:55 +00:00
rubidium ecd5c2901d (svn r17846) -Codechange: make the network content window nested 2009-10-22 16:45:29 +00:00
rubidium 310be2e5be (svn r17843) -Codechange: move the details drawing code of the content window to a separate function 2009-10-22 14:26:18 +00:00
rubidium c90885a17e (svn r17841) -Codechange: move state changes from OnPaint to OnInvalidate for the content gui. 2009-10-22 13:57:39 +00:00
rubidium d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium 3bb1f4217d (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. 2009-10-13 20:19:34 +00:00
smatz eb72a0095f (svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless 2009-10-09 11:03:00 +00:00
rubidium 59ec3dc267 (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. 2009-10-07 21:11:56 +00:00
rubidium df75db67eb (svn r17742) -Codechange: remove unused variable from Recv_Packet 2009-10-07 20:58:14 +00:00
rubidium 8c37da1be6 (svn r17741) -Feature-ish [FS#3116]: show the nickname of the person you're PMing 2009-10-07 19:35:05 +00:00
rubidium 58a36f038b (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. 2009-10-07 17:36:33 +00:00
smatz 6c7f8fc8b4 (svn r17701) -Codechange: don't start line with a space if it's not inside comment 2009-10-04 20:51:50 +00:00
rubidium 5ff6053326 (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 2009-10-04 20:00:56 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
smatz 32cbe57178 (svn r17692) -Codechange: minor coding style fixes 2009-10-04 17:10:57 +00:00
rubidium afed4330da (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. 2009-10-03 14:48:12 +00:00
rubidium c847f5c04e (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 2009-09-30 21:07:54 +00:00
rubidium 124e543b1d (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. 2009-09-30 13:32:39 +00:00
rubidium 3f600bba24 (svn r17635) -Codechange: make the chat gui nested 2009-09-25 18:15:41 +00:00
rubidium b3c5c8cadb (svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset 2009-09-22 21:14:31 +00:00
rubidium 7d24e84a81 (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
2009-09-22 20:44:14 +00:00
rubidium 01ab1c6001 (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) 2009-09-21 18:36:33 +00:00
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
alberth ceab116065 (svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array. 2009-09-19 11:55:44 +00:00
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
rubidium 55c0109ee0 (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 2009-09-17 21:14:16 +00:00
frosch bc8557d5c0 (svn r17539) -Codechange: Replace a magic number. 2009-09-14 20:24:17 +00:00
frosch 2773865cd6 (svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage. 2009-09-14 20:15:29 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00