Commit Graph

11652 Commits

Author SHA1 Message Date
peter1138
eeaa4c8d9a (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway 2009-02-11 07:17:39 +00:00
belugas
06bdc9d575 (svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". So not much of a typo.
Thanks, Yexo.  I feel less ignorant today :D
2009-02-11 02:53:15 +00:00
belugas
002c9b7c67 (svn r15445) -Fix: little typos 2009-02-11 02:30:08 +00:00
rubidium
7043f48078 (svn r15444) -Fix (r15425): the chat messages gone gray. That gray colour 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 01:46:09 +00:00
rubidium
426857bc72 (svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant. 2009-02-11 01:28:10 +00:00
yexo
ec9d949434 (svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored. 2009-02-11 00:48:15 +00:00
yexo
8ef2024b96 (svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it. 2009-02-10 19:22:09 +00:00
smatz
2c317b7321 (svn r15439) -Fix [FS#2626]: call Vehicle::LeaveStation() before reversing overlength loading train (station triggers were missed, PBS reservation could cause crash) 2009-02-10 12:49:12 +00:00
glx
a16a970e84 (svn r15438) -Fix (r15434): MSVC performance warning 2009-02-10 04:23:37 +00:00
belugas
4574858f0a (svn r15437) -Codechange: Do not run a code section when you already know it is useless
-Codechange: Do not rely on a decision based on something that has already been evaluated
2009-02-10 00:50:04 +00:00
peter1138
4b1728079c (svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern... 2009-02-09 22:49:28 +00:00
rubidium
5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 2009-02-09 21:20:05 +00:00
peter1138
545804b67a (svn r15433) -Fix (r15126): Content download progress bar was not centered properly. 2009-02-09 20:30:16 +00:00
translators
2b10cf55b6 (svn r15432) -Update: WebTranslator2 update to 2009-02-09 18:30:51
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 18:31:10 +00:00
rubidium
b1a1c022fb (svn r15431) -Fix (r15425): wrongly added assertion due to unneeded & 0xFF. Now use the same method of handling the colour as it would do when drawing a string instead of a character. 2009-02-09 10:31:37 +00:00
rubidium
5fa99b177e (svn r15429) -Change: do r15428 also for the string names. 2009-02-09 03:07:03 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium
c7f3daacbf (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window 2009-02-09 02:33:10 +00:00
glx
7df760b9c3 (svn r15426) -Fix (r15421): wrong grfcodec version was used to generate openttdd.grf 2009-02-09 02:28:31 +00:00
rubidium
a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 2009-02-09 02:09:47 +00:00
rubidium
5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 2009-02-09 01:22:29 +00:00
rubidium
66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 2009-02-09 01:06:23 +00:00
rubidium
a7264bd5aa (svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings. 2009-02-08 23:06:56 +00:00
michi_cc
e8ce27b8fb (svn r15421) -Change: Replace the path signal sprites borrowed from TTDPatch with our own custom sprites. 2009-02-08 20:11:59 +00:00
peter1138
1877d33629 (svn r15418) -Codechange: Add action7/9 support to detect available rail type labels 2009-02-08 18:29:22 +00:00
peter1138
793eabf61e (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 2009-02-08 18:11:06 +00:00
rubidium
fc342a0d68 (svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling. 2009-02-08 17:46:08 +00:00
rubidium
d88f2a0120 (svn r15415) -Change: close the (station) joiner window when pressing the bulldozer. 2009-02-08 16:03:17 +00:00
rubidium
cba3be0b4f (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 2009-02-08 16:00:57 +00:00
rubidium
412f93b877 (svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed. 2009-02-08 15:45:34 +00:00
peter1138
5429c5a095 (svn r15412) -Fix: Clearing custom engine names could cause desyncs due to be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented. 2009-02-08 12:58:14 +00:00
rubidium
7603f77f3c (svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command 2009-02-08 12:42:45 +00:00
rubidium
283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 2009-02-08 12:25:13 +00:00
frosch
9eee0a6a81 (svn r15409) -Update: Currencies
Remove intermediate currency "New Turkish lira".
  Add Euro introduction date for Slovakia.
  Remove Euro introduction date for Hungary.
2009-02-08 12:02:28 +00:00
Yexo
1fbb8d3ac3 (svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times they're not allowed to sleep. 2009-02-08 11:34:51 +00:00
peter1138
bf42e60bba (svn r15407) -Codechange: When loading a save game with an invalid pool 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 10:37:24 +00:00
rubidium
2a66e934b8 (svn r15406) -Fix: make Valuate actually cost a few opcodes to not make it a single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs. 2009-02-08 01:51:48 +00:00
michi_cc
26c4a02c8b (svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness. 2009-02-08 01:10:48 +00:00
translators
982f310e5a (svn r15403) -Update: WebTranslator2 update to 2009-02-07 18:48:00
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 18:48:25 +00:00
smatz
a92653c800 (svn r15402) -Codechange: verify _current_company didn't change when executing a command 2009-02-07 18:09:30 +00:00
smatz
487b0ed95e (svn r15401) -Fix [FS#2619](r15027): AI::Stop changed _current_company, but didn't restore its original value 2009-02-07 17:01:44 +00:00
frosch
f1240daed6 (svn r15400) -Fix: Typos in comments. 2009-02-07 16:23:42 +00:00
frosch
85b49d72ce (svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == CT_INVALID is possible. 2009-02-07 16:17:03 +00:00
smatz
5b377ed53b (svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code (Swallow) 2009-02-07 16:11:21 +00:00
rubidium
4431e82beb (svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge. 2009-02-07 16:02:29 +00:00
smatz
d5e2154e90 (svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly 2009-02-07 13:53:38 +00:00
rubidium
6ad9fcc6ec (svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server. 2009-02-07 12:02:13 +00:00
glx
fd9e9cd640 (svn r15394) -Fix (r15389): no new line at end of line warning 2009-02-07 03:31:48 +00:00
belugas
23e0650886 (svn r15393) -Fix: little typo 2009-02-07 03:06:38 +00:00
belugas
82cbfb7dfa (svn r15392) -Codechange: move the spec getter to a place where it's only required, without the use of extern 2009-02-07 02:38:32 +00:00