frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
alberth
2182b44bb6
(svn r20291) -Codechange: Unify break coding style.
14 years ago
terkhen
04134c1e51
(svn r20289) -Codechange: Unify fall through coding style.
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
603c33efc1
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
yexo
6117b0abc7
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
14 years ago
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
frosch
13a46514a7
(svn r20089) -Fix [FS#3932]: Access of already freed memory, esp. due to hidden destructor call from Swap().
14 years ago
rubidium
5003a7e311
(svn r20082) -Fix [FS#3899]: reading deleted memory when selecting a NewGRF in the content download window of which the data has not been acquired from the content server. The crash would occur after the content server's reply was processed and the ContentInfo object was replaced with another.
14 years ago
alberth
c2a871d10b
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
rubidium
858bd09623
(svn r20035) -Fix [FS#3909]: under some circumstances you could get into an infinite loop
14 years ago
michi_cc
a8864b2296
(svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well.
14 years ago
alberth
0dd71a0d7e
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
14 years ago
yexo
df1036f948
(svn r20012) -Fix: when joining a company with a password you could only enter 20 characters of the password
14 years ago
rubidium
52d136ee2c
(svn r19998) -Codechange: Unify the order of ship and plane icon in network-lobby with the rest of the game (frosch)
14 years ago
rubidium
8b8102d30f
(svn r19996) -Codechange: Add NetworkVehicleType enum.
14 years ago
frosch
65d058723e
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
15 years ago
rubidium
7620939583
(svn r19869) -Fix [FS#3819]: when a connection gets lost and a game with AIs was loaded the client might crash due to the AIs not being loaded while the game loop is executed
15 years ago
smatz
09cb5fff3a
(svn r19818) -Fix [FS#3784](r16004): kicking clients by IP didn't work
15 years ago
rubidium
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
eb8ee7ad5e
(svn r19809) -Codechange: make some unnamed network related enums/defines static const variables
15 years ago
rubidium
5732bdcdb9
(svn r19808) -Codechange: NetworkCalculateLag returned an uint, so keep it that way
15 years ago
rubidium
a06b3c0646
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
15 years ago
rubidium
2099d3ffb8
(svn r19777) -Change: use the file scanner to find the .tars
15 years ago
smatz
691261674a
(svn r19714) -Feature: ctrl+click on a vehicle to start/stop it
15 years ago
rubidium
0cfec82674
(svn r19695) -Fix: leaking a file descriptor
15 years ago
smatz
52b5be7434
(svn r19693) -Codechange: split STATUS_INACTIVE to two states
15 years ago
smatz
920d7d98bb
(svn r19686) -Fix (r15126): truncated archives were not detected when using zlib 1.2.3. This also fixes zlib 1.2.4 compatibility, zlib 1.2.5 is bugfree
15 years ago
rubidium
0a703ae70a
(svn r19680) -Fix [FS#3775] (r19648): when joining a MP game all clients with company ID > 0 would be shown as if they were a spectator
15 years ago
rubidium
a83194fad3
(svn r19678) -Fix (r19607): client status was shown incorrect in the console
15 years ago
smatz
abaf6b5b42
(svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients to spectators
15 years ago
rubidium
21cc1b1079
(svn r19648) -Fix [FS#3760]: a client would not be properly moved when moved while joining, e.g. when entering a company's password. This caused the client to be in the wrong company (according to the rest of the clients) and the client being kicked on the first command
15 years ago
rubidium
7c3158f0af
(svn r19629) -Fix [FS#3757]: chat message caused glitch when rejoining a network game
15 years ago
rubidium
34cdcaf8b2
(svn r19620) -Fix: desync when a command is received and in the queue while a client starts joining, i.e. save the game state. This can happen in two ways: with frame_freq > 1 a command received in a previous frame might not be executed yet or when a command is received in the same frame as the join but before the savegame is made. In both cases the joining client would not get all commands to get in-sync with the server (and the other clients).
15 years ago
rubidium
36c1cf6129
(svn r19619) -Fix (r19618): [desync debug] inserting the "join" pause could cause a crash as some command data was not properly initialised
15 years ago
rubidium
cc25fce629
(svn r19617) -Fix [desync debug]: log the sync state only once per day, not multiple times when paused with _date_fract = 0
...
-Change [desync debug]: check the sync state from the command stream and make sure no unknown input is encountered
15 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
smatz
073af4eba2
(svn r19613) -Fix [FS#3755]: possible invalid read when server moves client to spectators before he finishes joining
15 years ago
smatz
e0746e5bd3
(svn r19610) -Codechange: rename STATUS_AUTH to STATUS_AUTHORIZED
15 years ago
smatz
2388149ea3
(svn r19609) -Fix: do not print 'Connection lost' message for clients who failed to enter correct password
15 years ago
smatz
535a3bf847
(svn r19608) -Fix: do not kick client if he entered password and the password was cleared meanwhile
15 years ago
smatz
150ae1c707
(svn r19607) -Codechange: use different packet types instead of packet subtypes
15 years ago
smatz
ac82a8fee0
(svn r19606) -Codechange: remove global variable pw_type
15 years ago
rubidium
ea7aececf8
(svn r19602) -Codechange: add the name of the command to the desync logs
15 years ago
rubidium
ff6ec70007
(svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too
15 years ago
frosch
1d0335a798
(svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path.
15 years ago
glx
b702b1f3fd
(svn r19596) -Fix (r19593): dedicated server always fast forwarding if compiled without DEBUG_DUMP_COMMANDS
15 years ago
rubidium
de155e78e7
(svn r19593) -Codechange: improve loading/executing the desync logs
15 years ago
rubidium
ff5dfd9c7e
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
15 years ago
smatz
2682e34911
(svn r19508) -Codechange: remove semicolon after DEFINE_UNAVAILABLE_CONTENT_RECEIVE_COMMAND and DEFINE_UNAVAILABLE_UDP_RECEIVE_COMMAND
15 years ago
smatz
d2e99657fa
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
15 years ago
alberth
68213d25ab
(svn r19423) -Codechange: Move error message reporting of industry build in SE to a callback.
15 years ago
rubidium
017281bc22
(svn r19385) -Fix [FS#3684]: [IPv6] Netmask calculations were wrong if cidr >= 32.
15 years ago
peter1138
7d9b3ce17a
(svn r19374) -Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help.
15 years ago
yexo
23af928ce9
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
15 years ago
frosch
e175c704a3
(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though.
15 years ago
rubidium
04fbf762fb
(svn r19262) -Feature: finalise BaNaNaS support for music sets
15 years ago
yexo
daf89297fe
(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized
15 years ago
yexo
b21278659c
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
15 years ago
terkhen
6ccd15fd08
(svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop.
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
alberth
e3b24801e2
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
yexo
9a80d81f4c
(svn r19094) -Codechange: don't check for NULL values before calling StrEmpty
15 years ago
rubidium
a7a2568985
(svn r19090) -Codechange: some comment coding style fixes
15 years ago
rubidium
1c468db7d5
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
rubidium
1c494c6f71
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
15 years ago
smatz
c736bbb875
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
15 years ago
rubidium
78f5533141
(svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection
15 years ago
rubidium
5eb860dabe
(svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated
15 years ago
rubidium
00f64a64d9
(svn r19001) -Fix: some GCC compile warnings
15 years ago
rubidium
416a47f9a2
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
15 years ago
rubidium
57996b7cd5
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
15 years ago
rubidium
b795af486d
(svn r18992) -Codechange: move the file opening/closing out of the content download function
15 years ago
rubidium
6a4726020f
(svn r18991) -Codechange: simplify memory management of DownloadSelectedContent
15 years ago
frosch
28bb97ffdf
(svn r18967) -Fix (r18966): Never trust your copy&paste skills.
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
frosch
c45c274daa
(svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical.
15 years ago
rubidium
149af66877
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
15 years ago
rubidium
8676af5618
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
2cbb3dd7d1
(svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD.
15 years ago
rubidium
1e68ee0de8
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
15 years ago
rubidium
119d742015
(svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though.
15 years ago
rubidium
7f1bf45c03
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
15 years ago
rubidium
89443276b1
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
15 years ago
rubidium
0a54cc9335
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
15 years ago
rubidium
3de085a143
(svn r18683) -Fix: it's not an other
15 years ago
smatz
c031c9a731
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
15 years ago
smatz
f6177d9708
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
15 years ago
rubidium
312e0a7580
(svn r18638) -Fix: downloading music sets would fail
15 years ago
rubidium
0946fd974f
(svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it
15 years ago
rubidium
42d7f30dcc
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
7263d3ff34
(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
15 years ago
alberth
2ac35a8cff
(svn r18589) -Codechange: Add tooltip to some network windows, remove old comment.
15 years ago
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
5f1bb2e882
(svn r18578) -Feature: initially select the last joined server when going to the server list
15 years ago
rubidium
2d249b9946
(svn r18493) -Fix: don't access something after deleting it
15 years ago
frosch
a23b215b5a
(svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it.
15 years ago
rubidium
86529556b1
(svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled
15 years ago
frosch
992bc6c345
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
15 years ago
rubidium
da30e736ca
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
rubidium
21f2acfd01
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
15 years ago
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
fedb593293
(svn r18318) -Codechange: add an enum value for manual window placement
15 years ago
rubidium
fe1dcdd635
(svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should
15 years ago
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
7824727828
(svn r18251) -Codechange: make the join status window big font aware
15 years ago
rubidium
a71cc49498
(svn r18249) -Codechange: make the network client list big font aware
15 years ago
rubidium
845de0aac1
(svn r18240) -Change: align the 'select' sprite in the network content GUI based on the font height
15 years ago
alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
alberth
8139a8d96f
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
15 years ago
rubidium
a58582e6d1
(svn r18219) -Fix: the up/down buttons in the start network server window didn't work anymore
15 years ago
rubidium
892d877458
(svn r18218) -Codechange: make a few network windows big font aware
15 years ago
rubidium
c227abd7c3
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
15 years ago
rubidium
f106bbbe5c
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
alberth
75e513d5b5
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
15 years ago
rubidium
8d90052641
(svn r18175) -Codechange: make the network lobby and client list RTL aware
15 years ago
rubidium
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
peter1138
d720ceb2e1
(svn r18146) -Codechange: Improve content download window scaling and offsets for different font size
15 years ago
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
16 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.
16 years ago
rubidium
8f74c85d74
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
16 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.
16 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.
16 years ago
smatz
a2567c84a0
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
16 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)
16 years ago
smatz
f74b597c83
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
16 years ago
rubidium
f163217dbb
(svn r16493) -Fix: missing/wrong @file doxygen 'headers'
16 years ago
alberth
580e478e4e
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
16 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.
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
smatz
3793b966c3
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
16 years ago
smatz
d6e203ebe2
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
7eb14aa49f
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
16 years ago
rubidium
1daa10520c
(svn r16361) -Fix: pointer incremented with wrong count
16 years ago
rubidium
789999ecf3
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
smatz
512db5248e
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
rubidium
f1955333c9
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
cf986c3099
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
043c3c8b06
(svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
16 years ago
smatz
d87206b6f7
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
16 years ago
smatz
ce7dff4acc
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
16 years ago
smatz
e5529d8995
(svn r16265) -Fix (r16238): wrong format string for debug output
16 years ago
alberth
9e99cbf93d
(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length.
16 years ago
frosch
d84faa8209
(svn r16254) -Fix [FS#2886]: Magic constant removed.
16 years ago
rubidium
31b9cd6d03
(svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company
16 years ago
rubidium
241af768f0
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
dd0b93532a
(svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
16 years ago
alberth
4c703618ff
(svn r16237) -Codechange: Add nested widgets to remaining network windows.
16 years ago
alberth
c6be093c89
(svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment.
16 years ago