Commit Graph

1306 Commits (c753037d874840d328aa7bcdd9d71477f2c57af9)
 

Author SHA1 Message Date
bjarni 60c07f7a9e (svn r1709) - Feature: [autoreplace] ships now automatically goes to a depot if they need to be replaced 20 years ago
bjarni f33013a37b (svn r1708) - Fix: FindNearestHangar() will no longer return a hangar where a jet will crash if it is a jet, that is searching
- Codechange: Since planes move in strait lines in 8 directions, GetTileDistAdv() is used instead of manhatten distance in FindNearestHangar()
20 years ago
bjarni 6d52ee4962 (svn r1707) - Feature: [autoreplace] road vehicles now tries to find a depot if they needs to be replaced 20 years ago
tron 400f07fdb8 (svn r1706) Implement ScaleByMapSize() and ScaleByMapSize1D()
These scale a number relative to the map size/circumference.
Use them to scale the amount of map objects.
Of course at the moment they return just the input, because there are no bigger/smaller maps yet.
20 years ago
dominik 6d410929b6 (svn r1705) Sign owner variable is a byte, not int32 of course 20 years ago
dominik 936979c957 (svn r1704) - Fix: [newgrf] rotors of custom helicopters are displayed correctly in the hangar window 20 years ago
dominik ea3eb8cbfa (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 20 years ago
dominik ecd8952ef9 (svn r1702) - Fix: [ 1110407 ] Game does not crash any more when a newgrf file doesn't exist 20 years ago
tron dba55a5742 (svn r1701) Style police ^^ 20 years ago
bjarni 72b9358291 (svn r1700) - Fix: Hacked clients can no longer be used to build vehicles that are not available yet (Hackykid) 20 years ago
bjarni 690027d1ab (svn r1699) - Feature [autoreplace] a plane will now go to the hangar right after landing if it needs to be replaced
- Fix     [autoreplace] fixed a typo that could prevent autoreplaced aircraft from automatically go to a hangar
20 years ago
bjarni e7e26a9db0 (svn r1698) - Feature [autoreplace] helicopters will now go to the nearest hangar if they are set to autoreplace and don't have any airport with a hangar in
schedule
20 years ago
tron bbde9225f4 (svn r1697) Remove superflous special case for the VOID border tiles in FindLandscapeHeightByTile()
While here clean up some other stuff: uint -> TileIndex, assert() that the TileIndex is valid and remove a line which was already commented out
20 years ago
tron 372b9cb827 (svn r1696) Use GetTileSlope() instead of FindLandscapeHeightByTile() where it is sufficient. FindLandscapeHeightByTile() uses GetTileSlope() internally and adds some more info, which is discarded in these cases.
While touching the code make a bit more clear how GetBridgeHeight() works.
20 years ago
Celestar 697b619ac1 (svn r1695) -Fix: I broke maximum speed sorting for anything but trains with the new acceleration. Sorry 20 years ago
celestar 558dcd8ee0 (svn r1694) -Fix: Forgot to remove a DEBUG statement :( 20 years ago
Celestar 0a531338e9 (svn r1693) -Fix: [ 1108618 ] A wrong error message was displayed when trying to
expand railroad stations beyond maximum spread
20 years ago
truelight b922559702 (svn r1691) -Fix: oops, forgot to bump the company-info-version 20 years ago
bjarni 7b242e2ea9 (svn r1690) - Fix: [autoreplace] Cheaters can no longer exploit autoreplace to get vehicles, that's not invented yet
- Fix: [autoreplace] Fixed a stupid bug introduced in r1687, that made a crash if anybody tried to autoreplace anything but an aircraft
20 years ago
truelight 65b55ffafe (svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work 20 years ago
bjarni 1d4de01a63 (svn r1687) - Feature: [autoreplace] server now checks for plane<->helicopter replacement and reject replacement if needed 20 years ago
tron 556c153a2d (svn r1686) Fix (Work around?) crash when generating tropical maps 20 years ago
dominik 0ec604ad0f (svn r1685) - Fix: [newgrf] airplanes from grf sets are not treated as helicopters, as introduced in r1682 20 years ago
bjarni 3fb831b0ae (svn r1684) - Fix: [autoreplace] made sure that planes only show planes in replace GUI and helicopters only show helicopters 20 years ago
tron 60e59e186d (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 20 years ago
dominik f20758441c (svn r1682) - Fix: [newgrf] Helicopters from grf sets are now correctly recognized 20 years ago
celestar ccd4f53a34 (svn r1681) -Feature: New realistic acceleration.
This will make things more difficult as narrow curves
          and depots impose rather strict speed limits. Feedback welcome
          For those who don't like low-speed curves: Switch it off
20 years ago
bjarni bd8b10d250 (svn r1680) Feature: Replace train GUI now remembers the railtype selected in the dropdown menu 20 years ago
bjarni d7fc1b2c69 (svn r1679) Fix: dropdown menus now returns the index of the string that was clicked even if a previous item is hidden
This bug was not triggered by the current code, but it's easier to code new features if you do not have to think about such limitations 
like you can't hide an item in the middle of the list ;)
20 years ago
miham 08727614fc (svn r1678) Added cheat option for setting production of raw-material product industries in game 20 years ago
tron 9ec4efe4ce (svn r1677) Forgot to change the save/load size for 3 variables 20 years ago
tron 07cb3068ae (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
WARNING: If i made any mistake here it WILL lead to corrupted savegames!
20 years ago
tron cb1f1921f6 (svn r1675) Ignore scenario files 20 years ago
dominik 04c2f1dd6c (svn r1674) - Fix: Signs are now displayed in the correct color at all zoom levels 20 years ago
dominik 8a1aff126b (svn r1673) - Codechange: Removed some redundant comments from r1667
Saving the player color for signs will work right after the savegame bump
20 years ago
tron b85925cbae (svn r1672) Simplify dependency tracking and actually implement it for C++ files, too.
Note: Do "make clean" to get rid of the old dependency files
20 years ago
tron fd8c74c83c (svn r1671) Remove WARNING_DISPLAY, because it contained no warning, but an optimization flag 20 years ago
tron 63fdd4d6be (svn r1670) Garbage collect some variables, because they are only used once and hide magic, like containing -o where a filename must be the next parameter 20 years ago
tron 489f68a083 (svn r1669) Rename all ttd_XXX to just XXX, because we already know who we are (; 20 years ago
darkvater f564fa528f (svn r1668) -Fixed windows installer (autorail.grf) and a changelog typo 20 years ago
dominik 85e768c11f (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)
20 years ago
tron de64977957 (svn r1666) Move some MorphOS compile flags to a place where they actually belong 20 years ago
tron c340be487b (svn r1665) Remove VERBOSE flag, because it was only partially implemented
Add "info" target instead, which prints out some relevant variables used in the Makefile
20 years ago
bjarni ac148b1dec (svn r1664) Makefile: removed the forced 0.3.6 version tag 20 years ago
darkvater 13c5f2608f (svn r1662) -Fix: Unpause Linkgames scenario per default 20 years ago
bjarni 2ff0cbdd54 (svn r1661) Makefile: added scenario to make install 20 years ago
dominik f754f932b8 (svn r1660) Added scenarios to Mandrakelinux specs file 20 years ago
bjarni d667447ef0 (svn r1659) Makefile: added scenario to mac and MorphOS release scripts 20 years ago
darkvater e9364f60a9 (svn r1658) -Update readme and windows installer for 0.3.6
-Fix up VS6 and add new default icon for OpenTTD
20 years ago
bjarni 729ee0d47d (svn r1657) changelog update 20 years ago