Sat, 04 Jun 2005 12:13:24 +0000 |
tron |
(svn r2408) Introduce SetTileOwner() and use it
|
file |
diff |
annotate
|
Sat, 04 Jun 2005 11:56:32 +0000 |
tron |
(svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
|
file |
diff |
annotate
|
Thu, 02 Jun 2005 19:30:21 +0000 |
Darkvater |
(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
|
file |
diff |
annotate
|
Mon, 30 May 2005 22:16:05 +0000 |
Darkvater |
(svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big.
|
file |
diff |
annotate
|
Tue, 17 May 2005 20:58:58 +0000 |
Darkvater |
(svn r2345) - Fix: Don't allow stuff to be renamed to nothing if we don't support it. Only valid ones are signs (delete) and waypoints (rename to default).
|
file |
diff |
annotate
|
Sun, 15 May 2005 18:50:55 +0000 |
tron |
(svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
|
file |
diff |
annotate
|
Thu, 12 May 2005 00:11:37 +0000 |
Darkvater |
(svn r2297) - CodeChange: server-check the next batch of commands.
|
file |
diff |
annotate
|
Sun, 03 Apr 2005 13:37:35 +0000 |
Darkvater |
(svn r2142) - Fix: Game no longer crashes when you want to remove a piece of road under a bridge that belongs to the town. TODO: railcrossings store owner somewhere else, put it into _map_owner[]!
|
file |
diff |
annotate
|
Sun, 20 Mar 2005 00:32:26 +0000 |
pasky |
(svn r2033) - Fix: Fix some more desync by saving the town growth frequency iterator _cur_town_iter. Needed to bump a svg revision for that thanks to the braindead SlGlob thing, or at least I don't know how to do it without bumping it.
|
file |
diff |
annotate
|
Thu, 17 Mar 2005 23:12:23 +0000 |
pasky |
(svn r2021) Fix: Enlarge _cur_town_ctr from byte to uint32 so that all the towns are considered when growing them even for big maps, where much more than 256 towns are around; reported by Tomasz Dubi?ski <uboottd@hydra.polsl.gliwice.pl>. The savegame still saves just the lowest 8 bits but that doesn't hurt so much.
|
file |
diff |
annotate
|
Sat, 12 Mar 2005 21:21:47 +0000 |
Darkvater |
(svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings
|
file |
diff |
annotate
|
Mon, 07 Mar 2005 13:20:22 +0000 |
pasky |
(svn r1955) Fix: Make the town growth frequency scale properly both up and down. The scaling is now also based on the number of towns instead of the map size. (In cooperation with HackyKid.)
|
file |
diff |
annotate
|
Sun, 06 Mar 2005 23:46:52 +0000 |
pasky |
(svn r1952) Fix: Hopefully fixed the enormous towns growth slowdown in large maps. (Inspired by toholio.)
|
file |
diff |
annotate
|
Sat, 05 Mar 2005 13:49:43 +0000 |
pasky |
(svn r1925) Fixed an infinite loop if the town generator runs out of town names. The number of generated towns is then limited by the number of available names.
|
file |
diff |
annotate
|
Thu, 17 Feb 2005 10:56:19 +0000 |
celestar |
(svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit
|
file |
diff |
annotate
|
Sun, 13 Feb 2005 09:42:49 +0000 |
celestar |
(svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently just an
|
file |
diff |
annotate
|
Mon, 07 Feb 2005 10:41:45 +0000 |
tron |
(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
|
file |
diff |
annotate
|
Sun, 06 Feb 2005 20:53:31 +0000 |
tron |
(svn r1832) Next byte -> char iteration: custom names
|
file |
diff |
annotate
|
Sun, 06 Feb 2005 20:29:32 +0000 |
truelight |
(svn r1831) -Fix: Scenario Editor now handles human-made roads better (try to build
|
file |
diff |
annotate
|
Sun, 06 Feb 2005 08:18:00 +0000 |
tron |
(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)
|
file |
diff |
annotate
|
Sat, 05 Feb 2005 22:50:33 +0000 |
tron |
(svn r1808) Use strcmp() instead of home brewed function str_eq()
|
file |
diff |
annotate
|
Fri, 04 Feb 2005 13:56:51 +0000 |
truelight |
(svn r1784) -Fix: removed ClosestTownFromTile where possible, or replaced it
|
file |
diff |
annotate
|
Wed, 02 Feb 2005 14:17:13 +0000 |
celestar |
(svn r1768) -Codechange: Store town index in _map2 of town tiles
|
file |
diff |
annotate
|
Tue, 01 Feb 2005 18:46:49 +0000 |
truelight |
(svn r1765) -Fix: on loading, the total amount of towns wasn't reset to zero
|
file |
diff |
annotate
|
Tue, 01 Feb 2005 18:32:01 +0000 |
truelight |
(svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me know when
|
file |
diff |
annotate
|
Mon, 31 Jan 2005 21:57:05 +0000 |
tron |
(svn r1756) Cleanup: if cascade -> switch, uint -> TileIndex
|
file |
diff |
annotate
|
Mon, 31 Jan 2005 07:23:15 +0000 |
tron |
(svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
|
file |
diff |
annotate
|
Sat, 29 Jan 2005 12:19:05 +0000 |
tron |
(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
|
file |
diff |
annotate
|
Fri, 28 Jan 2005 15:31:04 +0000 |
tron |
(svn r1706) Implement ScaleByMapSize() and ScaleByMapSize1D()
|
file |
diff |
annotate
|
Tue, 25 Jan 2005 21:43:57 +0000 |
tron |
(svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change
|
file |
diff |
annotate
|
Sat, 22 Jan 2005 20:23:18 +0000 |
tron |
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
|
file |
diff |
annotate
|
Fri, 21 Jan 2005 16:51:25 +0000 |
celestar |
(svn r1581) Added a display for the total map population to the town display (Jango)
|
file |
diff |
annotate
|
Sun, 16 Jan 2005 14:06:22 +0000 |
tron |
(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
|
file |
diff |
annotate
|
Sun, 16 Jan 2005 11:24:58 +0000 |
tron |
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
|
file |
diff |
annotate
|
Fri, 14 Jan 2005 09:20:12 +0000 |
celestar |
(svn r1504) enummed town ratings (Jango)
|
file |
diff |
annotate
|
Fri, 07 Jan 2005 17:02:43 +0000 |
tron |
(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
|
file |
diff |
annotate
|
Thu, 06 Jan 2005 22:31:58 +0000 |
truelight |
(svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
|
file |
diff |
annotate
|
Thu, 06 Jan 2005 11:39:00 +0000 |
tron |
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
|
file |
diff |
annotate
|
Wed, 05 Jan 2005 13:32:03 +0000 |
tron |
(svn r1386) Move TileIndexDiff to map.h
|
file |
diff |
annotate
|
Mon, 03 Jan 2005 18:59:58 +0000 |
tron |
(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
|
file |
diff |
annotate
|
Fri, 31 Dec 2004 18:59:22 +0000 |
truelight |
(svn r1313) -Fix: fixed MSVC problem
|
file |
diff |
annotate
|
Fri, 31 Dec 2004 18:57:24 +0000 |
truelight |
(svn r1312) -Add: Patch which is on by default: population in label of the town
|
file |
diff |
annotate
|
Thu, 30 Dec 2004 10:03:35 +0000 |
truelight |
(svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
|
file |
diff |
annotate
|
Tue, 28 Dec 2004 11:51:31 +0000 |
truelight |
(svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
|
file |
diff |
annotate
|
Wed, 15 Dec 2004 22:18:54 +0000 |
tron |
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
|
file |
diff |
annotate
|
Sat, 04 Dec 2004 17:54:56 +0000 |
truelight |
(svn r942) -Merged branch/network back into the trunk
|
file |
diff |
annotate
|
Thu, 02 Dec 2004 22:53:07 +0000 |
tron |
(svn r901) Small step in the process to clean up the DPARAM mess:
|
file |
diff |
annotate
|
Fri, 26 Nov 2004 22:29:02 +0000 |
pasky |
(svn r831) Remove station-specific roadbits magic. Tron already fixed road stations so that they don't give out roadbits in r780.
|
file |
diff |
annotate
|
Fri, 26 Nov 2004 22:21:12 +0000 |
pasky |
(svn r830) Move the MP_STATION roadbits guard to GetTownRoadBitsByTile() wrapper of GetRoadBitsByTile(). This should really and for once fix the road-behind-road-station bug.
|
file |
diff |
annotate
|
Thu, 25 Nov 2004 10:47:30 +0000 |
tron |
(svn r815) Include strings.h only in the files which need it.
|
file |
diff |
annotate
|
Tue, 23 Nov 2004 22:36:11 +0000 |
tron |
(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
|
file |
diff |
annotate
|
Mon, 22 Nov 2004 18:42:03 +0000 |
tron |
(svn r764) Enumerate the houses only one per town can exist and use the enums instead of magic numbers to check for these
|
file |
diff |
annotate
|
Mon, 22 Nov 2004 11:01:30 +0000 |
tron |
(svn r760) Replace some bit-juggling with bit fields
|
file |
diff |
annotate
|
Mon, 22 Nov 2004 10:09:37 +0000 |
tron |
(svn r756) Demystify and explain some piece of code regarding which house sprite to draw
|
file |
diff |
annotate
|
Sun, 21 Nov 2004 10:49:40 +0000 |
tron |
(svn r724) Remove restriction that a tile can only accept 3 cargo types.
|
file |
diff |
annotate
|
Sat, 20 Nov 2004 11:57:45 +0000 |
pasky |
(svn r703) Attempt to improve the town growth algorithm - now it scales over 76 houses, is slightly exponential and travels further for larger towns.
|
file |
diff |
annotate
|
Sat, 20 Nov 2004 02:36:10 +0000 |
pasky |
(svn r698) Merge a town growth fix from TTDPatch - in arctic and desert climate, require food (and possibly water) only if the population is more than 90, so that the town gets chance to actually accept it. (By Marcin?)
|
file |
diff |
annotate
|
Sat, 20 Nov 2004 01:49:42 +0000 |
pasky |
(svn r696) Do not consider a road station as street when growing the town.
|
file |
diff |
annotate
|
Sat, 20 Nov 2004 01:08:41 +0000 |
pasky |
(svn r694) Make the town sometimes build streets on slopes.
|
file |
diff |
annotate
|
Sat, 25 Sep 2004 17:37:32 +0000 |
truelight |
(svn r320) -Fix: some last _current_player fixes
|
file |
diff |
annotate
|