tron
f55bde6ee4
(svn r1910) Move two variables out of variables.h which are only used locally
2005-02-23 09:13:12 +00:00
Darkvater
7746c4722b
(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)
2005-02-22 14:52:20 +00:00
celestar
bf5e0c10ce
(svn r1889) -Fix: [ 1108637 ] 'Play scenario' now loads game options and difficulty, 'Load game' starts game with user-selected values.
2005-02-18 22:17:33 +00:00
celestar
fe6f9e9a65
(svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit
2005-02-17 10:56:19 +00:00
tron
2a151d9354
(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
2005-02-10 05:43:30 +00:00
tron
eed181245d
(svn r1833) byte -> char transition: the rest
2005-02-06 22:25:27 +00:00
tron
b2ae5b197e
(svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
2005-02-06 13:41:02 +00:00
truelight
020c1e9b6c
(svn r1818) -Add: Dynamic orders (up to 64k orders)
2005-02-06 10:24:57 +00:00
truelight
e9c93f9c0c
(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)
2005-02-06 10:18:47 +00:00
tron
ff3bc3cc94
(svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we don't know what the caller wants to do with the data
2005-02-06 08:38:09 +00:00
tron
0381073e56
(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)
2005-02-06 08:18:00 +00:00
tron
17ca2c49a5
(svn r1805) Teach the driver layer a few things about const correctness
2005-02-05 18:05:42 +00:00
tron
f0f85a7ef3
(svn r1803) Move debugging stuff into files of it's own
2005-02-05 15:58:59 +00:00
tron
6932461e63
(svn r1800) Make adding new debug categories to the command line parser easier
2005-02-05 14:18:25 +00:00
celestar
422ebcf8e0
(svn r1799) -Codechange: [ Multistop ] Added debug class "ms" and more debugging
...
output for multistops
2005-02-05 12:10:09 +00:00
truelight
10adda0d73
(svn r1788) -Add: Made RoadStops dynamic. You can now create up to 64k roadstops.
2005-02-04 15:31:30 +00:00
truelight
4f5255c36e
(svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs)
2005-02-04 14:45:32 +00:00
truelight
42f98c7eec
(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)
2005-02-04 13:23:29 +00:00
truelight
1938a73c90
(svn r1776) -Add: Dynamic stations. You can now have up to 64k of stations
2005-02-03 17:22:35 +00:00
truelight
3f45338cc9
(svn r1772) -Fix: [ 1114100 ] Dedicated server boots again
2005-02-02 18:28:08 +00:00
truelight
83a889d678
(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 ;)
2005-02-02 17:30:29 +00:00
celestar
30a328705e
(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
2005-02-02 14:17:13 +00:00
truelight
777dd99585
(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 ;))
2005-02-01 18:32:01 +00:00
darkvater
b64c375f2f
(svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each vehicle type (bociusz)
2005-01-31 11:03:23 +00:00
darkvater
4cc0952736
(svn r1747) - Fix: [network] ottd should compile when networking is disabled.
...
- Change: change strgen project file to get rid of warning.
2005-01-31 00:12:44 +00:00
tron
7526afdae0
(svn r1737) Add DEBUG category "map" and use it to print the map size when allocating the map
2005-01-30 18:12:37 +00:00
tron
3a89108a55
(svn r1722) -Feature: Bigger maps - anyone?
2005-01-29 19:45:14 +00:00
celestar
752b3f0dd6
(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.
2005-01-29 19:41:44 +00:00
tron
5885b31bb4
(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
2005-01-29 12:19:05 +00:00
dominik
b4b134e527
(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
2005-01-28 09:30:19 +00:00
tron
a2971d0449
(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
2005-01-26 18:17:50 +00:00
dominik
d439221c62
(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)
2005-01-25 15:38:36 +00:00
tron
53d1c3f117
(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.
2005-01-23 15:16:47 +00:00
tron
44f48ce915
(svn r1610) Remove trailing whitespace (last time ever, i hope)
2005-01-23 13:09:35 +00:00
tron
9f60324821
(svn r1606) Fix some bogus casts
2005-01-23 10:54:32 +00:00
tron
e5cd6b6193
(svn r1596) Add some more statics
2005-01-22 22:47:58 +00:00
tron
189ca73707
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
2005-01-22 20:23:18 +00:00
darkvater
208a9b8547
(svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin)
2005-01-16 12:14:52 +00:00
tron
ae796740aa
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
2005-01-16 11:24:58 +00:00
truelight
1b00f36520
(svn r1528) -Fix: forgot to init a variable
2005-01-15 20:10:44 +00:00
truelight
d275109e79
(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!
2005-01-15 19:06:22 +00:00
tron
3a838447a8
(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
2005-01-14 19:44:42 +00:00
tron
4136f395bf
(svn r1508) Remove duplicate declarations and include proper headers where necessary
2005-01-14 19:41:24 +00:00
truelight
7ec997afce
(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)
...
-Fix: fixed some compiler-warnings
2005-01-12 11:54:51 +00:00
truelight
a243285af4
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
...
dynamic arrays
2005-01-12 11:21:28 +00:00
darkvater
5fac6142e8
(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.
2005-01-11 00:54:06 +00:00
dominik
aa261049f4
(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)
2005-01-10 01:14:26 +00:00
tron
49584082a0
(svn r1451) Fix some of the signed/unsigned comparison warnings
2005-01-09 21:25:44 +00:00
celestar
e17a8989cf
(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.
2005-01-09 08:49:40 +00:00
truelight
d4d4a46436
(svn r1430) -Fix: starting openttd with -g <invalid_name> now acts normal
2005-01-08 15:26:58 +00:00