Commit Graph

1203 Commits

Author SHA1 Message Date
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.
2005-01-28 15:31:04 +00:00
dominik
6d410929b6 (svn r1705) Sign owner variable is a byte, not int32 of course 2005-01-28 12:21:04 +00:00
dominik
936979c957 (svn r1704) - Fix: [newgrf] rotors of custom helicopters are displayed correctly in the hangar window 2005-01-28 12:20:06 +00:00
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 2005-01-28 09:30:19 +00:00
dominik
ecd8952ef9 (svn r1702) - Fix: [ 1110407 ] Game does not crash any more when a newgrf file doesn't exist 2005-01-28 08:56:43 +00:00
tron
dba55a5742 (svn r1701) Style police ^^ 2005-01-27 21:18:03 +00:00
bjarni
72b9358291 (svn r1700) - Fix: Hacked clients can no longer be used to build vehicles that are not available yet (Hackykid) 2005-01-27 21:00:05 +00:00
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
2005-01-27 20:38:19 +00:00
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
2005-01-27 15:43:44 +00:00
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
2005-01-27 15:30:34 +00:00
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.
2005-01-27 12:52:20 +00:00
Celestar
697b619ac1 (svn r1695) -Fix: I broke maximum speed sorting for anything but trains with the new acceleration. Sorry 2005-01-27 11:33:14 +00:00
celestar
558dcd8ee0 (svn r1694) -Fix: Forgot to remove a DEBUG statement :( 2005-01-27 11:25:32 +00:00
Celestar
0a531338e9 (svn r1693) -Fix: [ 1108618 ] A wrong error message was displayed when trying to
expand railroad stations beyond maximum spread
2005-01-27 09:43:24 +00:00
truelight
b922559702 (svn r1691) -Fix: oops, forgot to bump the company-info-version 2005-01-26 19:51:29 +00:00
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
2005-01-26 19:43:22 +00:00
truelight
65b55ffafe (svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work 2005-01-26 19:40:21 +00:00
bjarni
1d4de01a63 (svn r1687) - Feature: [autoreplace] server now checks for plane<->helicopter replacement and reject replacement if needed 2005-01-26 19:03:01 +00:00
tron
556c153a2d (svn r1686) Fix (Work around?) crash when generating tropical maps 2005-01-26 18:59:10 +00:00
dominik
0ec604ad0f (svn r1685) - Fix: [newgrf] airplanes from grf sets are not treated as helicopters, as introduced in r1682 2005-01-26 18:39:35 +00:00
bjarni
3fb831b0ae (svn r1684) - Fix: [autoreplace] made sure that planes only show planes in replace GUI and helicopters only show helicopters 2005-01-26 18:18:00 +00:00
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 2005-01-26 18:17:50 +00:00
dominik
f20758441c (svn r1682) - Fix: [newgrf] Helicopters from grf sets are now correctly recognized 2005-01-26 17:36:59 +00:00
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
2005-01-26 12:51:04 +00:00
bjarni
bd8b10d250 (svn r1680) Feature: Replace train GUI now remembers the railtype selected in the dropdown menu 2005-01-26 12:42:29 +00:00
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 ;)
2005-01-26 11:23:54 +00:00
miham
08727614fc (svn r1678) Added cheat option for setting production of raw-material product industries in game 2005-01-26 10:52:23 +00:00
tron
9ec4efe4ce (svn r1677) Forgot to change the save/load size for 3 variables 2005-01-26 05:51:27 +00:00
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!
2005-01-25 21:43:57 +00:00
tron
cb1f1921f6 (svn r1675) Ignore scenario files 2005-01-25 21:00:38 +00:00
dominik
04c2f1dd6c (svn r1674) - Fix: Signs are now displayed in the correct color at all zoom levels 2005-01-25 20:47:02 +00:00
dominik
8a1aff126b (svn r1673) - Codechange: Removed some redundant comments from r1667
Saving the player color for signs will work right after the savegame bump
2005-01-25 17:05:38 +00:00
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
2005-01-25 16:10:06 +00:00
tron
fd8c74c83c (svn r1671) Remove WARNING_DISPLAY, because it contained no warning, but an optimization flag 2005-01-25 16:03:45 +00:00
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 2005-01-25 15:59:01 +00:00
tron
489f68a083 (svn r1669) Rename all ttd_XXX to just XXX, because we already know who we are (; 2005-01-25 15:46:32 +00:00
darkvater
f564fa528f (svn r1668) -Fixed windows installer (autorail.grf) and a changelog typo 2005-01-25 15:43:27 +00:00
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)
2005-01-25 15:38:36 +00:00
tron
de64977957 (svn r1666) Move some MorphOS compile flags to a place where they actually belong 2005-01-25 15:38:35 +00:00
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
2005-01-25 15:35:11 +00:00
bjarni
ac148b1dec (svn r1664) Makefile: removed the forced 0.3.6 version tag 2005-01-25 00:13:48 +00:00
darkvater
13c5f2608f (svn r1662) -Fix: Unpause Linkgames scenario per default 2005-01-25 00:07:58 +00:00
bjarni
2ff0cbdd54 (svn r1661) Makefile: added scenario to make install 2005-01-25 00:07:50 +00:00
dominik
f754f932b8 (svn r1660) Added scenarios to Mandrakelinux specs file 2005-01-24 23:58:12 +00:00
bjarni
d667447ef0 (svn r1659) Makefile: added scenario to mac and MorphOS release scripts 2005-01-24 23:52:59 +00:00
darkvater
e9364f60a9 (svn r1658) -Update readme and windows installer for 0.3.6
-Fix up VS6 and add new default icon for OpenTTD
2005-01-24 23:44:24 +00:00
bjarni
729ee0d47d (svn r1657) changelog update 2005-01-24 23:32:58 +00:00
dominik
60d6fdde1b (svn r1656) Sorry, this is of course the 2004 version of Linkgame Islands 2005-01-24 23:28:47 +00:00
dominik
2e30dbcd12 (svn r1655) Add: Three brand new scenarios for endless multiplayer pleasure:
- Linkgame Islands (by sign_de)
 - Mountain Pass (by Korenn)
 - Volcano City (aka The Big City, by lucaspiller)
2005-01-24 23:24:34 +00:00
dominik
9a88f911c5 (svn r1654) updated changelog and known-bugs for 0.3.6 2005-01-24 23:04:30 +00:00