rubidium
72a4dc53d9
(svn r21668) -Feature: command logging using the admin interface (dihedral)
14 years ago
rubidium
de7a30cc2e
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
14 years ago
alberth
69762b70b2
(svn r21595) -Codechange: Some header files had their name changed, update the ifndef/define/endif lines.
14 years ago
alberth
0b0127b13d
(svn r21593) -Codechange: endif comment correcttions.
14 years ago
alberth
135c5b3fd7
(svn r21571) -Codechange: Having a break after a return is no good.
14 years ago
rubidium
30e78752a9
(svn r21513) -Feature [FS#532]: make the chat message timeout user configurable
14 years ago
rubidium
2074b4ddce
(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
14 years ago
rubidium
8bcba1000f
(svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and size aren't the same as when they're read. As a check was incorrect.
14 years ago
rubidium
b469b1dc51
(svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands
14 years ago
rubidium
b28c192292
(svn r21420) -Fix: admins were always given the stats of company 0
14 years ago
rubidium
72f86f4660
(svn r21418) -Fix: core.h needs config.h
14 years ago
rubidium
cd7b7ca9d8
(svn r21417) -Fix: ofcourse MSVC x64 has something to complain about
14 years ago
rubidium
dd618051a7
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
14 years ago
rubidium
28da832781
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
14 years ago
rubidium
95934b9f49
(svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed
14 years ago
rubidium
12efdff6c6
(svn r21401) -Fix: ofcourse MSVC x64 has something to complain about...
14 years ago
rubidium
dd4f02aa6f
(svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit
14 years ago
rubidium
9b53982428
(svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds.
14 years ago
rubidium
f929107665
(svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately
14 years ago
rubidium
3f851a4b8b
(svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file
14 years ago
rubidium
c780091c26
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
14 years ago
rubidium
5a40992e84
(svn r21392) -Change: prepare the network protocol for getting the file size later in the download process
14 years ago
rubidium
ee087fb581
(svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client
14 years ago
rubidium
71abb66b46
(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
14 years ago
rubidium
4c76d8eaf6
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
14 years ago
rubidium
c7066d00af
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
rubidium
9f9141c3c1
(svn r21357) -Codechange: make it possible to resize the packet's buffer
14 years ago
rubidium
b2c1f12b44
(svn r21350) -Fix: some indentation
14 years ago
terkhen
64c200a25e
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
rubidium
2a465f152b
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
14 years ago
alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
916048f5e8
(svn r21322) -Fix [FS#4268] (r20924): packets were leaked
14 years ago
smatz
a6be993967
(svn r21319) -Fix: crash when creating file download by the content download system failed
14 years ago
smatz
8f250f7a2d
(svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed
14 years ago
rubidium
e1aeb90ca5
(svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync
14 years ago
smatz
8c98915955
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
14 years ago
smatz
beb66c05ac
(svn r21285) -Codechange: prevent ICC warning
14 years ago
rubidium
e638c7e3b6
(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost
14 years ago
rubidium
d7eafddc18
(svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow
14 years ago
rubidium
59b6c9a85e
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
rubidium
cc5fd40a74
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
14 years ago
rubidium
df8b493d6e
(svn r21182) -Fix: possible just-freed memory reads
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
rubidium
457b9c9c2e
(svn r21071) -Fix: ofcourse the svn properties weren't set properly either :(
14 years ago
rubidium
89ab118d0c
(svn r21070) -Fix: file not being picked up by doxygen
14 years ago
rubidium
0b37e60fe2
(svn r21033) -Codechange: be more strict with the packets a client accepts at a given moment
14 years ago
rubidium
75aa37cf9a
(svn r21032) -Codechange: perform some more strict tests on the server side when receiving some packets and don't send some when the clients aren't ready for them
14 years ago
rubidium
242110b8cb
(svn r21030) -Codechange: move ClientStatus into the network server socket class
14 years ago
rubidium
9012b54fa2
(svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets
14 years ago
rubidium
7b9aa9b72f
(svn r21027) -Change/Fix: under some circumstances the file handle of the downloaded savegame wouldn't be closed, and validity of the handled wasn't checked in all cases
14 years ago
rubidium
7c6b360e01
(svn r21025) -Codechange: document PacketGameType's enums and reshuffle them slightly to make the whole more readable and easier to understand
14 years ago
rubidium
2d32dc29a9
(svn r21024) -Fix: erroneous tab
14 years ago
rubidium
c226ed777d
(svn r21008) -Change: don't make client reconnect waiting time depend on the company; in coop games that does not spread clients at all, and most companies have a low number causing it not to be spread out either. Use the ClientID instead. Based on a patch by dihedral.
14 years ago
rubidium
5f4a1fa39d
(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa
14 years ago
rubidium
abb9835f0a
(svn r21001) -Fix [FS#4170] (r20936): clients were not always notified of a player leaving the game
14 years ago
rubidium
6012a9074c
(svn r20993) -Codechange: some shuffling of game protocol packet description so they're documented in the "same" place as UDP, content and admin packets (dihedral)
14 years ago
rubidium
334856bf7c
(svn r20988) -Fix [FS#4167]: no need to send packets and possibly get the connection closed when the next call also tries to send the packets and then closes the connection. Especially if the former frees a structure that the latter assumes to be still there
14 years ago
rubidium
6730afd2d5
(svn r20978) -Fix (r20963): MSVC seems to be complaining more than GCC once again :)
14 years ago
rubidium
d0c3cb352c
(svn r20975) -Add: logging of console output for remote admins (dihedral)
14 years ago
rubidium
a7c0820d4e
(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)
14 years ago
rubidium
28832b68f5
(svn r20973) -Add: chat sending and receiving support for remote admins (dihedral)
14 years ago
rubidium
de8feb0d01
(svn r20972) -Add: company statistics updates at intervals to remote admins (dihedral)
14 years ago
rubidium
064117be4a
(svn r20971) -Add: company economy updates at intervals to remote admins (dihedral)
14 years ago
rubidium
56a65270fc
(svn r20970) -Add: company change notification to remote admins (dihedral)
14 years ago
rubidium
9f17b8ddee
(svn r20969) -Add: client info change notification to remote admins (dihedral)
14 years ago
rubidium
bff3ad3537
(svn r20968) -Add: date notification of remote admins (dihedral)
14 years ago
rubidium
72c85d1cdb
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
14 years ago
rubidium
7d42a44556
(svn r20966) -Change: enable remote administration sockets (parts by Yexo and dihedral)
14 years ago
rubidium
ef2ffebc88
(svn r20964) -Add: disconnecting remote admins that fail to authenticate
14 years ago
rubidium
78257c2c6a
(svn r20963) -Add: stubs for a remote administration connection
14 years ago
frosch
a7e486360d
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
14 years ago
frosch
cb2b666229
(svn r20951) -Codechange: Add SmallMap::Contains() and use it.
14 years ago
rubidium
cac1a9f33f
(svn r20939) -Fix: some MSVC warnings
14 years ago
rubidium
b6799a23c4
(svn r20938) -Codechange: make the code for listening on a socket (more) reusable
14 years ago
rubidium
a0f7099a7d
(svn r20937) -Codechange: move some variables from client/server to server only
14 years ago
rubidium
332a1bfdea
(svn r20936) -Codechange: make server side packet sending methods class methods
14 years ago
rubidium
66087c5e60
(svn r20935) -Codechange: only let the server side use a pool of connected sockets
14 years ago
rubidium
04ce759165
(svn r20934) -Codechange: move NetworkGetClientName to the server's socket
14 years ago
rubidium
1ae97e4d0e
(svn r20933) -Codechange: move some more client related methods and such to network_client.cpp
14 years ago
rubidium
f9c53fc9bb
(svn r20930) -Codechange: simplify the socket handler allocation
14 years ago
rubidium
6ff39fc5ec
(svn r20929) -Codechange: make NetworkCloseClient a class method
14 years ago
rubidium
8f4638ed0f
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
14 years ago
rubidium
41e6567c0d
(svn r20924) -Codechange: make the game connection packet handling look more like UDP/content packet handling
14 years ago
rubidium
594faf45d9
(svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side
14 years ago
frosch
46acb837eb
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
14 years ago
frosch
41dac2e579
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
14 years ago
yexo
faccfb921d
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
14 years ago
yexo
5192a7c90c
(svn r20692) -Fix [FS#4055]: crash after downloading missing content
14 years ago
alberth
2b4da1d345
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
alberth
0439025e74
(svn r20678) -Codechange: Remove unused NetworkFindClientInfoFromIndex(), NetworkFindClientInfoFromIP().
14 years ago
alberth
e45a8f61cc
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
6d3c747d05
(svn r20553) -Feature: allow rate limiting of incoming commands
14 years ago
rubidium
8f82b2b588
(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)
14 years ago
rubidium
3ed6ca0aed
(svn r20548) -Codechange: rename some variables giving them slightly more meaningful names
14 years ago
rubidium
27e45d96a4
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
14 years ago
rubidium
8a9929d702
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
14 years ago
rubidium
6f81fa7215
(svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n)
14 years ago
alberth
a51d34c048
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
14 years ago
rubidium
71498d6d79
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
14 years ago
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
4817d5dcd6
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
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