truelight
813e84bf9e
(svn r2043) -Fix: committed too many files in the last commit
20 years ago
truelight
e51659da60
(svn r2042) -Fix: forgot to remove a printf ;)
20 years ago
truelight
098e83b375
(svn r1920) -Fix: no longer a station where you only unload is bad for your town-rating
20 years ago
truelight
120f9b2ba1
(svn r1919) -Fix: Minimum profit of vehicles was calculated wrong for Performance Rating
20 years ago
tron
5af4a4012b
(svn r1911) Put back an "if" i accidently removed in r1898
20 years ago
tron
a370af76d2
(svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
20 years ago
tron
d3f84347ac
(svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
20 years ago
tron
72b539b05e
(svn r1812) [1117058] Use CT_WATER instead of CT_STEEL when accounting water which gets delivered to a town (worked because CT_STEEL and CT_WATER share the same enum number)
20 years ago
truelight
0668a6b485
(svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id
...
(and should be an uint16, not uint8)
20 years ago
tron
bb680056b1
(svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
20 years ago
bjarni
d2738fed80
(svn r1599) fix: autoreplace window now updates when inflation alters prices
...
Hackykid and not LordOfThePigs pointed out the update problem fixed in rev 1597. Sorry. Sometimes development can get too fast
20 years ago
tron
94d5aeabb2
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
20 years ago
bjarni
467e4b82bf
(svn r1568) made an enum of train subtypes to make the code more readable
20 years ago
tron
dd6db73069
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
20 years ago
celestar
9a287d932d
(svn r1495) -Fix: Loan does not count against the company value
...
-Feature: New companies receive a 5-year protection period
20 years ago
darkvater
781648ada3
(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.
20 years ago
darkvater
94e44d05a1
(svn r1460) -Fix: [1099225] Bug Fix - Vehicle Lists not updated at Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now.
20 years ago
darkvater
c2b59b2089
(svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid)
20 years ago
truelight
b450603437
(svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
...
(in prepare of dynamic arrays):
- DEREF_XXX is changed into GetXXX
- All direct call are directed via GetXXX
- struct Industry has now an index-field
- ENUM'd some stuff
- Replaced home built loops with FOR_ALL_XXX
- Added _stations_size, _vehicles_size, ... which gives the length of the
array (which will be dynamic in the near future)
- Changed lengtof(XXX) to _XXX_size (e.g. _stations_size)
- Removed all endof(XXX) (because mostly it was part of a FOR_ALL_XXX)
- Made the sort-functions of all 4 dynamic
- Made all 4 Initialize functions more of the same
- Some minor tab-fixing and stuff
(tnx to Tron for proof-reading my 100kb patch ;))
Note for all: please do NOT directly call _stations, _vehicles, _towns and
_industries, but use the right wrapper to access them. Thank you.
Ps: please also do not use 'v++', where v is of type Vehicle *.
20 years ago
tron
bcff0ab932
(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
20 years ago
truelight
fe657e9ee3
(svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
20 years ago
truelight
3e1a12299c
(svn r1291) -Codechange: prepared subsidies and towns to become an uint16 (happens
...
after savegame bump)
20 years ago
truelight
16cd779efe
(svn r1287) -Fix: reversed 1285, because it is not the solution. This also means
...
that getting a lot of money with shares is back... :(
20 years ago
truelight
968c9ffe60
(svn r1285) -Fix: your loan is now substracted from your company value
20 years ago
truelight
3fa05f42b2
(svn r1247) -Fix: [ 1090313 ] Shares are now also sold when a company goes bankrupt
20 years ago
dominik
675a44b67f
(svn r1233) Fixed several currency issues. Now currencies should work correctly again.
20 years ago
dominik
13eba00152
(svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
20 years ago
truelight
df995a32ed
(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
...
and 'void' where needed, prefixed all functions, typedefs and global
vars with 'Network' and organized all externals nicely.
20 years ago
truelight
9d2fe22f86
(svn r1128) -Fix: [Network] Going bankrupt of human-players was corrupted in networkgames
20 years ago
tron
a148ff4e0d
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
20 years ago
truelight
f957e2ccff
(svn r1086) -Fix: [Network] [ 1084774 ] Fixed quick-share-sell bug
20 years ago
truelight
82f89899ea
(svn r1061) -Fix: [Network] Compiling without ENABLE_NETWORK now works again correctly
20 years ago
truelight
242f2c7b60
(svn r1023) -Fix: [Network] [ 1083692 ] You can no longer buy out a company in MP
...
because of the lag between commands (anyway, I hope)
20 years ago
tron
b8e83ca03f
(svn r955) Replace uint16 for orders with struct Order
...
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.
20 years ago
truelight
d6a1f3e412
(svn r942) -Merged branch/network back into the trunk
20 years ago
tron
291d25a88b
(svn r925) Use sound enums
...
Also play the correct sound when a toyland road vehicle breaks down
20 years ago
tron
265ac67183
(svn r901) Small step in the process to clean up the DPARAM mess:
...
- 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
20 years ago
tron
d701668f50
(svn r853) -Feature: Implement improved vehicle loading algorithm
...
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!
20 years ago
tron
acbd1801c7
(svn r815) Include strings.h only in the files which need it.
...
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.
20 years ago
tron
0ea87b6473
(svn r792) Small cleanup: Kill a goto
20 years ago
tron
13f0b6c0cf
(svn r654) Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky)
20 years ago
tron
d641175e3c
(svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk
...
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
20 years ago
truelight
a69e422cdd
(svn r266) -Fix: hopefully fixed the desync problem nicely (and reverted the
...
workaround for it)
20 years ago
darkvater
72457bac0d
(svn r241) -Fix: Trailing spaces :O
20 years ago
signde
bb2f8d8d1a
(svn r240) -Fix: desync on subsidy generation
...
-Fix: sometimes commands got executed to early on some clients
-Feature: universal event packets for transmitting subsidys
20 years ago
darkvater
fc9a450e75
(svn r237) -Fix: [1025836] Company value problem (again). Now company value 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.
20 years ago
signde
1fb915df69
(svn r207) -Codechange: randomizer handling
...
-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]
20 years ago
truelight
4ccd84f94b
(svn r201) -Fix: [1025836] Company values bigger dan int32 were put to negative
...
-Fix: [1025836] Long bridges had negative value
-Fix: Typo in endian_check.c (Zr40)
20 years ago
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
20 years ago
darkvater
3b96ad994c
(svn r148) -Feature: Company HQ can now be moved somewhere else (cost 1% of company value). Water floods HQ.
...
-Some layout fixes for command.c
-Tileinfo debug window in console now shows Tile in decimal numbers
20 years ago
dominik
a6f2257600
(svn r117) Feature: Performance details window in company league menu (TrueLight)
20 years ago
darkvater
5a0a007e45
(svn r34) -Fix [990770] Cargo delivery area patch for bug #989322 . If station sign was too far away, there were goods acceptance/delivery issues (Celstar)
20 years ago
dominik
39267dbad5
(svn r10) Some documentation on _price_base array
20 years ago
darkvater
a32d8553e7
(svn r5) -Fix: townname generation of TTDLX savegames. All work
...
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)
20 years ago
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
20 years ago