rubidium
a325bef3f5
(svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo.
2008-01-17 02:10:55 +00:00
glx
4e847a9c52
(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown
2008-01-17 02:10:26 +00:00
rubidium
c141639bcc
(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI.
2008-01-17 02:09:34 +00:00
glx
2ad9edda91
(svn r11886) -Add: sort the strings in languages dropdown
2008-01-17 00:21:43 +00:00
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.
2008-01-17 00:06:36 +00:00
peter1138
b4ed1609bf
(svn r11884) -Cleanup: leftover use of widget numbers instead of enum
2008-01-16 23:46:46 +00:00
smatz
7eff702c0a
(svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile
2008-01-16 22:26:45 +00:00
smatz
fc2895e8c2
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
2008-01-16 21:17:31 +00:00
peter1138
df7286e7c1
(svn r11881) -Cleanup: Code style for global variables.
2008-01-16 18:34:53 +00:00
peter1138
e2724bed6c
(svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes.
2008-01-16 18:25:23 +00:00
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.
2008-01-16 17:43:46 +00:00
peter1138
c2ae2334ec
(svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player.
2008-01-16 16:52:50 +00:00
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
2008-01-16 15:48:36 +00:00
frosch
9a9a1dcb6c
(svn r11876) -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.)
2008-01-16 15:06:48 +00:00
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
2008-01-16 13:59:08 +00:00
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.
2008-01-16 11:25:15 +00:00
belugas
88206b8808
(svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones
2008-01-16 02:53:55 +00:00
bjarni
48c2669185
(svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP
2008-01-16 01:27:24 +00:00
smatz
61e40b1aa5
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
2008-01-16 01:18:15 +00:00
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
2008-01-16 00:33:28 +00:00
rubidium
7e96113c4d
(svn r11868) -Fix: some files were still mentioning that beta1 is the latest release when that's not the case.
2008-01-15 20:44:31 +00:00
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.
2008-01-15 18:51:46 +00:00
rubidium
736640fd87
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15 18:44:22 +00:00
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.
2008-01-15 16:30:08 +00:00
smatz
81cad58c68
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
2008-01-15 15:00:01 +00:00
peter1138
c954ce1b33
(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list.
2008-01-15 13:20:58 +00:00
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.
2008-01-15 13:19:49 +00:00
smatz
e0c61a8921
(svn r11861) -Fix: do not call rail specific functions when removing road tunnel/bridge
2008-01-15 11:45:29 +00:00
peter1138
ef704510cd
(svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit.
2008-01-15 11:43:06 +00:00
peter1138
b4d476b7d1
(svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list.
2008-01-15 10:36:51 +00:00
peter1138
327ea90331
(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368)
2008-01-15 08:14:22 +00:00
rubidium
c7f9705e4a
(svn r11857) -Fix: some compile time warnings.
2008-01-15 00:48:14 +00:00
glx
d4e8ffd7b3
(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore.
2008-01-15 00:11:28 +00:00
glx
8344327a91
(svn r11855) -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs
2008-01-15 00:03:48 +00:00
peter1138
6fa0463d79
(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun
2008-01-14 20:52:43 +00:00
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
2008-01-14 20:30:05 +00:00
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)
2008-01-14 20:06:18 +00:00
belugas
e91e9d9b4e
(svn r11851) -Codechange: A few magic numbers removal, plus a little code style
2008-01-14 18:19:29 +00:00
peter1138
a4ba98af86
(svn r11850) -Fix (r11848): forgot to update vc project files
2008-01-14 16:40:31 +00:00
peter1138
85e49e6290
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
2008-01-14 16:35:49 +00:00
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.
2008-01-14 16:10:58 +00:00
smatz
c6de18c3db
(svn r11847) -Fix: do not affect the speed a train is entering a depot by trackbits behind it
2008-01-14 14:46:09 +00:00
peter1138
7475bf20ec
(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC.
2008-01-14 11:18:43 +00:00
smatz
a9f69f387d
(svn r11845) -Codechange: simplify train collision detection a bit
2008-01-13 23:53:33 +00:00
glx
88e16866bc
(svn r11844) -Fix: road vehicle count was incorrect in network lobby window
2008-01-13 22:27:06 +00:00
smatz
b3bf60000e
(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from flooded tile
2008-01-13 22:12:39 +00:00
rubidium
f57ab9f99f
(svn r11842) -Fix: libtimidity.cpp did not compile anymore.
2008-01-13 22:10:54 +00:00
glx
b1951ac447
(svn r11841) -Fix: win32 compilation
2008-01-13 22:07:33 +00:00
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.
2008-01-13 21:51:53 +00:00
rubidium
df12937f19
(svn r11839) -Codechange: move some variables from variables.h to a more logical location.
2008-01-13 21:41:24 +00:00