summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-26(svn r14751) -Codechange: put VehicleEnterTile declaration where it should ↵smatz
be and use correct return type
2008-12-26(svn r14750) -Fix [FS#1993]: in an MP game in SP mode no company would go ↵rubidium
bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt.
2008-12-26(svn r14749) -Codechange: replace a few wrapper functions that only called ↵rubidium
delete by a direct delete instead.
2008-12-26(svn r14748) -Codechange: unduplicate window updating when deleting vehicles.rubidium
2008-12-26(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle ↵rubidium
destructor as that was already doing the same for a few vehicle types.
2008-12-26(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) ↵smatz
target invalid industry
2008-12-26(svn r14745) -Codechange: move "depot_list" and "leave_depot_immediately" ↵rubidium
out of the vehicle struct (saving up to 16 bytes per vehicle) as it is only used to tell a calling function entered a depot (for autoreplace).
2008-12-26(svn r14744) -Fix [FS#2474]: don't tell loading a savegame failed in two ↵rubidium
distinct ways.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-26(svn r14742) -Codechange: use SmallMap in two cases to reduce compilation ↵smatz
time and binary size
2008-12-25(svn r14741) -Update: WebTranslator2 update to 2008-12-25 18:48:16translators
arabic_egypt - 144 fixed, 3 changed by khaloofah (147) indonesian - 74 changed by fanioz (74) thai - 104 fixed, 38 changed by chat9780 (142)
2008-12-24(svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites ↵smatz
neither
2008-12-24(svn r14739) -Fix (r13675): when a static GRF was forcibly disabled, wrong ↵smatz
data was released, causing memory leaks and wrong behaviour or crashes
2008-12-24(svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not ↵smatz
GRFConfig::status
2008-12-24(svn r14737) -Fix (r10211): memory leak in Action 0x0F (new town names)smatz
2008-12-24(svn r14736) -Update: WebTranslator2 update to 2008-12-24 15:29:53translators
arabic_egypt - 8 fixed, 37 changed by khaloofah (45) hebrew - 36 fixed by dodibitran (36) indonesian - 39 changed by fanioz (39) latvian - 7 fixed, 27 changed by peerer (34) serbian - 31 fixed by Jenraux (31) urdu - 79 fixed by yasirniazkhan (79)
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24(svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not bytesmatz
2008-12-24(svn r14733) -Fix (r14730): creating new companies didn't always work as ↵rubidium
expected.
2008-12-23(svn r14732) -Codechange: replace some magic number with less magic ↵rubidium
constants and use the proper type for a few variables.
2008-12-23(svn r14731) -Fix: don't initialise UDP multiple times without closing it.rubidium
2008-12-23(svn r14730) -Codechange: remove the need for networkclientsockets and ↵rubidium
networkclientinfo structs to be in a contiguous piece of memory and put them in a pool. -Note: 255 should really be enough for now... making it any more means network protocol bumps.
2008-12-23(svn r14729) -Fix: writing a single char to the config file caused reading ↵rubidium
outside a buffer.
2008-12-23(svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.rubidium
-Fix: don't show clients that are "only" in the lobby.
2008-12-23(svn r14727) -Codechange: replace some magic numbers with a constant.rubidium
2008-12-23(svn r14726) -Fix (r14720): making new companies in network kinda failed...rubidium
2008-12-23(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the ↵rubidium
amount of slots in the array, but one less as a dedicated server takes a slot too.
2008-12-23(svn r14724) -Codechange: move some NetworkClientSocket related ↵rubidium
function/definitions closer together.
2008-12-23(svn r14723) -Codechange: shuffling some stuff around to reduce indirect ↵rubidium
#include dependencies.
2008-12-23(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/rubidium
2008-12-23(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as ↵rubidium
it's (way) more descriptive what it's used for.
2008-12-23(svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the ↵rubidium
latter describes the name more precisely.
2008-12-23(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and ↵rubidium
replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
2008-12-22(svn r14718) -Change: remove some direct network core variable accesses from ↵rubidium
non-network locations.
2008-12-22(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ↵rubidium
ClientIndex
2008-12-22(svn r14716) -Codechange: move more network core querying to the network files.rubidium
2008-12-22(svn r14715) -Codechange: move some network code from the main gui file into ↵rubidium
one of the the network files.
2008-12-22(svn r14714) -Codechange: only allocate the company network "state" ↵rubidium
variables (password/months not used) when needed, i.e. only for servers.
2008-12-22(svn r14713) -Update: WebTranslator2 update to 2008-12-22 18:43:52translators
arabic_egypt - 14 fixed, 144 changed by khaloofah (158) hebrew - 9 fixed, 1 changed by davidx123 (10) hungarian - 17 changed by IPG (17) indonesian - 136 changed by fanioz (119), sireno (17) latvian - 116 fixed, 235 changed by peerer (351) norwegian_nynorsk - 8 fixed by Thor (3), runarlu (2), DavidS (3) urdu - 79 fixed by yasirniazkhan (79)
2008-12-22(svn r14712) -Codechange: split server and client side w.r.t. the storage of ↵rubidium
network related company information.
2008-12-22(svn r14711) -Codechange: don't misuse the _network_company_info password ↵rubidium
field for changing the password on clients.
2008-12-22(svn r14710) -Change: simplify sending company information from the server ↵rubidium
to the client.
2008-12-22(svn r14709) -Codechange: make a clearer distinction between 'unique' client ↵rubidium
identification ids and the indices into the clients/client info arrays.
2008-12-20(svn r14708) -Change: update a few urls and fix some small errors/missing ↵rubidium
things in a few documents.
2008-12-20(svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'.frosch
2008-12-20(svn r14706) -Update: WebTranslator2 update to 2008-12-20 18:37:49translators
finnish - 17 changed by UltimateSephiroth (17) indonesian - 81 changed by fanioz (81) latvian - 137 fixed, 123 changed by peerer (260)
2008-12-20(svn r14705) -Fix [FS#2460]: First transfer the whole load of a vehicle ↵frosch
chain to industries before triggering any processing. This reduces callback usage and resolves critical rounding errors when using input-cargo-multipliers instead of production callbacks.
2008-12-20(svn r14704) -Codechange: Add set capabilities to SmallVector.frosch
2008-12-20(svn r14703) -Fix (r8735): [YAPF] YapfRoadVehDistanceToTile() shall not ↵frosch
abort searching at v->dest_tile, when it in fact tries to reach another tile.
2008-12-20(svn r14702) -Documentation: Add a note about the meaning and validity of ↵frosch
Vehicle::dest_tile.