Commit Graph

5196 Commits (04773f5eb43f4f28b66e7983c2643c63dbf6bba9)
 

Author SHA1 Message Date
belugas 56c81cc978 (svn r7001) -Codechange: _build_industry_trypes is now only used by industry_gui.c. Move it there.
-Codechange: _industry_type_cost is not defined, remove its declaration
18 years ago
Darkvater fce44a1ce7 (svn r7000) -Fix: Incorrect use of e->we.click when the event is a 'place'. This didn't cause any
bugs so far because the 'click' element was at the same position in the union for both
 events.
18 years ago
peter1138 1d0ebb9cc3 (svn r6996) - Codechange: Pretend to be the current version of TTDPatch. This value doesn't anything to us as we don't follow TTDPatch's development timeline... 18 years ago
peter1138 dc58fb87ab (svn r6995) - Codechange: NewGRF; strip bit 7 of the language ID earlier and handle handle a language ID of 0x7F as the preferred default language. 18 years ago
tron 8908ea67d5 (svn r6994) -Regression (r6291): When sending an aircrafts to a hangar the wrong bit gets tested to determine if a aircraft should stop there or just get serviced
Also remove a stale comment
Both spotted and fixed by Mart3p
18 years ago
tron 377b178c11 (svn r6993) -Regression (r5833): Rails/roads on steep slopes incorrectly show a foundation edge if the NE/NW adjacent tile is a steep tile 18 years ago
tron 30ceecc1af (svn r6992) Make a const_cast<> obsolete by properly propagating the type 18 years ago
tron 93f1f8ee53 (svn r6991) Remove an unnecessary const_cast<> and incorrect comment (There is a difference between const FOO* and FOO* const) 18 years ago
tron cb4918d06b (svn r6990) Remove stuff forgotten in r6980 18 years ago
tron bd562bc38b (svn r6989) Remove the unused GetItemFromPool() function 18 years ago
tron 24cc7d4656 (svn r6988) Remove a layer of indirection when using the Savegame pool 18 years ago
tron 97cc0fcdd4 (svn r6987) Use the pool macros for the Waypoint pool 18 years ago
tron e397b721cd (svn r6986) Use the pool macros for the Town pool 18 years ago
tron 02ae75b380 (svn r6985) Remove stuff forgotten in r6984 18 years ago
tron f0836260e8 (svn r6984) Use the pool macros for the RoadStop pool 18 years ago
tron f51d2a3311 (svn r6983) Use the pool macros for the Station pool 18 years ago
tron 470a054c06 (svn r6982) Use the pool macros for the Sign pool 18 years ago
tron 18e56bea7f (svn r6981) Use the pool macros for the Savegame pool 18 years ago
tron c61e0963e0 (svn r6980) Use the pool macros for the Order pool 18 years ago
tron 4cb479e083 (svn r6979) Use the pool macros for the Industry pool 18 years ago
tron a97f75e439 (svn r6978) Use the pool macros for the SoundInternal pool 18 years ago
tron 1a4a7984a7 (svn r6977) Use the pool macros for the EngineRenew pool 18 years ago
tron da500bc3e6 (svn r6976) Use the pool macros for the Depot pool 18 years ago
tron 953344fdcc (svn r6975) Use the pool macros for the Vehicle pool 18 years ago
tron ef862a2973 (svn r6974) use the pool macros for the SpriteGroup pool 18 years ago
tron 41e34a1c16 (svn r6973) Add macros to easily create a pool with less code duplication and more opportunities for constant expression evaluation 18 years ago
peter1138 5cdeab55f0 (svn r6972) - Codechange: Allow standard ini-file style comments 18 years ago
glx bdd86c7da2 (svn r6971) -Fix r6961: WWT_NODISTXTBTN buttons were normal buttons not push buttons 18 years ago
miham 390e1ba914 (svn r6969) WebTranslator2 update to 2006-10-27 19:12:49
american   - 1 fixed by WhiteRabbit (1)
italian    - 4 changed by sidew (4)
polish     - 1 fixed, 1 changed by meush (2)
slovak     - 4 fixed by lengyel (4)
18 years ago
belugas 283f7c065d (svn r6966) -Fix(6965): Little typo while making the comment doxygen friendly 18 years ago
belugas 7effb8fd50 (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Removed a loop that used the array _build_industry_types for that purpose.
18 years ago
peter1138 6d69e03e4f (svn r6963) - Fix (r6960): signed/unsigned complaints from MSVC 18 years ago
Darkvater b3050afc94 (svn r6962) -Fix r6961: spacing... 18 years ago
Darkvater 64a2205517 (svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not
to allow clicking if a button was disabled. This has been superseded in r212 with
 general code that doesn't allow any click events for disabled buttons.
18 years ago
peter1138 940acf4e4d (svn r6960) - Feature: NewGRF: Implement some support for GRF Resource Management (GRM) 18 years ago
Darkvater eb45bf6340 (svn r6959) -Codechange: Move GfxFillRect() out of the chat-message drawing loop since we already
know how many lines we are going to draw. On certain architectures this results in a
 minor penalty of local function performance if only 1 line is drawn. But starting from
 2 and more you'll get a net gain.
18 years ago
Darkvater e205c693e1 (svn r6958) -Fix (r6956): GCC warning (thx Tron) and a coding style forgotten in r6957 18 years ago
Darkvater bc3c56ffeb (svn r6957) -Cleanup: comments, coding style 18 years ago
Darkvater 2543ab6b27 (svn r6956) -Feature: Increase the chatbuffer of chat messages. Messages longer than the allocated
graphical box will be wrapped to a new line.
18 years ago
Darkvater 596da29170 (svn r6955) -Codechange: Change some variable names for _textmessage_box, and replace 5 different
global variables with a single struct.
18 years ago
Darkvater 98a98ab15e (svn r6954) -Feature: Constrain the drawing of a string inside an editbox to the dimensions of
the widget it is in. This allows for typing longer text into an editbox (if maxwidth
 allows of course) and scroll around properly.
18 years ago
Darkvater d7d4f0192d (svn r6953) -Codechange: Change FormatStringLinebreaks in such a way that if no whitespace was seen
for the 'current line' of a certain maximum width, the string will be truncated instead
 of the old behaviour which just left it alone.
18 years ago
peter1138 c098736816 (svn r6948) - Codechange: Clear out all NewGRF file data before loading files again 18 years ago
peter1138 e5e5fb6e93 (svn r6946) - Fix (r6654): This applies to all vehicle types, not just rail vehicles... (mart3p) 18 years ago
miham b755a2d896 (svn r6942) WebTranslator2 update to 2006-10-25 21:34:26
bulgarian  - 11 fixed, 5 changed by groupsky (16)
czech      - 4 fixed, 3 changed by Hadez (7)
dutch      - 1 fixed by habell (1)
galician   - 22 fixed by Condex (22)
italian    - 2 changed by sidew (2)
swedish    - 4 fixed, 2 changed by daishan (6)
18 years ago
miham b553342a62 (svn r6939) WebTranslator2 update to 2006-10-25 07:48:50
american   - 3 fixed by WhiteRabbit (3)
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian  - 7 fixed, 2 changed by groupsky (9)
catalan    - 1 fixed by arnaullv (1)
dutch      - 3 fixed by webfreakz (3)
estonian   - 3 fixed by vermon (3)
french     - 4 fixed by glx (4)
galician   - 46 fixed, 4 changed by Condex (50)
german     - 5 fixed, 2 changed by Neonox (5), chu (2)
italian    - 4 fixed, 3 changed by sidew (7)
18 years ago
Darkvater 93599c1be5 (svn r6938) -Codechange: Comments, typo, variable naming, whitespace, strecpy and simplification
of order_gui (only disable a single widget if not local player, all others aren't
 visible anyways).
18 years ago
Darkvater b63d946898 (svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the
textbuffer instead of typing it out each and every time.
18 years ago
Darkvater 3760fe9a40 (svn r6935) -Fix up the languages changed in r6931 18 years ago
Darkvater 55cdf3f6ab (svn r6934) -Cleanup: Some minor cleanup for network_client and removing 'stupid' comment 18 years ago