Wed, 05 Oct 2005 07:20:26 +0000 |
tron |
(svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
|
file |
diff |
annotate
|
Mon, 03 Oct 2005 21:20:01 +0000 |
tron |
(svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
|
file |
diff |
annotate
|
Wed, 28 Sep 2005 19:35:36 +0000 |
tron |
(svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
|
file |
diff |
annotate
|
Sun, 18 Sep 2005 20:56:44 +0000 |
Darkvater |
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
|
file |
diff |
annotate
|
Fri, 16 Sep 2005 00:33:33 +0000 |
Darkvater |
(svn r2956) - Fix: [ 1253736 ] creating many town crash to desktop. Now it 'dies' with an ingame error message informing the gamer if it couldn't generate any towns in user-space. Still if it happens during new-game generation it crashes since we don't yet have actions to do in such a circumstance.
|
file |
diff |
annotate
|
Wed, 14 Sep 2005 18:03:38 +0000 |
Darkvater |
(svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
|
file |
diff |
annotate
|
Tue, 23 Aug 2005 18:47:04 +0000 |
tron |
(svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing.
|
file |
diff |
annotate
|
Sat, 30 Jul 2005 09:29:20 +0000 |
tron |
(svn r2758) Add the AB() macro to add a value to a bit range and use it in a few places, also make use of GB and SB nearby
|
file |
diff |
annotate
|
Sun, 24 Jul 2005 15:56:31 +0000 |
celestar |
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
|
file |
diff |
annotate
|
Sun, 24 Jul 2005 14:12:37 +0000 |
tron |
(svn r2701) Insert Id tags into all source files
|
file |
diff |
annotate
|
Fri, 22 Jul 2005 07:02:20 +0000 |
tron |
(svn r2673) Include functions.h directly, not globally via openttd.h
|
file |
diff |
annotate
|
Thu, 21 Jul 2005 22:15:02 +0000 |
tron |
(svn r2669) Shuffle some more stuff around to reduce dependencies
|
file |
diff |
annotate
|
Thu, 21 Jul 2005 06:31:02 +0000 |
tron |
(svn r2660) Get rid of some more shifting/anding/casting
|
file |
diff |
annotate
|
Wed, 20 Jul 2005 22:05:13 +0000 |
celestar |
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
|
file |
diff |
annotate
|
Wed, 20 Jul 2005 15:29:28 +0000 |
tron |
(svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
|
file |
diff |
annotate
|
Fri, 15 Jul 2005 18:30:13 +0000 |
ludde |
(svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.
|
file |
diff |
annotate
|
Fri, 15 Jul 2005 16:29:30 +0000 |
ludde |
(svn r2574) Fix: AnimatedTile leak in town_cmd.c (this one has probably been here since day 1)
|
file |
diff |
annotate
|
Fri, 15 Jul 2005 12:16:16 +0000 |
ludde |
(svn r2570) Fix: Removed some code that had no effect.
|
file |
diff |
annotate
|
Wed, 13 Jul 2005 19:51:31 +0000 |
ludde |
(svn r2560) Fix: various minor code changes.
|
file |
diff |
annotate
|
Wed, 13 Jul 2005 18:04:01 +0000 |
tron |
(svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
|
file |
diff |
annotate
|
Sat, 25 Jun 2005 16:44:57 +0000 |
tron |
(svn r2487) Replace TILE_XY by TileXY/TileDiffXY
|
file |
diff |
annotate
|
Sat, 25 Jun 2005 06:15:43 +0000 |
tron |
(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
|
file |
diff |
annotate
|
Fri, 24 Jun 2005 12:38:35 +0000 |
tron |
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
|
file |
diff |
annotate
|
Tue, 21 Jun 2005 16:28:17 +0000 |
celestar |
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
|
file |
diff |
annotate
|
Wed, 08 Jun 2005 09:03:29 +0000 |
tron |
(svn r2434) Fix some defects in r2433
|
file |
diff |
annotate
|
Tue, 07 Jun 2005 21:37:00 +0000 |
Darkvater |
(svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)
|
file |
diff |
annotate
|
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
|