tron
3844a104f2
(svn r1910) Move two variables out of variables.h which are only used locally
20 years ago
Darkvater
7656c683cf
(svn r1901) - Fix: unwanted behaviour of the savegame dialog, as well as a bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)
20 years ago
celestar
5e86b2ff9b
(svn r1889) -Fix: [ 1108637 ] 'Play scenario' now loads game options and difficulty, 'Load game' starts game with user-selected values.
20 years ago
celestar
2eda5228d1
(svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit
20 years ago
tron
7cd19fe07a
(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
20 years ago
tron
257e97c09a
(svn r1833) byte -> char transition: the rest
20 years ago
tron
59fa465dce
(svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
20 years ago
truelight
79d1ed2c66
(svn r1818) -Add: Dynamic orders (up to 64k orders)
20 years ago
truelight
bd7f37d592
(svn r1817) -Codechange: Moved depot-functions to depot.c
...
-Codechange: Added wrappers around depot-access (GetDepot no exists)
-Codechange: Made depot-functions a bit more logic (no longer
GetDepotByTile crashes your game when you request it on a non-depot tile)
-Add: made depots dynamic (yes, 64k depots are possible now)
20 years ago
tron
7dd78479cc
(svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we don't know what the caller wants to do with the data
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
7cac482a73
(svn r1805) Teach the driver layer a few things about const correctness
20 years ago
tron
36c9758c94
(svn r1803) Move debugging stuff into files of it's own
20 years ago
tron
de0bb8b971
(svn r1800) Make adding new debug categories to the command line parser easier
20 years ago
celestar
ff39c260f7
(svn r1799) -Codechange: [ Multistop ] Added debug class "ms" and more debugging
...
output for multistops
20 years ago
truelight
d3aa3043e3
(svn r1788) -Add: Made RoadStops dynamic. You can now create up to 64k roadstops.
20 years ago
truelight
98202ed119
(svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs)
20 years ago
truelight
f183ca5cc2
(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)
20 years ago
truelight
3eda5e61f7
(svn r1776) -Add: Dynamic stations. You can now have up to 64k of stations
20 years ago
truelight
8be7a90e65
(svn r1772) -Fix: [ 1114100 ] Dedicated server boots again
20 years ago
truelight
3df76452cd
(svn r1771) -Add: Industries are now dynamic (up to 64k industries). Generating
...
1kx1k maps should now be much faster, and give more than just oil-stuff ;)
20 years ago
celestar
2e357e69f9
(svn r1768) -Codechange: Store town index in _map2 of town tiles
...
Moved house type from _map2 to _map3_hi for MP_HOUSE
Moved foundation and roadworks from _map2 to _map3 for
MP_STREET
This increases game speed by a factor of around 15(!) if many cities are around.
Converting an old game is done automagically, but can take a while
20 years ago
truelight
59ac6e8c4b
(svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me know when
...
you have that amount of towns in a map ;))
20 years ago
darkvater
0e272f2d10
(svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each vehicle type (bociusz)
20 years ago
darkvater
493ae95ce5
(svn r1747) - Fix: [network] ottd should compile when networking is disabled.
...
- Change: change strgen project file to get rid of warning.
20 years ago
tron
b188b30e2d
(svn r1737) Add DEBUG category "map" and use it to print the map size when allocating the map
20 years ago
tron
001aa8e453
(svn r1722) -Feature: Bigger maps - anyone?
20 years ago
celestar
3c82a2b3c7
(svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
...
a single station.
Thanks to: Truelight for the saveload code, Darkvater and Hackykid for
network testing and Tron for proof-reading 1500 lines of diff.
20 years ago
tron
39858e696b
(svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h
20 years ago
dominik
ea3eb8cbfa
(svn r1703) - Fix: Scrolling with the arrow keys is now smooth and it now also scrolls exactly in tile direction if e.g. up and left are pressed
20 years ago
tron
60e59e186d
(svn r1683) Fix placement of MP_VOID tiles. On square maps it accidently works, but on non-square maps the wrong tiles would get marked as MP_VOID
20 years ago
dominik
85e768c11f
(svn r1667) - Feature: Signs are now shown in the color of the player who created them
...
(Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
20 years ago
tron
1cd455b8be
(svn r1616) Introduce ttd_strlcat() and use it to de-uglify some piece of code in misc_cmd.
...
While here rename the len parameter of ttd_strlcpy() to size, because it is a buffer size and not a string length.
Also add -Wwrite-strings to the Makefile, because the above mentioned piece of code was the only part which triggered this warning.
20 years ago
tron
81ee2d931b
(svn r1610) Remove trailing whitespace (last time ever, i hope)
20 years ago
tron
61a3ac68e2
(svn r1606) Fix some bogus casts
20 years ago
tron
97f893ae2f
(svn r1596) Add some more statics
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
darkvater
ef6ec2ac04
(svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin)
20 years ago
tron
61a6bc544d
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
20 years ago
truelight
b454e12bc5
(svn r1528) -Fix: forgot to init a variable
20 years ago
truelight
7cafdf3b0b
(svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.
...
-Codechange: renamed all 'schedule' stuff to 'order(list)'
-Codechange: moved all order-stuff to order_cmd.c / order.h
-Codechange: vehicles that share orders are now linked to eachother
with next_shared/prev_shared in Vehicle
Developers: please use AssignOrder to assign data to an order. If not,
you _WILL_ make the save-routine to assert!
20 years ago
tron
94c6bdfdaf
(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
20 years ago
tron
589215c822
(svn r1508) Remove duplicate declarations and include proper headers where necessary
20 years ago
truelight
16502241c6
(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)
...
-Fix: fixed some compiler-warnings
20 years ago
truelight
97dd511971
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
...
dynamic arrays
20 years ago
darkvater
199a77d1ea
(svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
...
-Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while
-These values are saved in hs.dat; added read/write functions for it
-Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
20 years ago
dominik
49a08e5e38
(svn r1453) Feature: MD5 hash check for TTD files
...
The original TTD files are now checked with a MD5 sum to determine which version of the grf files is used and to warn about possible file corruptions. (Thanks to ledow for the original patch)
20 years ago
tron
4450ff105c
(svn r1451) Fix some of the signed/unsigned comparison warnings
20 years ago
celestar
5bc8829167
(svn r1440) -Feature: Allows more flexible airport layouts now, as the number of
...
terminals in every group can be freely chosen
-Codechange: AT_OILRIG is now 15, so that new airports can be added
easily.
20 years ago
truelight
141f85eed4
(svn r1430) -Fix: starting openttd with -g <invalid_name> now acts normal
20 years ago