frosch
1322d59aaa
(svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
13 years ago
rubidium
82251f0e4c
(svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocol
14 years ago
michi_cc
be59f1e7ff
(svn r22431) -Fix (r22399): NETWORK_RECV_STATUS_MALFORMED_PACKET != false.
14 years ago
frosch
7b251297c9
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
14 years ago
rubidium
61a3963361
(svn r22424) -Document: some more bits
14 years ago
rubidium
1ef751e855
(svn r22423) -Document: some network stuff
14 years ago
frosch
7cc3d3e143
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
14 years ago
rubidium
eb2197f4c8
(svn r22410) -Document: some more bits ;)
14 years ago
rubidium
ee93be2e3f
(svn r22403) -Document: some more network/core code
14 years ago
rubidium
8a58e2cd16
(svn r22401) -Codechange: replace some defines in the udp code so doxygen can create better documentation
14 years ago
rubidium
8e39557a2e
(svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation
14 years ago
rubidium
0e2f541c80
(svn r22399) -Codechange: replace some defines in the tcp/content code so doxygen can create better documentation
14 years ago
rubidium
e2c050d256
(svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation
14 years ago
rubidium
1615b81d64
(svn r22387) -Fix-ish [FS#4601]: Windows' recv seems to return "graceful closed" before having passed the remaining buffer which causes OpenTTD to think all connections are "incorrectly" terminated, i.e. without the "I'm leaving" packet from the client. So let the client wait a tiny bit after sending the "I'm leaving" packet and before gracefully closing the connection
14 years ago
rubidium
4957d6beb1
(svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots
14 years ago
rubidium
889fbcb84d
(svn r22372) -Fix (r22364) [FS#4598]: segmentation fault when trying to get the server's IP
14 years ago
rubidium
347ec4d713
(svn r22370) -Codechange/fix: keep better accounting of the order in which clients joined:
...
* Clients can't be starved from joining the game
* Clients will see the amount of clients actually waiting in front of them, instead of the amount of waiting clients in total
14 years ago
rubidium
586cd7d45e
(svn r22369) -Codechange: allocate ClientInfo when needed, i.e. don't allocate it for clients that are there to just get a list of companies. This means that these short lived clients won't be seen by the admin network in their client queries anymore
14 years ago
rubidium
8430fadcbb
(svn r22368) -Codechange: move the IP address field from the ClientInfo to ClientSocket
14 years ago
rubidium
9ce29f918d
(svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots"
14 years ago
rubidium
7e151c1d51
(svn r22366) -Codechange: make GetClientIP a function of the server's ClientSocket, after all the Socket is the bit that's associated with the network
14 years ago
rubidium
c4af57ad3b
(svn r22365) -Codechange: add overload of NetworkServerKickOrBanIP using the ClientID, which later resolves the IP address to ban. This to consolidate the knowledge about resolving IP addresses
14 years ago
rubidium
074644a3f0
(svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients
14 years ago
rubidium
9328b8b63d
(svn r22363) -Codechange: NetworkFindClientStateFromClientID -> NetworkClientSocket::GetByClientID
14 years ago
rubidium
0a7dcc9781
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
14 years ago
rubidium
c90e28d184
(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)
14 years ago
rubidium
9b2b82ecd9
(svn r22360) -Codechange: use globally unique client id to mark the selected client instead of the position in the client list
14 years ago
rubidium
1f873ff0f1
(svn r22359) -Codechange: pass client info pointers instead of the position to the client popup list's callbacks
14 years ago
rubidium
9a466d0e04
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
14 years ago
smatz
a932afb7f1
(svn r22357) -Fix (r22345): crash when opening the chat box or company password input box
14 years ago
terkhen
a88fe7c2aa
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
smatz
f695324fe3
(svn r22335) -Cleanup (r22308): remove superfluous tabs
14 years ago
rubidium
960380639f
(svn r22308) -Fix [FS#4574]: waiting on a server could kick the client, or rather the client would kick itself due to an unexpected packet
14 years ago
frosch
2a4c4ab528
(svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope.
14 years ago
frosch
db3a8d1abf
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
14 years ago
frosch
4b4a40a72e
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
rubidium
87898b5395
(svn r22208) -Fix [FS#4543]: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice
14 years ago
yexo
d1d3084a82
(svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available
14 years ago
terkhen
1383a6ded7
(svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium)
14 years ago
alberth
a14f4eb271
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
14 years ago
frosch
c5fd92a37b
(svn r22123) -Fix [FS#4522]: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item.
14 years ago
rubidium
81643f49e1
(svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started
14 years ago
smatz
c85e1c3089
(svn r22116) -Codechange: use PoolBase::Clean() at more places
14 years ago
rubidium
60b5ffdd62
(svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling
14 years ago
rubidium
2d36797b85
(svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value
14 years ago
smatz
03c1b0df4b
(svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway
14 years ago
smatz
e9d0998b85
(svn r22085) -Fix: assert when connecting to the admin port
14 years ago
rubidium
1516299bca
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
14 years ago
rubidium
65b17b32ef
(svn r22069) -Fix: delete all savegame packets, not just the first one
14 years ago
rubidium
c70499b4b6
(svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection
14 years ago
rubidium
6248138e67
(svn r22067) -Fix: don't hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again
14 years ago
rubidium
e92f2d6b9a
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
14 years ago
rubidium
ac28a10197
(svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected
14 years ago
terkhen
c4104567a1
(svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar.
14 years ago
terkhen
2551d6997b
(svn r22038) -Fix (r21406): Tab completion in chat did not cycle through all possible options.
14 years ago
rubidium
6e898d4bba
(svn r22032) -Codechange: add some asserts to verify we don't allocate too many NetworkClientSockets/Infos
14 years ago
rubidium
1708df0d4b
(svn r22031) -Fix: bad servers could crash a client
14 years ago
rubidium
d50b10dffc
(svn r22030) -Cleanup: dead code in NetworkGameWindow::OnInvalidateData (adf88)
14 years ago
rubidium
6ec5580180
(svn r22029) -Fix [FS#4482]: the server list got not resorted/redrawn after NewGRFs were downloaded
14 years ago
rubidium
a663fb0ce6
(svn r21918) -Fix [FS#4443]: Languages improperly sorted in the "start server" window (adf88)
14 years ago
rubidium
67b48537a5
(svn r21898) -Fix [FS#4438]: using a pointer-iterator and adding things (thus reallocating) to the iterated array caused OpenTTD to crash on invalid pointers
14 years ago
rubidium
25735450b1
(svn r21892) -Fix [FS#4421]: only some scenarios from the main scenario folder and no heightmaps could be started in the "start server" window
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
14e878f476
(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
14 years ago
rubidium
43c8073551
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
14 years ago
smatz
f2006f36a1
(svn r21875) -Codechange: indentation of some comments was wrong
14 years ago
rubidium
f1e42dc23b
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
a5108a1fa2
(svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral)
14 years ago
rubidium
ebc3fa3b93
(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)
14 years ago
rubidium
01b7b94052
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
14 years ago
rubidium
29ecb58682
(svn r21850) -Codechange: move password hashing to a more general location (dihedral)
14 years ago
planetmaker
072824b759
(svn r21741) -Fix (r21668): Some white space slipped past the commit hook
14 years ago
rubidium
c060890062
(svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral)
14 years ago
smatz
a57d2243de
(svn r21704) -Fix [FS#4374]: no need to perform any more checks after the connection is closed (Rubidium)
14 years ago
rubidium
692e61d1dc
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
14 years ago
smatz
b84a618575
(svn r21693) -Codechange: no need to cast char[] to const uint8*
14 years ago
smatz
03ad8ae5ea
(svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static
14 years ago
smatz
1a59b8d35a
(svn r21691) -Codechange: make sure GenerateCompanyPasswordHash() behaves deterministically when/if the value of NETWORK_SERVER_ID_LENGTH is changed
14 years ago
smatz
fee10eeb18
(svn r21687) -Fix: verify the colour code we received from the server is valid
14 years ago
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