summaryrefslogtreecommitdiff
path: root/ttd.c
AgeCommit message (Collapse)Author
2005-03-10(svn r1986) - Fix: free _config_file when shutting down openttd. Strange ↵Darkvater
that Valgrind didn't catch this, kudos to TrueLight - Feature (small): new command-line option -c <config_file>. You can have OpenTTD load alternative config files with this setup, handy for servers, or for saves from other players if you don't want to rename your own config. This will have to do until all game-related settings are saved ingame. Couldn't find the SF patch, so credits to the guy that wrote it.
2005-03-10(svn r1982) -Fix: also windows has no 'fork' optiontruelight
2005-03-09(svn r1978) - Fix: Plug some memleaks; thanks ValgrindDarkvater
2005-03-06(svn r1944) Make --help output for -d at least somewhat useful.pasky
2005-03-06(svn r1940) TODO about usrerror().pasky
2005-02-23(svn r1910) Move two variables out of variables.h which are only used locallytron
2005-02-22(svn r1901) - Fix: unwanted behaviour of the savegame dialog, as well as a ↵Darkvater
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)
2005-02-18(svn r1889) -Fix: [ 1108637 ] 'Play scenario' now loads game options and ↵celestar
difficulty, 'Load game' starts game with user-selected values.
2005-02-17(svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bitcelestar
2005-02-10(svn r1853) Move spritecache function declarations into a header of their ↵tron
own and use SpriteID as parameter type where appropriate
2005-02-06(svn r1833) byte -> char transition: the resttron
2005-02-06(svn r1821) Move generic string handling functions to string.[ch] and ↵tron
introduce stre{cpy,cat}, see string.h for their semantics
2005-02-06(svn r1818) -Add: Dynamic orders (up to 64k orders)truelight
2005-02-06(svn r1817) -Codechange: Moved depot-functions to depot.ctruelight
-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)
2005-02-06(svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we ↵tron
don't know what the caller wants to do with the data
2005-02-06(svn r1813) Declare functions implemented in strings.c in their own shiny ↵tron
new header (though i think some of these function don't belong into strings.c)
2005-02-05(svn r1805) Teach the driver layer a few things about const correctnesstron
2005-02-05(svn r1803) Move debugging stuff into files of it's owntron
2005-02-05(svn r1800) Make adding new debug categories to the command line parser easiertron
2005-02-05(svn r1799) -Codechange: [ Multistop ] Added debug class "ms" and more debuggingcelestar
output for multistops
2005-02-04(svn r1788) -Add: Made RoadStops dynamic. You can now create up to 64k ↵truelight
roadstops.
2005-02-04(svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs)truelight
2005-02-04(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)truelight
2005-02-03(svn r1776) -Add: Dynamic stations. You can now have up to 64k of stationstruelight
2005-02-02(svn r1772) -Fix: [ 1114100 ] Dedicated server boots againtruelight
2005-02-02(svn r1771) -Add: Industries are now dynamic (up to 64k industries). Generating truelight
1kx1k maps should now be much faster, and give more than just oil-stuff ;)
2005-02-02(svn r1768) -Codechange: Store town index in _map2 of town tilescelestar
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
2005-02-01(svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me ↵truelight
know when you have that amount of towns in a map ;))
2005-01-31(svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each ↵darkvater
vehicle type (bociusz)
2005-01-31(svn r1747) - Fix: [network] ottd should compile when networking is disabled.darkvater
- Change: change strgen project file to get rid of warning.
2005-01-30(svn r1737) Add DEBUG category "map" and use it to print the map size when ↵tron
allocating the map
2005-01-29(svn r1722) -Feature: Bigger maps - anyone?tron
2005-01-29(svn r1721) -Feature: It is now possible to build multiple road stations (up ↵celestar
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.
2005-01-29(svn r1713) Split off several functions which query/set information about a ↵tron
single tile from map.h and put them into a seperate file tile.h
2005-01-28(svn r1703) - Fix: Scrolling with the arrow keys is now smooth and it now ↵dominik
also scrolls exactly in tile direction if e.g. up and left are pressed
2005-01-26(svn r1683) Fix placement of MP_VOID tiles. On square maps it accidently ↵tron
works, but on non-square maps the wrong tiles would get marked as MP_VOID
2005-01-25(svn r1667) - Feature: Signs are now shown in the color of the player who ↵dominik
created them (Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
2005-01-23(svn r1616) Introduce ttd_strlcat() and use it to de-uglify some piece of ↵tron
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.
2005-01-23(svn r1610) Remove trailing whitespace (last time ever, i hope)tron
2005-01-23(svn r1606) Fix some bogus caststron
2005-01-22(svn r1596) Add some more staticstron
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-16(svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin)darkvater
2005-01-16(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn ↵tron
them into inline functions and add some asserts
2005-01-15(svn r1528) -Fix: forgot to init a variabletruelight
2005-01-15(svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.truelight
-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!
2005-01-14(svn r1509) Const correctness and add static where appropriate while ↵tron
touching the lines anyway
2005-01-14(svn r1508) Remove duplicate declarations and include proper headers where ↵tron
necessary
2005-01-12(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)truelight
-Fix: fixed some compiler-warnings
2005-01-12(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared ↵truelight
it for dynamic arrays