truebrain
5cda1d7c90
(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)
2011-12-19 20:50:44 +00:00
truebrain
561b25d031
(svn r23601) -Fix: fix the conflict in window number
2011-12-19 20:50:21 +00:00
rubidium
df16ebd730
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
2011-12-19 17:48:04 +00:00
rubidium
fefe22b4aa
(svn r23590) -Codechange: make the string validation settings better expandable
2011-12-18 18:37:54 +00:00
frosch
4e4a87bd3c
(svn r23579) -Fix (r23525): Most up/down arrows stopped working.
2011-12-17 20:52:07 +00:00
truebrain
e2d8abeec5
(svn r23544) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 18:02:27 +00:00
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
2011-12-15 22:22:55 +00:00
truebrain
df0afdf0dc
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
2011-12-15 19:54:23 +00:00
yexo
7a7d9a7b6b
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
2011-12-11 12:55:04 +00:00
yexo
e0e5e51e2a
(svn r23492) -Feature: add 'view website' button to the online content window
2011-12-11 11:57:52 +00:00
rubidium
2bf0fc3c5c
(svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors
2011-12-10 15:16:58 +00:00
rubidium
420d358fef
(svn r23475) -Codechange: queue critical error messages, so when multiple happen you won't miss any
2011-12-10 15:14:11 +00:00
rubidium
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
rubidium
b231e80125
(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files
2011-12-10 08:31:14 +00:00
yexo
1db365d0e2
(svn r23469) -Fix (r23468): gcc warning about initialization order
2011-12-10 01:49:50 +00:00
yexo
e2a9dd1b0a
(svn r23468) -Feature [FS#4827]: when looking for missing content, automatically select it so you can easily start the download
2011-12-10 00:01:28 +00:00
yexo
e31ed7db25
(svn r23467) -Feature [FS#4827]: automatically close the online content window after confirming the download with 'ok'
2011-12-09 22:44:06 +00:00
yexo
dcba6c25ea
(svn r23465) -Feature [FS#4827]: add 'find missing content online' button to 'load savegame' and 'find network game' windows
2011-12-09 21:49:52 +00:00
truebrain
cc12942d70
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
2011-12-01 12:03:34 +00:00
truebrain
e37149a1de
(svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo and AIScannerLibrary
2011-11-29 23:21:52 +00:00
rubidium
104adbdb3a
(svn r23337) -Fix [FS#4826]: don't send chat messages to clients that haven't joined yet
2011-11-26 17:28:18 +00:00
rubidium
0759649478
(svn r23285) -Fix: scanning of content after download didn't work
2011-11-20 18:36:54 +00:00
rubidium
cc85ef493a
(svn r23240) -Codechange: rework the code of the download status window
2011-11-17 21:06:41 +00:00
rubidium
a3a2fdcfc2
(svn r23234) -Fix [FS#4840]: crash when after downloading content
2011-11-16 16:54:37 +00:00
rubidium
4ae8bbea07
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
2011-11-14 21:40:39 +00:00
rubidium
2b897b4fa0
(svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset
2011-11-14 21:34:27 +00:00
rubidium
6d991b3b10
(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories
2011-11-14 21:30:37 +00:00
rubidium
160294ff22
(svn r23216) -Codechange: introduce the concept of having different tar lists
2011-11-14 21:28:43 +00:00
rubidium
aa668ba6bd
(svn r23202) -Fix [FS#4829]: unstable sorting in the network list when two servers had the exact same name
2011-11-12 19:26:53 +00:00
rubidium
7fd1e1df81
(svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free
2011-11-12 13:00:29 +00:00
rubidium
bd64bf6372
(svn r23193) -Codechange: don't cast away const unneededly
2011-11-12 08:10:22 +00:00
rubidium
82077965fc
(svn r23179) -Codechange: use some tooltips that already existed (monoid)
2011-11-10 17:55:52 +00:00
rubidium
c8857d4679
(svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral)
2011-11-04 22:32:21 +00:00
truebrain
a4809b0b98
(svn r23047) -Documentation: silly typo in comment
2011-10-21 14:53:21 +00:00
rubidium
de27205e6c
(svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction between bankruptcy and manual removal of companies even though the API suggested that
2011-10-15 20:42:32 +00:00
peter1138
50d1541270
(svn r23017) -Codechange: Add support for resized scrollbars.
2011-10-11 08:07:47 +00:00
planetmaker
74f6813a55
(svn r23011) -Fix [FS#4791]: When the last used server is deleted from the list also clear the last used server if it is the same (monoid)
2011-10-07 08:17:47 +00:00
rubidium
998bbde49e
(svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin port when a new game is started
2011-09-15 18:28:39 +00:00
yexo
ad232bd497
(svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid)
2011-09-15 13:26:27 +00:00
rubidium
4836a6e50e
(svn r22845) -Fix [FS#4745]: perform stricter checks on some commands (monoid)
2011-08-26 16:39:02 +00:00
rubidium
f5dd74499b
(svn r22829) -Codechange: unify the dirtying of windows after an AI scan
2011-08-24 16:38:09 +00:00
rubidium
0061b5f184
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
2011-08-24 13:33:49 +00:00
rubidium
f6b0561cd8
(svn r22805) -Codechange: move use of magic number for version checking to more logical location
2011-08-21 18:57:45 +00:00
rubidium
6d51883a87
(svn r22793) -Codechange: remove callback default to make clear they are not forgotten
2011-08-21 12:51:18 +00:00
rubidium
327c5dd10c
(svn r22771) -Codechange: unify some NewGRFScan calling code
2011-08-20 17:46:03 +00:00
frosch
6bb33acc0d
(svn r22738) -Fix [FS#4722] (r21854): Setting company passwords via the GUI on servers (including starting a company with the default password) failed, so no client could join.
2011-08-13 08:32:55 +00:00
rubidium
36e887591b
(svn r22696) -Fix: don't requery the servers when the server list window isn't opened
2011-07-30 10:44:58 +00:00
rubidium
289133be14
(svn r22695) -Fix [FS#4697]: mark addresses that could not be resolved as 'do not resolve anymore' as well, instead of trying to resolve them each and every time the address is accessed
2011-07-30 10:28:52 +00:00
frosch
1688470eb9
(svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
2011-07-02 12:49:44 +00:00
rubidium
e95840b6a8
(svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocol
2011-06-04 13:38:54 +00:00
michi_cc
3536f4086a
(svn r22431) -Fix (r22399): NETWORK_RECV_STATUS_MALFORMED_PACKET != false.
2011-05-06 22:17:34 +00:00
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
2011-05-06 21:13:29 +00:00
rubidium
c4aa943aaa
(svn r22424) -Document: some more bits
2011-05-05 16:24:48 +00:00
rubidium
944a5cb7aa
(svn r22423) -Document: some network stuff
2011-05-04 20:24:23 +00:00
frosch
22286bd7b6
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
2011-05-04 17:45:16 +00:00
rubidium
4d5dbf5170
(svn r22410) -Document: some more bits ;)
2011-05-02 16:14:23 +00:00
rubidium
99ec3a044a
(svn r22403) -Document: some more network/core code
2011-05-01 13:29:40 +00:00
rubidium
536c581923
(svn r22401) -Codechange: replace some defines in the udp code so doxygen can create better documentation
2011-05-01 12:18:34 +00:00
rubidium
2e572b98de
(svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation
2011-05-01 11:30:03 +00:00
rubidium
d4737e0724
(svn r22399) -Codechange: replace some defines in the tcp/content code so doxygen can create better documentation
2011-05-01 11:13:11 +00:00
rubidium
b2efd73773
(svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation
2011-05-01 11:01:57 +00:00
rubidium
c2ac411e69
(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
2011-04-30 17:41:14 +00:00
rubidium
1c1e9f6941
(svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots
2011-04-30 12:09:26 +00:00
rubidium
380d4b277b
(svn r22372) -Fix (r22364) [FS#4598]: segmentation fault when trying to get the server's IP
2011-04-22 19:53:28 +00:00
rubidium
ce91f6b45e
(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
2011-04-22 16:07:47 +00:00
rubidium
cdfc0ec4a3
(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
2011-04-22 16:05:05 +00:00
rubidium
2cae0cd54c
(svn r22368) -Codechange: move the IP address field from the ClientInfo to ClientSocket
2011-04-22 16:03:48 +00:00
rubidium
146d532d51
(svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots"
2011-04-22 16:03:13 +00:00
rubidium
c61abe0019
(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
2011-04-22 16:02:21 +00:00
rubidium
caf02450fb
(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
2011-04-22 15:59:32 +00:00
rubidium
1c419d99bc
(svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients
2011-04-22 15:57:05 +00:00
rubidium
f1d0c1a746
(svn r22363) -Codechange: NetworkFindClientStateFromClientID -> NetworkClientSocket::GetByClientID
2011-04-22 15:54:42 +00:00
rubidium
bc9a803ea9
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
2011-04-22 15:54:16 +00:00
rubidium
393fb8e46b
(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)
2011-04-22 15:53:40 +00:00
rubidium
2802c742a4
(svn r22360) -Codechange: use globally unique client id to mark the selected client instead of the position in the client list
2011-04-22 15:52:50 +00:00
rubidium
2f9b6156ee
(svn r22359) -Codechange: pass client info pointers instead of the position to the client popup list's callbacks
2011-04-22 15:51:52 +00:00
rubidium
835ae31f45
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
2011-04-22 15:50:13 +00:00
smatz
e2d5ce1b0e
(svn r22357) -Fix (r22345): crash when opening the chat box or company password input box
2011-04-22 15:03:08 +00:00
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
2011-04-17 18:42:17 +00:00
smatz
b1286bbcda
(svn r22335) -Cleanup (r22308): remove superfluous tabs
2011-04-17 13:36:51 +00:00
rubidium
d1a50a01b4
(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
2011-04-09 21:52:38 +00:00
frosch
141f2eba50
(svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope.
2011-03-13 21:34:49 +00:00
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
2011-03-13 21:34:21 +00:00
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
2011-03-13 21:31:29 +00:00
rubidium
db6121f361
(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
2011-03-06 10:11:59 +00:00
yexo
93533b603a
(svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available
2011-03-03 18:47:46 +00:00
terkhen
6e641777b1
(svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium)
2011-02-27 11:38:28 +00:00
alberth
1dbc0a20be
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
2011-02-25 21:53:43 +00:00
frosch
77fa68c1da
(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.
2011-02-20 21:00:24 +00:00
rubidium
d594a219c6
(svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started
2011-02-20 20:55:21 +00:00
smatz
756cc6cf65
(svn r22116) -Codechange: use PoolBase::Clean() at more places
2011-02-19 23:05:47 +00:00
rubidium
1a5087be69
(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
2011-02-17 21:05:44 +00:00
rubidium
848761e3a9
(svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value
2011-02-17 18:45:44 +00:00
smatz
a5b9858a36
(svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway
2011-02-15 13:15:12 +00:00
smatz
d2d6b263b3
(svn r22085) -Fix: assert when connecting to the admin port
2011-02-15 12:11:28 +00:00
rubidium
befa79ba4a
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
2011-02-12 21:30:57 +00:00
rubidium
a19bc28aba
(svn r22069) -Fix: delete all savegame packets, not just the first one
2011-02-12 21:29:35 +00:00
rubidium
adfd648031
(svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection
2011-02-12 21:09:34 +00:00
rubidium
92d0d6d10b
(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
2011-02-12 21:07:30 +00:00
rubidium
d8cada7563
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
2011-02-11 23:20:35 +00:00