summaryrefslogtreecommitdiff
path: root/economy.c
AgeCommit message (Collapse)Author
2005-01-03(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) ↵tron
instead of TILES_[XY]
2004-12-30(svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES tootruelight
2004-12-28(svn r1291) -Codechange: prepared subsidies and towns to become an uint16 ↵truelight
(happens after savegame bump)
2004-12-28(svn r1287) -Fix: reversed 1285, because it is not the solution. This also ↵truelight
means that getting a lot of money with shares is back... :(
2004-12-28(svn r1285) -Fix: your loan is now substracted from your company valuetruelight
2004-12-23(svn r1247) -Fix: [ 1090313 ] Shares are now also sold when a company goes ↵truelight
bankrupt
2004-12-22(svn r1233) Fixed several currency issues. Now currencies should work ↵dominik
correctly again.
2004-12-22(svn r1222) Currency cleanup. Changed some currency symbols according to ↵dominik
forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
2004-12-19(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const' truelight
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
2004-12-16(svn r1128) -Fix: [Network] Going bankrupt of human-players was corrupted in ↵truelight
networkgames
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-12-14(svn r1086) -Fix: [Network] [ 1084774 ] Fixed quick-share-sell bugtruelight
2004-12-13(svn r1061) -Fix: [Network] Compiling without ENABLE_NETWORK now works again ↵truelight
correctly
2004-12-12(svn r1023) -Fix: [Network] [ 1083692 ] You can no longer buy out a company ↵truelight
in MP because of the lag between commands (anyway, I hope)
2004-12-05(svn r955) Replace uint16 for orders with struct Ordertron
This adds no functionality, but is a stepping stone for future improvement (like 16bit order indices) and is easier to read. This changes preserves binary compatibility wrt savegames.
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-04(svn r925) Use sound enumstron
Also play the correct sound when a toyland road vehicle breaks down
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-29(svn r853) -Feature: Implement improved vehicle loading algorithmtron
It's not FIFO loading, but does the right thing in the common case: If a vehicle is empty and another vehicle is already loading the same cargo at this station then the vehicle waits. This is an reworked version of [ 1072211 ] submitted by Hackykid, thanks!
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-24(svn r792) Small cleanup: Kill a gototron
2004-11-17(svn r654) Hopefully complete support for randomized variational ↵tron
spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky)
2004-11-05(svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunktron
This includes 2 fixes -Fix: [1048596] Monorail and Maglev sounds are swapped (r511) -Add special case to load the jackhammer sound (r478) The rest are cleanups und enumeration to make merging possible/easier
2004-09-15(svn r266) -Fix: hopefully fixed the desync problem nicely (and reverted the truelight
workaround for it)
2004-09-13(svn r241) -Fix: Trailing spaces :Odarkvater
2004-09-13(svn r240) -Fix: desync on subsidy generationsignde
-Fix: sometimes commands got executed to early on some clients -Feature: universal event packets for transmitting subsidys
2004-09-13(svn r237) -Fix: [1025836] Company value problem (again). Now company value ↵darkvater
rightly shows the value, including ALL your money. -Fix: Graphs now accomodate 64bit numbers (so the company value graph doesn't plummet into -... if value is too big) -Strgen: added CURRCOMPACT64 for this, and 64bit versions of several macros.
2004-09-11(svn r207) -Codechange: randomizer handlingsignde
-Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
2004-09-11(svn r201) -Fix: [1025836] Company values bigger dan int32 were put to negativetruelight
-Fix: [1025836] Long bridges had negative value -Fix: Typo in endian_check.c (Zr40)
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-01(svn r148) -Feature: Company HQ can now be moved somewhere else (cost 1% of ↵darkvater
company value). Water floods HQ. -Some layout fixes for command.c -Tileinfo debug window in console now shows Tile in decimal numbers
2004-08-23(svn r117) Feature: Performance details window in company league menu ↵dominik
(TrueLight)
2004-08-12(svn r34) -Fix [990770] Cargo delivery area patch for bug #989322. If ↵darkvater
station sign was too far away, there were goods acceptance/delivery issues (Celstar)
2004-08-10(svn r10) Some documentation on _price_base arraydominik
2004-08-10(svn r5) -Fix: townname generation of TTDLX savegames. All work darkvater
except for German Townnames (also fix one typo on English town-names) -CodeChange: *act_paper to *act_water in Town to more resemble its use -Fix: AI players now retain AI status. Since TTDLX savegame status is not fully documented, some holes exist (AI state is set to one without a vehicle, otherwise it crashes)
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight