summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-17(svn r11903) -Fix: try to fix MorphOS compilationsmatz
2008-01-17(svn r11902) -Codechange: use new dropdown widget for game options windowpeter1138
2008-01-17(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, ↵peter1138
to eventually replace use of two widgets for each dropdown control.
2008-01-17(svn r11900) -Fix: set correctly crossing state after train reversal, train ↵smatz
leaving crossing, train crash Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
2008-01-17(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically ↵frosch
a duplicate of ShowReplaceGroupVehicleWindow().
2008-01-17(svn r11898) -Fix: Update neighboured canals + signals when flooding ↵frosch
non-flat tiles, too.
2008-01-17(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.frosch
2008-01-17(svn r11896) -Fix (r11886): a missing const broke compilation with MSVCglx
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.