Commit Graph

3057 Commits

Author SHA1 Message Date
Darkvater c2e9eb7d7b (svn r4931) - Backport from trunk (r4766):
Vehicles on a sloped tile under a bridge were affected by the bridge speed limit
2006-05-20 20:16:08 +00:00
Darkvater ec9870a611 (svn r4930) - Backport from trunk (r4859):
Fix issue with train pathfinding over level crossings.
2006-05-20 18:43:59 +00:00
Darkvater 1f9a69bc89 (svn r4929) - Backport from trunk (r's and lots of it):
Language changes. It seems no strings are missing, good job translators :D
2006-05-20 18:41:11 +00:00
Darkvater a707c043fc (svn r4926) - Backport from trunk (r4914):
Aircraft can now serve as feeders
2006-05-20 17:36:06 +00:00
Darkvater 587cedc35b (svn r4925) - Backport from trunk (r4911):
The AI no longer attempts to build signals under bridges.
2006-05-20 17:35:11 +00:00
Darkvater f5e0e18dca (svn r4924) - Backport from trunk (r4906):
Refresh build vehicle window (if opened) when converting rail depot
2006-05-20 17:33:36 +00:00
Darkvater 5c8bd4b143 (svn r4923) - Backport from trunk (r4892):
Crash when sorting an empty server list.
2006-05-20 17:22:32 +00:00
Darkvater d1ca343504 (svn r4922) - Backport from trunk (r4827):
The build-tree window button defaulted to a place-push-button on opening where
  no treetype is selected.
2006-05-20 17:14:54 +00:00
Darkvater a27b563c40 (svn r4921) - Backport from trunk (r4825, r4826, r4829):
Game crashes when cloning/autoreplace reaches train-limit
2006-05-20 17:11:09 +00:00
Darkvater f6e8773297 (svn r4919) - Backport from trunk (r4812, r4008, r4110):
NTP properly checks for railtypes on non-plain-rail-tiles
2006-05-20 15:54:46 +00:00
Darkvater 0f012198c4 (svn r4894) - Backport from trunk (r4750):
Trains could enter certain sloped rail tiles under bridges with incompatible rail type
2006-05-16 22:11:15 +00:00
Darkvater d27bedce36 (svn r4893) - Fix (FS#57): Disable NPF totally for ships as it wholly kills performance (blathijs). Only for 0.4/ branch and 0.4.8. 2006-05-16 21:38:41 +00:00
Darkvater 8892c1d1de (svn r4731) - Backport from trunk (r4203):
Fix: compile on older mingw32 versions (3.1.0)
2006-05-03 21:57:09 +00:00
Darkvater 660d991cc1 (svn r4730) - Backport from trunk (r4690):
Fix (r4668, br4301): Editing a too long string in the editbox resulted in improper strings
  Update about box with Mihamix's real name
2006-05-03 21:40:45 +00:00
Darkvater 63a1bc7ee7 (svn r4728) - Backport from trunk (r4689):
Codechange: correct parameter order or calloc, and use the sizeof
  the variable rather than a struct
2006-05-03 21:35:10 +00:00
Darkvater 2aba4c3354 (svn r4727) - Backport from trunk (r4688):
Fix: Ensure the map memory is cleared after it is allocated. This fixes
  random deserts that sometimes occurred.
2006-05-03 21:34:07 +00:00
Darkvater 4021f48c58 (svn r4726) - Backport from trunk (r4373, r4374, r4402):
Fix: Some weird behaviour with tile selection near bridges
2006-05-03 21:28:48 +00:00
Darkvater ca6ccf035f (svn r4718) - Backport from trunk (r4715):
Fix: Don't allow PF to enter train depot from the back (signal updates)
2006-05-03 20:25:10 +00:00
Darkvater f2143b3d9b (svn r4717) - Backport from trunk (r4466):
Fix: Game no longer crashes when the last vehicle serving a station has been
  deleted. This is not exactly the same fix as in trunk/ where it might still
  accept types of invalid types but it doesn't crash anymore. The true fix is
  not possible without a savegame bump.
2006-05-03 20:09:28 +00:00
Darkvater 9c97eb32ba (svn r4701) - Backport from trunk (r4520):
Fix: Reset the last built railtype when starting a new game
2006-05-02 21:19:48 +00:00
Darkvater f9fc273d2a (svn r4695) - Backport language changes from trunk up to r4592. 2006-05-02 19:52:56 +00:00
Darkvater 343fdd71ef (svn r4687) - Backport from trunk (r4674):
Codechange: use correct parameter order for allocating sound file memory
2006-05-02 14:14:04 +00:00
Darkvater 3d8b1c4fec (svn r4686) - Backport from trunk (r4639):
Feature: Turksih town names (Turkish is in the lang/ folder, so
  town names are appropiate)
2006-05-02 14:12:19 +00:00
Darkvater 00c45347fd (svn r4685) - Backport from trunk (r4599):
Fix: Cloned vehicles get the same service interval as the original vehicle
2006-05-02 14:06:15 +00:00
Darkvater 6fc56409e6 (svn r4684) - Backport from trunk (r4591):
Fix: Game no longer errors out when "Many random towns" is selected
  in the scenario editor.
2006-05-02 14:02:23 +00:00
Darkvater 8e4cf4d599 (svn r4683) - Backport from trunk (r4586):
Codechange: Recursive commands that rely on _error_message to handle
  success/failure can fail if a recursive call fails but doesn't set the 
  error message, thus resulting in an old, possibly erroneous being used
2006-05-02 14:00:26 +00:00
Darkvater 52d25fe06f (svn r4682) - Backport from trunk (r4585, r4950):
Fix: Obscure road dragging bug. The road build command did not 
  return the appropiate error message of invalid-slope when building road.
2006-05-02 13:58:43 +00:00
Darkvater 17b691188d (svn r4681) - Backport from trunk (r4576):
Fix : Temperate bank will no longer appear (during game) in
  tropic landscape. This bug is from the original game.
2006-05-02 13:50:30 +00:00
Darkvater ec18908c82 (svn r4680) - Backport from trunk (r4560):
Fix: Remove VS2005 undefined vsnprintf() as it doesn't exist
  in the windows libraries (only _vsnprintf). This caused the bad
  function to be called that could result in non-properly terminated
  strings
2006-05-02 13:48:33 +00:00
Darkvater 271af9fbfc (svn r4679) - Backport from trunk (r4521):
Fix: be consistent about the size of the player-name in MP. This
  hopefully fixes a crash on lesser OS's (eg Win98)
2006-05-02 13:47:00 +00:00
Darkvater ba6fcc84c8 (svn r4678) - Backport from trunk (r4518, r4558):
Fix: specify the 'stopall' console command as a debug command.
2006-05-02 13:44:41 +00:00
Darkvater a8ddd50157 (svn r4677) - Backport from trunk (r4508):
Fix: Fixed a problem that caused DeliverGoodsToIndustry to not work 
  as intended
2006-05-02 13:42:33 +00:00
Darkvater dcfd3acc8f (svn r4676) - Backport from trunk (r4505):
Fix: Ships can now be used to set up feeders as well.
2006-05-02 13:37:36 +00:00
Darkvater d5bcaec677 (svn r4675) - Backport from trunk (r4501):
Fix: When, in a train that has multiple engines in front, the _first_
  of those engines is sold, all the orders are copied to the second
  engine (to ensure "seamless" operation). The next_shared/prev_shared
  pointers where not updated correctly during this operation.
2006-05-02 13:36:38 +00:00
Darkvater a336c7cd0c (svn r4673) - Backport from trunk (r4468):
Correct declaration of NORETURN for gcc
2006-05-02 13:30:13 +00:00
Darkvater a343d86500 (svn r4672) - Backport from trunk (r4467):
New plantations now cause the correct ".. being planted .." news item
2006-05-02 13:29:06 +00:00
Darkvater 61370f9e14 (svn r4671) - Backport from trunk (r4445):
Danish town names were saved/loaded as Swiss (previous in the list)
2006-05-02 13:27:19 +00:00
Darkvater f7228e0b3a (svn r4670) - Backport from trunk (r4435):
In CmdRemoveRoad tiletype was not checked for ownership (heavily edited)
2006-05-02 13:25:03 +00:00
Darkvater eb703a5768 (svn r4669) - Backport from trunk (r4343):
[Autoreplace] Fix drawing of train list for outdated engines.
2006-05-02 13:11:00 +00:00
Darkvater f0e3fa29e5 (svn r4668) - Backport from trunk (r4301):
Fix: the maxlength parameter of Textbuf is supposed to be the siz
  of the buffer (so length of string + '\0'), but in the code it 
  was a mix of both.
2006-05-02 13:07:23 +00:00
Darkvater aba21dd563 (svn r4667) - Backport from trunk (r4291):
Fix: validate all received strings for correctness. This fixes
  potential crashes on hacked clients/servers
2006-05-02 13:00:07 +00:00
Darkvater f8eb72e188 (svn r4666) - Backport from trunk (r4267):
Validate the error number that a client receives from a server, and
  encapsulate this functionality into GetNetworkErrorMsg()
2006-05-02 12:58:13 +00:00
Darkvater f9a2d113ab (svn r4665) - Backport from trunk (r4241, r4243):
Fix: Perform validation on the error number that a server receives
  from a client. An invalid value may cause the server to terminate.
2006-05-02 12:54:23 +00:00
Darkvater f26027da17 (svn r4664) - Backport from trunk (r4228):
Fix: [autoreplace] allow replacement of wagons even when the
  engine fails to be replaced
2006-05-02 12:52:09 +00:00
Darkvater a32fdb390f (svn r4663) - Backport from trunk (r4195):
Codechange: Initialize order variables to avoid a compiler warning.
2006-05-02 12:47:51 +00:00
Darkvater 8bfb955d4b (svn r4662) - Backport from trunk (r4192):
Fix: In the depot, moving wagons from the end of a very long train
  to a short train where the short train was scrolled off the window
  would cause a game crash.
2006-05-02 12:44:55 +00:00
Darkvater 3a3a1da4e7 (svn r4661) - Backport from trunk (r3865-r3867, r3869, r3870, r3873, r3894, r4059, r4064-r4066, r4217):
Add: a fully optional configure script, that is a wrapper
  around makefile.config
2006-05-02 12:42:21 +00:00
Darkvater ec47441ce4 (svn r4660) - Backport from trunk (r4183, r4197, r4217):
Codechange: [Makefile]: removed MANUAL_CONFIG as it's not used anymore
  This should hopefully fix the issue where WITH_SDL can be defined while
  SDL_CONFIG is not. Added an error if WITH_SDL is defined but SDL_CONFIG
  is not.
  Replace the dash of SDL_CONFIG/LIBPNG_CONFIG with an underscore
2006-05-02 12:28:35 +00:00
Darkvater 39ebb55b9b (svn r4659) - Backport from trunk (r4158):
Fix: [autoreplace] cost for refitting the new vehicle is now
  added to the cost animation. The player always paid for it, but
  it was not displayed until now
2006-05-02 12:17:16 +00:00
bjarni c59beffe6b (svn r4624) -Backported r4149 from trunk
main reason is that it fixes the load/save issue for OSX 10.3.9, but the other stuff in this commit can't be taken as it's a result of the fix

full commit log entry:
  -Codechange: [OSX] rewrite of how universal binaries are compiled

    Now OSX stores object files in .OSX and instead of making FAT object files, there are one for each architecture
    Each architecture got their own targets to make a non-FAT binary and in the end, lipo will merge them into one binary

    It's now possible to select which architectures you want to support by defining OTTD_PPC, OTTD_PPC970 (G5) and/or OTTD_i386
    All combos are supported. UNIVERSAL_BINARY and TRIPLE_BINARY can still be used even though it's possible to gain the same result by using the new flags
    Making a universal build when you already got part of it compiled (say the PPC part), it will reuse it and only compile the i386 part to save time
    Note: in some cases when you switch flags, you risk that openttd is not updated. Delete it and try again. The Makefile can't solve this except if it forces linking each time

    This fixes: FS#87 universal binary building borked in 0.4.7
    Now universal binaries work on OSX 10.3.9 again

    Building universal binaries no longer needs to store flags in Makefile.config as the new design makes it possible to figure everything out automatically
2006-04-29 14:38:21 +00:00