Commit Graph

17398 Commits

Author SHA1 Message Date
rubidium 564a50628c (svn r22257) [1.1] -Backport from trunk: language updates 2011-03-17 21:15:27 +00:00
rubidium 633454f0dd (svn r22252) [1.1] -Backport from trunk:
- Fix: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting [FS#4546] (r22249, r22248, r22247, r22246, r22245, r22244, r22243, r22242, r22241, r22236, r22228, r22227, r22226)
2011-03-14 19:03:17 +00:00
rubidium fbea0fc6b1 (svn r22251) [1.1] -Backport from trunk:
- Fix: [NewGRF] Object variable 0x48 was not available in callback 0x15C (r22231)
[1.1] -Update: the intro game (romazoon)
2011-03-14 18:10:24 +00:00
rubidium 30cf8d1971 (svn r22224) [1.1] -Backport from trunk:
- Fix: Compilation when compiling with --disable-ai (r22222)
- Fix: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice [FS#4543] (r22208)
- Fix: The 'center' (for movement) of vehicles is (currently still) always at 4/8th original vehicle length from the front, so trains should stop at the same location regardless of the length of the front engine [FS#4545] (r22206)
- Fix: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs (r22204)
- Fix: Removing a station order could stop when removing first automatic order (r22200)
- Fix: Invalidate the object build window when using the date cheat (r22193)
2011-03-07 19:18:38 +00:00
rubidium 01bc61309f (svn r22184) [1.1] -Prepare: for 1.1.0-RC2 2011-03-04 20:50:07 +00:00
rubidium 308b0d354c (svn r22183) [1.1] -Backport from trunk:
- Fix: Following a vehicle with a very high VehicleID was impossible (r22181)
[1.1] -Backport language changes from trunk
2011-03-04 19:04:42 +00:00
rubidium 1d2baecb5e (svn r22178) [1.1] -Backport from trunk:
- Fix: [NewGRF] Memory leak if an industry NewGRF had more than one prop A or 15, or a station NewGRF had more than one prop 09 (r22175, r22165)
- Fix: [NewGRF] Disable a station NewGRF when it contains an unterminated spritelayout in action0 prop 08 instead of crashing (r22164)
- Fix: Building a station part adjacent to both an existing station and a rail waypoint failed [FS#4541] (r22163)
2011-03-03 21:47:13 +00:00
rubidium 40f3583c54 (svn r22166) [1.1] -Backport from trunk:
- Fix: No update of NewGRF window when unknown GRF name becomes available [FS#4533] (r22162)
- Fix: [NewGRF] Industry prop 0x11 is 4-bytes long, not 3 bytes (r22157)
- Fix: Stations/infrastructure were not properly sold on some clients during bankruptcy [FS#4529] (r22154)
- Fix: The Greek translation did not work as it breached the 200.000 bytes 'limit' for loading language files [FS#4536] (r22153)
2011-03-03 20:48:24 +00:00
rubidium 5552c0a7e9 (svn r22152) [1.1] -Backport from trunk:
- Fix: Windows video driver crashed when it could not go to full screen at the resolution of the configuration file when starting OpenTTD [FS#4521] (r22149)
- Fix: Do not run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point (r22146)
- Fix: Some valid keycodes were ignored along with the invalid ones (r22142)
- Fix: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command [FS#4523] (r22141, r22140, r22135, r22134)
- Fix: [NewGRF] Skipping only the invalid part of an action14 failed, the rest of the action was skipped instead (r22138)
2011-02-26 20:13:14 +00:00
rubidium f2d2713f05 (svn r22151) [1.1] -Backport from trunk:
- Fix: Spectators had crashes when closing buoy windows (r22131)
- Fix: Build-station-window showed wrong selection when reopening [FS#4530] (r22128)
- Fix: Canals would get drawn as land in the smallmap when using the owner window (r22127)
- Fix: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite [FS#4528] (r22125)
- Fix: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item [FS#4522] (r22123)
2011-02-26 20:06:18 +00:00
rubidium cad2aa6b14 (svn r22150) [1.1] -Backport from trunk:
- Fix: When a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead. In other words, do not crash but show an error message (r22122)
- Fix: In case of high frame_freq one could get commands executed after a new network game was started (r22121)
- Fix: [NoAI] Prevent AIs from getting consistently over their allowed amount of operations by subtracting the amount they went over 'budget' from the budget for the next 'tick' (r22120)
- Fix: The refit window was not correctly updated after selecting with Ctrl+Click [FS#4525] (r22118)
- Fix: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road (r22117)
2011-02-26 20:03:44 +00:00
rubidium 96ab68d6bc (svn r22103) [1.1] -Prepare: for 1.1.0-RC1 2011-02-18 21:05:28 +00:00
rubidium 35fb1fe0e1 (svn r22100) [1.1] -Backport from trunk: language updates 2011-02-18 20:38:05 +00:00
rubidium fab07a9265 (svn r22099) [1.1] -Backport from trunk:
- Fix: Remove invalid keycodes when reading hotkeys.cfg [FS#4510] (r22094)
- Fix: The server list did not get sorted with one item in it, so the 'position in the list' variable was never updated causing problems when using the keyboard shortcuts for scrolling [FS#4514] (r22093)
- Fix: When deleting towns, only relocate objects during DC_EXEC (r22087)
2011-02-18 20:35:40 +00:00
rubidium 177135320d (svn r22088) [1.1] -Revert (r22041): assertions to check whether Pools are actually checked before allocation still triggered in some corner cases, so leave it in trunk but remove it from the 1.1 branch 2011-02-15 22:04:57 +00:00
rubidium 5be6a1c7e6 (svn r22082) [1.1] -Branch: for the 1.1 series 2011-02-14 20:19:53 +00:00
glx 1b2ef66416 (svn r22081) -Fix [FS#4489]: if fullscreen fails with current resolution, use desktop resolution 2011-02-14 20:16:36 +00:00
planetmaker 914f8e9f1d (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 2011-02-14 19:52:26 +00:00
terkhen 8e4b2c951d (svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change. 2011-02-14 19:39:01 +00:00
rubidium 95b6aeaabd (svn r22078) -Fix [FS#4499]: maximum train length interfered with wagon replacement when wagon removal was turned on 2011-02-14 19:18:12 +00:00
translators 95ec99132e (svn r22077) -Update from WebTranslator v3.0:
latvian - 2 changes by skazhy
2011-02-14 18:45:08 +00:00
smatz e8002f5b92 (svn r22076) -Fix (r22075): build failed with GCC 2011-02-14 12:39:45 +00:00
yexo 66543bde1d (svn r22075) -Fix [FS#4501]: newgrfs with invalid multi-tile houses could cause a valid 1x1 house following it to be seen as multi-tile, causing crashes 2011-02-13 21:44:00 +00:00
yexo b51c62f5af (svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed 2011-02-13 20:52:33 +00:00
yexo f1377a228f (svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight 2011-02-13 20:45:17 +00:00
rubidium 6a58f34878 (svn r22072) -Fix (r21966): flipping wasn't (correctly) disabled in some cases 2011-02-13 19:49:53 +00:00
yexo c7038d8b4d (svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus 2011-02-13 19:31:04 +00:00
rubidium befa79ba4a (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 2011-02-12 21:30:57 +00:00
rubidium a19bc28aba (svn r22069) -Fix: delete all savegame packets, not just the first one 2011-02-12 21:29:35 +00:00
rubidium adfd648031 (svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection 2011-02-12 21:09:34 +00:00
rubidium 92d0d6d10b (svn r22067) -Fix: don't hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again 2011-02-12 21:07:30 +00:00
rubidium ece59dc0d1 (svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full 2011-02-12 18:45:05 +00:00
rubidium 2d4d43d00c (svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built 2011-02-12 18:41:24 +00:00
rubidium d8cada7563 (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 2011-02-11 23:20:35 +00:00
rubidium 1dc5ba2210 (svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected 2011-02-11 22:10:10 +00:00
rubidium 7de823b1bd (svn r22062) -Fix: memory leak when saving fails mid-way 2011-02-11 21:30:26 +00:00
yexo 296af35741 (svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train 2011-02-11 20:54:49 +00:00
translators 37483180e8 (svn r22060) -Update from WebTranslator v3.0:
arabic_egypt - 46 changes by Company_director
hungarian - 20 changes by IPG
spanish - 1 changes by Terkhen
2011-02-11 18:45:13 +00:00
terkhen 8196b03074 (svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar. 2011-02-11 18:24:12 +00:00
rubidium b187352663 (svn r22058) -Fix (r22050): removing broken orders happened before the "front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore 2011-02-11 13:38:34 +00:00
rubidium 13fd2cd335 (svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash 2011-02-11 09:33:38 +00:00
rubidium 246f6fe478 (svn r22056) -Fix [FS#4408]: metric and imperial HP are not the same. As imperial HP are used internally, set a conversion rate for metric HP
-Change: make the imperial HP to kW conversions a bit more precise
2011-02-11 08:17:12 +00:00
yexo 5f18d6d828 (svn r22055) -Fix [FS#4490]: [Squirrel] some invalid squirrel code caused the squirrel compiler to crash 2011-02-11 06:18:39 +00:00
rubidium 66a8c324db (svn r22054) -Codechange: support for rounding the converted units to their closest integral value instead of flooring 2011-02-10 20:54:46 +00:00
terkhen 24983ec629 (svn r22053) -Fix: The land area information window was not updated after a language change. 2011-02-10 20:49:36 +00:00
translators a1b79246e8 (svn r22052) -Update from WebTranslator v3.0:
catalan - 11 changes by arnau
2011-02-10 18:45:06 +00:00
terkhen 57a969017b (svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding. 2011-02-10 18:32:08 +00:00
rubidium 50996e799b (svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has. 2011-02-10 18:28:25 +00:00
terkhen 096c2857ee (svn r22049) -Codechange: Add assert condition to GetRoadOwner. 2011-02-10 18:27:50 +00:00
glx 16dd93d3fb (svn r22048) -Fix (r4495): company 0 does not always exist, so put temporary vehicles in a valid company 2011-02-10 15:58:22 +00:00