summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-17(svn r11895) -Fix (r11875): for once MSVC warns for a good reasonglx
2008-01-17(svn r11894) -Cleanup: Remove strings removed from english.txt in r11893peter1138
2008-01-17(svn r11893) -Codechange: build map size drop downs dynamically and remove ↵peter1138
unneeded strings
2008-01-17(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ↵peter1138
ungrouped is not technically a valid group, and ensure dropdown is removed on any click in the window.
2008-01-17(svn r11889) -Change: small inconsistency between documentation and code. ↵rubidium
Patch by Yexo.
2008-01-17(svn r11888) -Codechange: simplify sorting of the strings in town names dropdownglx
2008-01-17(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due ↵rubidium
uninitialized memory in the AI.
2008-01-17(svn r11886) -Add: sort the strings in languages dropdownglx
2008-01-17(svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect ↵peter1138
is that it is now possible for any widget type to be shown disabled.
2008-01-16(svn r11884) -Cleanup: leftover use of widget numbers instead of enumpeter1138
2008-01-16(svn r11883) -Fix (r11864): assert when trying to remove rail from a house ↵smatz
or industry tile
2008-01-16(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify ↵smatz
the code at some places
2008-01-16(svn r11881) -Cleanup: Code style for global variables.peter1138
2008-01-16(svn r11880) -Codechange: Generate vehicle group action dropdown ↵peter1138
dynamically, and assign an enum for the function return codes.
2008-01-16(svn r11879) -Fix: Only update group action drop down list when clicking on ↵peter1138
the dropdown text/button. Other times is not needed and caused a double free.
2008-01-16(svn r11878) -Fix: Crash in MP in vehicle group window if the currently ↵peter1138
selected group is deleted by another player.
2008-01-16(svn r11877) -Fix: another way to crash competitors' train in a stationsmatz
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
2008-01-16(svn r11876) -Fix: Start industry tile animation also for overridden ↵frosch
industry tiles. (Will only apply to new games or newly build industries.)
2008-01-16(svn r11875) -Fix: automatically sending aircraft to depot for ↵bjarni
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(svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get ↵rubidium
the livery colour of the engine instead of their wagon type.
2008-01-16(svn r11873) -Codechange: less a few magical numbers and a tiny bit more ↵belugas
comments on town zones
2008-01-16(svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ↵bjarni
ALL_GROUP
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-16(svn r11870) -Fix: slow down train when approaching tile we can't enter in ↵smatz
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-15(svn r11867) -Fix: do not reset changes to persistent storages during world ↵rubidium
generation. -Fix: store changes to persistent storages after performing all the game logic instead of resetting them.
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15(svn r11865) -Feature(tte): Support scrolling of drop down lists when in ↵peter1138
drag mode by moving the pointer above or below the list.
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-15(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a ↵peter1138
drop down list before deleting the list.
2008-01-15(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same ↵rubidium
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(svn r11861) -Fix: do not call rail specific functions when removing road ↵smatz
tunnel/bridge
2008-01-15(svn r11860) -Fix: Test station class validity against number of classes, ↵peter1138
not abosolute limit.
2008-01-15(svn r11859) -Codechange: Update newgrf station class dropdown to use new ↵peter1138
method of generating list.
2008-01-15(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using ↵peter1138
wrong source value. (r1679 partially reverted r1368)
2008-01-15(svn r11857) -Fix: some compile time warnings.rubidium
2008-01-15(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the ↵glx
extra checking and such anymore.
2008-01-15(svn r11855) -Fix [FS#1335]: recompute town population when removing a ↵glx
'newhouses' grf, or when loading a game with missing 'newhouses' grfs
2008-01-14(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler ↵peter1138
warnings... c++ is fun
2008-01-14(svn r11852) -Update: WebTranslator2 update to 2008-01-14 21:05:38miham
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(svn r11851) -Codechange: A few magic numbers removal, plus a little code stylebelugas
2008-01-14(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilationpeter1138
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-14(svn r11847) -Fix: do not affect the speed a train is entering a depot by ↵smatz
trackbits behind it
2008-01-14(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int ↵peter1138
caused compilation failure with MSVC.
2008-01-13(svn r11845) -Codechange: simplify train collision detection a bitsmatz
2008-01-13(svn r11844) -Fix: road vehicle count was incorrect in network lobby windowglx
2008-01-13(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from ↵smatz
flooded tile
2008-01-13(svn r11842) -Fix: libtimidity.cpp did not compile anymore.rubidium
2008-01-13(svn r11841) -Fix: win32 compilationglx
2008-01-13(svn r11840) -Codechange: split network.h so not everything in there needs ↵rubidium
to be included when wanting to know whether we are a server.