Commit Graph

8321 Commits (20c2de3ace9f53ab96077a49953311fba5a0f1c4)
 

Author SHA1 Message Date
peter1138 20c2de3ace (svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect is that it is now possible for any widget type to be shown disabled. 17 years ago
peter1138 b4ed1609bf (svn r11884) -Cleanup: leftover use of widget numbers instead of enum 17 years ago
smatz 7eff702c0a (svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile 17 years ago
smatz fc2895e8c2 (svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places 17 years ago
peter1138 df7286e7c1 (svn r11881) -Cleanup: Code style for global variables. 17 years ago
peter1138 e2724bed6c (svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes. 17 years ago
peter1138 389f8e0d8f (svn r11879) -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free. 17 years ago
peter1138 c2ae2334ec (svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player. 17 years ago
smatz 3ad8b79550 (svn r11877) -Fix: another way to crash competitors' train in a station
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
17 years ago
frosch 9a9a1dcb6c (svn r11876) -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.) 17 years ago
bjarni a09b0e21e4 (svn r11875) -Fix: automatically sending aircraft to depot for autoreplace/renew is now triggered by the correct conditions
Now it triggers by the following conditions:
  - aircraft is old enough for renew or needs to be autoreplaced
  - player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one)
  - aircraft has no hangars in it's order list
  - new aircraft is buildable (imagine autorenewing a retired design)
  This triggers right after a helicopter takes off or when a plane touches the ground while landing

  Another effect of this change is that this functionality no longer generates network traffic
17 years ago
rubidium 049e615cfb (svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get the livery colour of the engine instead of their wagon type. 17 years ago
belugas 88206b8808 (svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones 17 years ago
bjarni 48c2669185 (svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP 17 years ago
smatz 61e40b1aa5 (svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station 17 years ago
smatz 70a9c544b8 (svn r11870) -Fix: slow down train when approaching tile we can't enter in more cases
(tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype)
-Fix: do not make crossing red when we can't enter it in any case
17 years ago
rubidium 7e96113c4d (svn r11868) -Fix: some files were still mentioning that beta1 is the latest release when that's not the case. 17 years ago
rubidium a3a5ff6057 (svn r11867) -Fix: do not reset changes to persistent storages during world generation.
-Fix: store changes to persistent storages after performing all the game logic instead of resetting them.
17 years ago
rubidium 736640fd87 (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. 17 years ago
peter1138 e938855375 (svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list. 17 years ago
smatz 81cad58c68 (svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later 17 years ago
peter1138 c954ce1b33 (svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list. 17 years ago
rubidium fcee6dad93 (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. 17 years ago
smatz e0c61a8921 (svn r11861) -Fix: do not call rail specific functions when removing road tunnel/bridge 17 years ago
peter1138 ef704510cd (svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit. 17 years ago
peter1138 b4d476b7d1 (svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list. 17 years ago
peter1138 327ea90331 (svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368) 17 years ago
rubidium c7f9705e4a (svn r11857) -Fix: some compile time warnings. 17 years ago
glx d4e8ffd7b3 (svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore. 17 years ago
glx 8344327a91 (svn r11855) -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs 17 years ago
peter1138 6fa0463d79 (svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun 17 years ago
bjarni 224d7afe3d (svn r11853) -Fix [r11837]: [OSX] reconfigure killed the space in shared-dir
Thanks to TrueLight for finding the solution to this one
  Note: if the shared-dir setting is already broken due to this then you have to manually run configure again
17 years ago
miham ccd557fa54 (svn r11852) -Update: WebTranslator2 update to 2008-01-14 21:05:38
brazilian_portuguese - 36 changed by fukumori (36)
korean     - 1 fixed by leejaeuk5 (1)
piglatin   - 20 fixed by adammw (20)
portuguese - 1 fixed by nars (1)
17 years ago
belugas e91e9d9b4e (svn r11851) -Codechange: A few magic numbers removal, plus a little code style 17 years ago
peter1138 a4ba98af86 (svn r11850) -Fix (r11848): forgot to update vc project files 17 years ago
peter1138 85e49e6290 (svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation 17 years ago
peter1138 1fa2285327 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. 17 years ago
smatz c6de18c3db (svn r11847) -Fix: do not affect the speed a train is entering a depot by trackbits behind it 17 years ago
peter1138 7475bf20ec (svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC. 17 years ago
smatz a9f69f387d (svn r11845) -Codechange: simplify train collision detection a bit 17 years ago
glx 88e16866bc (svn r11844) -Fix: road vehicle count was incorrect in network lobby window 17 years ago
smatz b3bf60000e (svn r11843) -Fix: mark dirty canal tile even in diagonal direction from flooded tile 17 years ago
rubidium f57ab9f99f (svn r11842) -Fix: libtimidity.cpp did not compile anymore. 17 years ago
glx b1951ac447 (svn r11841) -Fix: win32 compilation 17 years ago
rubidium 9ac26e1bf1 (svn r11840) -Codechange: split network.h so not everything in there needs to be included when wanting to know whether we are a server. 17 years ago
rubidium df12937f19 (svn r11839) -Codechange: move some variables from variables.h to a more logical location. 17 years ago
smatz 5d379d6696 (svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile 17 years ago
bjarni adf1e34ead (svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
It is possible to set this to something else setting shared-dir with config
  This works on other OSes as well but it's off by default (and not really tested)
17 years ago
bjarni 6c4ebd91ea (svn r11836) -Fix [r11834]: [OSX] fixed compilation 17 years ago
smatz b3e28dc5ad (svn r11835) -Fix: mark depot, viewports, vehicle lists and vehicle details dirty when a train crashes 17 years ago