Commit Graph

5477 Commits

Author SHA1 Message Date
peter1138
b575f1a6fc (svn r7760) -Codechange: Debug messages for newgrf showed the starting sprite, not the current sprite index. Also only output the debug message during activation, when sprites are loaded. 2007-01-02 20:00:10 +00:00
rubidium
013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2007-01-02 19:19:48 +00:00
peter1138
3d32fd3f4b (svn r7758) -Codechange: Change SpriteGroup pool allocation from 16 items to 512 items at a time, as with a few sets loaded there can easily be 10,000+ items in the pool. 2007-01-02 18:56:03 +00:00
Darkvater
ffe5bb671e (svn r7757) -Fix (r7621): x64 did not compile because query_d was too big. Reorder the elements
a bit so it fits (alignment issues).
2007-01-02 18:43:25 +00:00
miham
965d03ca35 (svn r7756) WebTranslator2 update to 2007-01-02 19:29:06 part #2
Somehow SVN hang when I tried to commit lithuanian changes, let me try it again

lithuanian - 170 fixed, 26 changed by Domas (196)
2007-01-02 18:41:54 +00:00
miham
58fa5c1ff0 (svn r7754) WebTranslator2 update to 2007-01-02 19:29:06
danish     - 58 changed by MiR (58)
esperanto  - 127 fixed, 16 changed by LaPingvino (143)
estonian   - 4 changed by kristjans (4)
lithuanian - 170 fixed, 26 changed by Domas (196)
slovenian  - 603 fixed, 578 changed by ThePianoGuy (1181)
2007-01-02 18:40:08 +00:00
peter1138
66c1abdd21 (svn r7752) -Codechange: An off-by-one problem reduced the sprite limit by 1 whole sprite 2007-01-02 18:19:56 +00:00
rubidium
bb6be2e3ee (svn r7751) -Codechange: move network_* to a new network map. Furthermore move the low level network functions to network/core, so they can be reused by the masterserver and website-serverlist-updater. 2007-01-02 17:34:03 +00:00
Darkvater
ef5a235c28 (svn r7746) -Fix [WT2] Add proper svn:eol-style to unfinished languages. 2007-01-02 12:52:29 +00:00
miham
c9170408f6 (svn r7743) WebTranslator2 update to 2007-01-02 12:13:08
croatian   - 128 fixed by knovak (128)
2007-01-02 11:13:41 +00:00
miham
66eb5b02ca (svn r7742) WebTranslator2 update to 2007-01-02 11:20:30
finnish    - 24 fixed, 42 changed by habazi (66)
japanese   - 1153 fixed by PouncingAnt (498), ickoonite (655)
2007-01-02 10:22:10 +00:00
miham
035ad5287a (svn r7738) WebTranslator2 update to 2007-01-02 08:56:21
danish     - 13 changed by ThomasA (13)
estonian   - 242 changed by kristjans (242)
german     - 1 changed by Neonox (1)
lithuanian - 1 fixed, 1 deleted, 399 changed by Domas (401)
2007-01-02 07:56:57 +00:00
rubidium
e6c7d9f9e8 (svn r7733) -Fix (r5946): do not use WP(w, querystr_d) and WP(w, def_d) for the same window. 2007-01-01 22:46:10 +00:00
miham
68fcccb634 (svn r7732) WebTranslator2 update to 2007-01-01 23:25:29
danish     - 26 fixed by MiR (26)
2007-01-01 22:26:01 +00:00
rubidium
1483434d2c (svn r7731) -Fix (r5999): off-by-one error in the date to YMD calculation for first 4 years of a century that was not divisable by 400. 2007-01-01 22:00:54 +00:00
rubidium
caeabecea2 (svn r7727) -Fix (FS#498): sometimes ALT-TAB could trigger the fast forward. 2007-01-01 19:37:53 +00:00
rubidium
0e020927f8 (svn r7726) -Fix (r7622, FS#497): segmentation fault on pressing the 'sell all airplanes'. 2007-01-01 18:54:18 +00:00
miham
f7c0886cfc (svn r7723) WebTranslator2 update to 2007-01-01 19:13:54
german     - 1 changed by moewe2 (1)
greek      - 63 changed by gonik (63)
slovak     - 3 fixed, 4 changed by lengyel (7)
2007-01-01 18:14:26 +00:00
miham
cfa35ca19e (svn r7722) [Translations] Added new translation: traditional chinese 2007-01-01 17:06:08 +00:00
peter1138
1b4c1919e9 (svn r7718) -Fix (runknown): When pathfinding onto a bridge or tunnel end from
previous tile (but not warping from the opposite end) check the 
enter direction. This fixes signal setting if a rail ends on the top of 
a tunnel end.
2007-01-01 15:04:35 +00:00
peter1138
0ecd922df4 (svn r7717) -Fix (runknown): When following path for signals, don't skip back to the
previous tile, as for tunnels & bridge ends the entering direction is wrong.
2007-01-01 14:58:27 +00:00
peter1138
a0b918ebfe (svn r7716) -Revert r7620: Changes introduced more problems than they fixed (and a goto?) 2007-01-01 14:53:57 +00:00
miham
24f2de842f (svn r7715) WebTranslator2 update to 2007-01-01 14:24:49
estonian   - 1 deleted, 5 changed by kristjans (6)
turkish    - 1 changed by jnmbk (1)
2007-01-01 13:25:21 +00:00
miham
b8f49509e3 (svn r7713) WebTranslator2 update to 2007-01-01 05:19:34
estonian   - 2 changed by kristjans (2)
turkish    - 10 changed by jnmbk (10)
2007-01-01 04:20:13 +00:00
peter1138
8fc0201a11 (svn r7711) -Fix (r7354): NewGRF Action 7, GRF check condition 10 didn't ignore unknown GRF IDs. Also separate GRF ID conditions
from parameter conditions to remove code duplication in GRF checking code.
2007-01-01 01:40:56 +00:00
miham
12c8d37a6b (svn r7707) WebTranslator2 update to 2006-12-31 22:02:12
estonian   - 1 fixed, 27 deleted, 2 changed by kristjans (30)
portuguese - 1 changed by nars (1)
2006-12-31 21:02:44 +00:00
miham
fd47ce9c03 (svn r7706) WebTranslator2 update to 2006-12-31 19:54:47
catalan    - 3 fixed by arnaullv (3)
2006-12-31 18:55:17 +00:00
miham
284f313311 (svn r7704) WebTranslator2 update to 2006-12-31 18:56:27
estonian   - 9 fixed, 10 deleted, 1 changed by kristjans (20)
swedish    - 5 changed by ChrillDeVille (5)
2006-12-31 17:56:59 +00:00
miham
ba3b9c454d (svn r7701) WebTranslator2 update to 2006-12-31 15:42:20
esperanto  - 96 fixed by LaPingvino (96)
2006-12-31 14:42:49 +00:00
rubidium
5259540d02 (svn r7700) -Fix (r7182): the caret 'randomly' jumped back and forth when getting a new randomised seed in the Generation World GUI. 2006-12-31 14:34:26 +00:00
miham
b4fe2f268b (svn r7699) WebTranslator2 update to 2006-12-31 15:10:33
galician   - 36 fixed by Condex (36)
german     - 4 fixed by chu (4)
2006-12-31 14:11:06 +00:00
rubidium
4e6e4450ce (svn r7698) -Fix (r7573): towns did not grow beyond bridges. 2006-12-31 13:24:44 +00:00
miham
73733b42f6 (svn r7696) WebTranslator2 update to 2006-12-31 12:41:03
bulgarian  - 5 fixed by groupsky (5)
dutch      - 3 fixed by habell (3)
estonian   - 31 fixed, 28 deleted, 26 changed by kristjans (85)
french     - 9 changed by glx (9)
polish     - 1 fixed by meush (1)
romanian   - 6 fixed by kneekoo (6)
swedish    - 4 fixed by daishan (4)
2006-12-31 11:42:56 +00:00
Darkvater
1319954a5d (svn r7695) - Forward-port the release-changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, et. 2006-12-31 11:36:11 +00:00
Darkvater
11537c1245 (svn r7693) -Codechange (r7540): print a newline after the summary (strgen). 2006-12-31 11:25:06 +00:00
Darkvater
4dfbbe62b6 (svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code) 2006-12-31 11:12:49 +00:00
miham
c0ffe061bc (svn r7689) [Translations] Translator manually handcrafted the czech translation to have proper accents 2006-12-31 10:30:37 +00:00
miham
a25f3986b1 (svn r7658) WebTranslator2 update to 2006-12-30 23:32:34
french     - 1 fixed by glx (1)
hungarian  - 3 fixed by miham (3)
2006-12-30 22:33:05 +00:00
rubidium
a85c398902 (svn r7657) -Fix (r6291): 'Goto Depot' did not work for helicopters going to an airport without depot (mart3p). 2006-12-30 21:41:15 +00:00
miham
97cdc6e2a4 (svn r7654) WebTranslator2 update to 2006-12-30 19:20:49
american   - 1 fixed by WhiteRabbit (1)
bulgarian  - 5 fixed by kokobongo (5)
estonian   - 3 fixed, 2 deleted, 95 changed by kristjans (100)
italian    - 1 fixed by sidew (1)
norwegian  - 3 fixed by oletk (3)
polish     - 2 fixed, 2 changed by meush (4)
portuguese - 1 fixed by izhirahider (1)
russian    - 1 fixed by HMage (1)
spanish    - 3 fixed by eusebio (3)
turkish    - 3 fixed by jnmbk (3)
2006-12-30 18:21:33 +00:00
rubidium
afb5bd0bc6 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 2006-12-30 11:57:52 +00:00
rubidium
52b6d4d486 (svn r7641) -Codechange: remove the last direct map accesses from industry_cmd. 2006-12-30 11:51:37 +00:00
rubidium
ee89955647 (svn r7640) -Codechange: move a table from industry_cmd.c to table/industry_land
-Codechange: add a reference to the industry GFX enum and some comments to the tables
-Codechange: remove some magic numbers
2006-12-30 11:41:54 +00:00
bjarni
a6ae7d71ac (svn r7639) -Fix: FS#487 Changed music/qtmidi.c to not use functions deprecated by Apple (pvz) 2006-12-30 11:28:26 +00:00
Darkvater
6250b90a6b (svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin and shuffle around
some code for SetupColorsAndInitialWindow. Because we know that after a successful
 load all windows are removed we can setup default windows in this function, and
 show ShowJoinStatusWindow in PACKET_SERVER_MAP.
-Setup the global _network_join_status for ShowJoinStatusWindow in the only two
 places where the function is called, instead of inside it.
-Turn the join status window into a modal window of the network window so it
 stays on top.
2006-12-30 01:52:09 +00:00
Darkvater
990270fda9 (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the
query has no parent (eg give money, rename waypoint), the global function
 HandleOnEditText is used.
2006-12-30 01:17:53 +00:00
Darkvater
faea6549ce (svn r7636) -Cleanup: Remove unused window classes (sorry WC-mess) and use sizeof(array) instead
of X * sizeof(array[0])
2006-12-30 01:14:00 +00:00
Darkvater
41c6c79a25 (svn r7635) -Fix (r7618, r7621): Guard against recursive deletion. It is possible that when a
parent window is deleted it deletes its child (always) and in turn, through some
 code the child initiates the deletion of the parent which, if not guarded
 against, deletes the child and so on...
2006-12-30 01:08:12 +00:00
rubidium
eb3b73465c (svn r7632) -Codechange: several small code cleanups of texteff, like moving magic values and defines to an enum and fix coding/documentation style.
-Codechange: make DeleteAnimatedTile a little clearer (pv2b).
2006-12-30 00:46:48 +00:00
rubidium
5e1005c592 (svn r7631) -Fix (r1): some pointer arithmetic gave the number of entries instead of the number of bytes to move when removing the animated state from a tile. This caused desyncs between Little and Big Endian machines. Thanks to pv2b for helping me in locating the bug and to Darkvater for figuring out that the arithmetic returned the number of entries instead of bytes. 2006-12-30 00:22:03 +00:00