Commit Graph

592 Commits

Author SHA1 Message Date
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
rubidium 45e3141444 (svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI 2009-09-13 17:38:07 +00:00
frosch ba97964af8 (svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough. 2009-09-13 16:43:16 +00:00
frosch 0c8c208569 (svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum. 2009-09-13 14:50:52 +00:00
rubidium bd9670ea47 (svn r17467) -Change: show the client id in join messages at the server (patch by dihedral) 2009-09-07 21:28:16 +00:00
rubidium 59ac4f6b21 (svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers 2009-09-02 08:08:30 +00:00
glx 8a367f1ff4 (svn r17350) -Fix (r17336): broken compilation with mingw 2009-09-01 14:20:35 +00:00
rubidium 07d2af338e (svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc) 2009-09-01 10:07:22 +00:00
rubidium 984efae368 (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 2009-08-26 20:26:40 +00:00
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 60a3bc9034 (svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory. 2009-08-21 20:15:17 +00:00
rubidium 865fc40e29 (svn r17245) -Fix [FS#3137] (r17015): you could, via unselect all, also unselect already installed content; it would not uninstall it though 2009-08-21 08:41:54 +00:00
smatz 2d3ddab7ca (svn r17169) -Codechange: apply coding style to some for statements 2009-08-14 17:14:04 +00:00
smatz c5533ae470 (svn r17168) -Codechange: apply coding style to if and while statements 2009-08-14 17:11:59 +00:00
rubidium 9ee2a66c86 (svn r17139) -Change: add the concept of sound sets 2009-08-09 19:50:44 +00:00
rubidium f118932643 (svn r17133) -Codechange: generalise the code that searches for base graphics 2009-08-09 16:54:03 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
rubidium 95c204ebee (svn r17038) -Fix (r17015): don't download the stuff we already have 2009-08-02 13:58:11 +00:00
rubidium ae71df349e (svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking 2009-07-31 23:54:43 +00:00
rubidium 63c29124de (svn r16981) -Fix [FS#3062]: the last manually added server would not be saved 2009-07-29 16:45:51 +00:00