summaryrefslogtreecommitdiff
path: root/table
AgeCommit message (Collapse)Author
2005-02-22(svn r1902) Replace some casts with proper typingtron
2005-02-14(svn r1875) Effect vehicle overhaul: enumerate sprites, descriptive names ↵tron
for functions and miscellaneous improvements
2005-02-13(svn r1868) Improve readability of the bulldozer movement codetron
2005-01-31(svn r1751) - Feature: New PathFinder (NPF).matthijs
- Supports trains, road vehicles and ships. - Uses A* pathfinding (same codebase as the new ai). - Currently unlimited search depth, so might perform badly on large maps/networks (especially ships). - Will always find a route if there is one. - Allows custom penalties for obstacles to be set in openttd.cfg (npf_ values). - With NPF enabled, ships can have orders that are very far apart. Be careful, this will break (ships get lost) when the old pathfinder is used again. - Feature: Disabling 90 degree turns for trains and ships. - Requires NPF to be enabled. - Ships and trains can no longer make weird 90 degree turns on tile borders. - Codechange: Removed table/directions.h. - table/directions.h contained ugly static tables but was included more than once. The tables, along with a few new ones are in npf.[ch] now. Better suggestions for a location? - Fix: Binary heap in queue.c did not allocate enough space, resulting in a segfault. - Codechange: Rewritten FindFirstBit2x64, added KillFirstBit2x64. - Codechange: Introduced constant INVALID_TILE, to replace the usage of 0 as an invalid tile. Also replaces TILE_WRAPPED. - Codechange: Moved TileAddWrap() to map.[ch] - Add TileIndexDiffCByDir(), TileIndexDiffCByDir(). - Codechange: Moved IsTrainStationTile() to station.h - Add: IsRoadStationTile() and GetRoadStationDir().
2005-01-22(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() ↵tron
introduced in r1585
2005-01-19(svn r1571) Feature: Visually enhanced autorail placingdominik
When using the autorail tool, the rail pieces which are going to be build are highlighted. If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
2005-01-15(svn r1531) -Feature: [1039061] Swiss town-names (vulvulune)darkvater
2005-01-15(svn r1520) Trim 134 (!) lines with trailing whitespace ):tron
2005-01-12(svn r1489) -Fix: You fix a GCC warning, you get a MSVC warning.. now fixed ↵truelight
both (which compiler do we break this time?)
2005-01-12(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)truelight
-Fix: fixed some compiler-warnings
2005-01-11(svn r1479) -Added highscore chart (accessible from the difficulty window) ↵darkvater
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-10(svn r1453) Feature: MD5 hash check for TTD filesdominik
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-09(svn r1450) Updated norwegian townname generation (Simen Graaten)miham
2005-01-09(svn r1444) -Fix: fixed weight for double-head trains (and with that the ↵truelight
acceleration) (now maglev lvl4 can reach their top speed, and are faster than lvl3) (Tnx to Darkvater :)) -Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly
2005-01-09(svn r1438) Added norwegian townnamesmiham
2005-01-07(svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the codecelestar
2005-01-06(svn r1402) Trim trailing whitespacetron
2005-01-06(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDifftron
2005-01-04(svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. ↵darkvater
Anywhere where there are horizontal scrollers these are now left/right arrows
2005-01-03(svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater)truelight
-Fix: [Graphic] Added resize icon (tnx tokai)
2004-12-31(svn r1307) -Fix/feature: rewrote the townname generation code. Code is much ↵truelight
more readable now. 'American' is replaces by 'Additional English' (Jango)
2004-12-23(svn r1254) - Fix: [ 993500 ] High bridge rendering errordominik
- Changed button to open landscaping toolbar
2004-12-22(svn r1233) Fixed several currency issues. Now currencies should work ↵dominik
correctly again.
2004-12-22(svn r1222) Currency cleanup. Changed some currency symbols according to ↵dominik
forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
2004-12-22(svn r1215) Feature: You can now make a custom currency by chosing "Custom..."dominik
2004-12-15(svn r1121) -Feature: Added sticky windows feature. A small pin allows the ↵darkvater
user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San) -To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
2004-12-12(svn r1038) Feature: OpenTTD runs with the grf files of the DOS versiondominik
Please read the Readme for further information. There are some minor graphical glitches when you use the DOS files. E.g. the autorail button is a bit screwed up.
2004-12-12(svn r1030) Some toolbar icons are arranged differently:dominik
- Landscaping buttons have to be accessed from the landscaping toolbar - Landscaping toolbar can be opened from all other toolbars - The order of buttons in the docks toolbar now matches the other toolbars - Landscaping toolbar has new keyboard shortcuts
2004-12-09(svn r1001) -Changed the title name to OpenTTD. Don't know how this was ↵darkvater
missed all this time; but is fixed now.
2004-12-09(svn r999) New icons for the network interface, newgrf gui and the tiny eurodominik
2004-12-03(svn r907) Sprinkle holy ANSI water:tron
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
2004-11-26(svn r828) Everyone welcome table/sprites.h in trunk - so far not in use ↵pasky
besides enum AnimCursors migrated from viewport.h and tiny fragment of enum Sprites migrated from ttd.h (we should slowly convert trunk to use the symbolic names instead of sprite numbers too to reduce the delta to map). Ported from the map branch, where the work was done by Darkvater, Celestar and Tron.
2004-11-26(svn r827) Dye bridge ramps in the matching colours compared to the rest of ↵tron
the bridge This fix was created by Celestar
2004-11-26(svn r826) Seperate all bridge related tables from tunnel_land.h into their ↵tron
own file
2004-11-26(svn r822) Use a struct instead of pairs of bytes for the string colormap.tron
While here give the string colormap a more canonical name.
2004-11-26(svn r819) Code cleanup: colors for langfile strings are now taken from a ↵dominik
color table instead of a sprite
2004-11-24(svn r800) Check if the data tables for houses have the correct number of ↵tron
elements via compile time asserts
2004-11-22(svn r764) Enumerate the houses only one per town can exist and use the ↵tron
enums instead of magic numbers to check for these
2004-11-22(svn r760) Replace some bit-juggling with bit fieldstron
2004-11-21(svn r724) Remove restriction that a tile can only accept 3 cargo types.tron
This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-14(svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name ↵darkvater
actually makes some sense and is also compatible with TTDPatch (pasky).
2004-11-14(svn r577) -newgrf: fixed some typos of last commit (airports were looking ↵darkvater
weird)
2004-11-14(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h ↵darkvater
DrawTileSeqStruct hacks needed for custom station supports (pasky)
2004-11-13(svn r570) -newgrf: Support for custom aircrafts via GRF files. Planeset ↵darkvater
seems to work :). Also use aircraft_vehinfo() instead of the old tables (pasky).
2004-11-13(svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added ↵darkvater
AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
2004-11-13(svn r562) newgrf: Merge most of the road vehicle info to a singlecelestar
road_vehicle_info table, like it already is for trains and ships. Needed for GRF custom override support. (pasky)
2004-09-17(svn r283) New checkpoint graphics (drawn by Eobet and George)dominik
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-05(svn r161) -Fix: added missing file to project and solved wrong type bugdarkvater
2004-08-23(svn r115) Fix: monorail/maglev became available around 1927dominik