summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-02-11(svn r15448) -Codechange: Don't show rail types in selection drop downs if ↵peter1138
they have no label.
2009-02-11(svn r15447) -Codechange: void functions don't tend to return true if and ↵peter1138
only if anyway
2009-02-11(svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". ↵belugas
So not much of a typo. Thanks, Yexo. I feel less ignorant today :D
2009-02-11(svn r15445) -Fix: little typosbelugas
2009-02-11(svn r15444) -Fix (r15425): the chat messages gone gray. That gray colour ↵rubidium
was technically right. The string contained {GRAY}, but due to a latent bug (accidentally fixed in r15425) in the string drawing routing the gray would be interpreted as use palette colour 14, which is a white.
2009-02-11(svn r15442) -Codechange: don't do magic on magic numbers when you can also ↵rubidium
use a single named constant.
2009-02-11(svn r15441) -Cleanup: Use a return value instead of passing a pointer to ↵yexo
where the result should be stored.
2009-02-10(svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old ↵yexo
value so AIs can't work around it.
2009-02-10(svn r15439) -Fix [FS#2626]: call Vehicle::LeaveStation() before reversing ↵smatz
overlength loading train (station triggers were missed, PBS reservation could cause crash)
2009-02-10(svn r15438) -Fix (r15434): MSVC performance warningglx
2009-02-10(svn r15437) -Codechange: Do not run a code section when you already know it ↵belugas
is useless -Codechange: Do not rely on a decision based on something that has already been evaluated
2009-02-09(svn r15436) -Codechange: Return index of station spec within station class ↵peter1138
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15433) -Fix (r15126): Content download progress bar was not centered ↵peter1138
properly.
2009-02-09(svn r15432) -Update: WebTranslator2 update to 2009-02-09 18:30:51translators
bulgarian - 30 fixed by Ar4i (30) catalan - 3 fixed by arnaullv (3) danish - 33 fixed by ThomasA (33) dutch - 5 fixed by habell (5) english_US - 118 fixed by WhiteRabbit (118) finnish - 5 fixed by jpx_ (5) german - 5 fixed by ralph (5) hungarian - 2 fixed by alyr (2) latvian - 7 fixed by KiitsLV (5), waste (2) polish - 6 fixed by coolik (6) romanian - 3 fixed, 2 changed by kkmic (5) serbian - 123 fixed, 2 deleted, 229 changed by syndrome (354) simplified_chinese - 5 fixed by ww9980 (5) spanish - 1 changed by Dominus (1) ukrainian - 3 fixed by mad (3)
2009-02-09(svn r15431) -Fix (r15425): wrongly added assertion due to unneeded & 0xFF. ↵rubidium
Now use the same method of handling the colour as it would do when drawing a string instead of a character.
2009-02-09(svn r15429) -Change: do r15428 also for the string names.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-09(svn r15424) -Codechange: make it possible to have multiple windows with ↵rubidium
edit box open simultaniously (Zuu).
2009-02-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-02-08(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the ↵rubidium
settings.
2009-02-08(svn r15418) -Codechange: Add action7/9 support to detect available rail ↵peter1138
type labels
2009-02-08(svn r15417) -Codechange: Add default rail type labels and support for ↵peter1138
per-GRF translation table.
2009-02-08(svn r15416) -Fix (r15412): revert the removal of the road side drop down ↵rubidium
box handling.
2009-02-08(svn r15415) -Change: close the (station) joiner window when pressing the ↵rubidium
bulldozer.
2009-02-08(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/rubidium
2009-02-08(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge ↵rubidium
building w.r.t. tile selection and when the window should be closed.
2009-02-08(svn r15412) -Fix: Clearing custom engine names could cause desyncs due to ↵peter1138
be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented.
2009-02-08(svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch ↵rubidium
console command
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-08(svn r15409) -Update: Currenciesfrosch
Remove intermediate currency "New Turkish lira". Add Euro introduction date for Slovakia. Remove Euro introduction date for Hungary.
2009-02-08(svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times ↵Yexo
they're not allowed to sleep.
2009-02-08(svn r15407) -Codechange: When loading a save game with an invalid pool ↵peter1138
index, report the problem (invalid index) rather than an impossible symptom (too many items), and report it in game instead of causing a crash.
2009-02-08(svn r15406) -Fix: make Valuate actually cost a few opcodes to not make it a ↵rubidium
single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
2009-02-08(svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness.michi_cc
2009-02-07(svn r15403) -Update: WebTranslator2 update to 2009-02-07 18:48:00translators
arabic_egypt - 6 fixed by khaloofah (6) brazilian_portuguese - 15 fixed by tucalipe (15) catalan - 3 fixed by arnaullv (3) dutch - 2 fixed, 21 changed by Yexo (21), Excel20 (2) finnish - 3 fixed by jpx_ (3) french - 6 fixed by glx (6) german - 6 fixed by hellow (6) hungarian - 4 fixed by alyr (4) italian - 17 fixed by lorenzodv (17) korean - 6 fixed, 22 changed by darkttd (28) norwegian_bokmal - 27 fixed by khh (27) romanian - 3 fixed, 4 changed by kkmic (7) serbian - 176 fixed, 93 changed by syndrome (269) simplified_chinese - 16 fixed, 1 changed by ww9980 (17) spanish - 6 fixed by Dominus (6) turkish - 17 fixed, 1 changed by Emin (18)
2009-02-07(svn r15402) -Codechange: verify _current_company didn't change when ↵smatz
executing a command
2009-02-07(svn r15401) -Fix [FS#2619](r15027): AI::Stop changed _current_company, but ↵smatz
didn't restore its original value
2009-02-07(svn r15400) -Fix: Typos in comments.frosch
2009-02-07(svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == ↵frosch
CT_INVALID is possible.
2009-02-07(svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code ↵smatz
(Swallow)
2009-02-07(svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge.rubidium
2009-02-07(svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, ↵smatz
convert the groups correctly
2009-02-07(svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore ↵rubidium
in a 'dedicated' server.
2009-02-07(svn r15394) -Fix (r15389): no new line at end of line warningglx
2009-02-07(svn r15393) -Fix: little typobelugas
2009-02-07(svn r15392) -Codechange: move the spec getter to a place where it's only ↵belugas
required, without the use of extern
2009-02-07(svn r15391) -Fix (r14997): loading font sprites should not trigger a ↵rubidium
palette conversion.