tron
02ae75b380
(svn r6985) Remove stuff forgotten in r6984
2006-10-28 11:54:53 +00:00
tron
f0836260e8
(svn r6984) Use the pool macros for the RoadStop pool
2006-10-28 11:51:38 +00:00
tron
f51d2a3311
(svn r6983) Use the pool macros for the Station pool
2006-10-28 11:48:21 +00:00
tron
470a054c06
(svn r6982) Use the pool macros for the Sign pool
2006-10-28 11:43:56 +00:00
tron
18e56bea7f
(svn r6981) Use the pool macros for the Savegame pool
2006-10-28 11:40:47 +00:00
tron
c61e0963e0
(svn r6980) Use the pool macros for the Order pool
2006-10-28 11:37:26 +00:00
tron
4cb479e083
(svn r6979) Use the pool macros for the Industry pool
2006-10-28 11:32:45 +00:00
tron
a97f75e439
(svn r6978) Use the pool macros for the SoundInternal pool
2006-10-28 11:32:12 +00:00
tron
1a4a7984a7
(svn r6977) Use the pool macros for the EngineRenew pool
2006-10-28 11:08:52 +00:00
tron
da500bc3e6
(svn r6976) Use the pool macros for the Depot pool
2006-10-28 11:02:37 +00:00
tron
953344fdcc
(svn r6975) Use the pool macros for the Vehicle pool
2006-10-28 10:55:59 +00:00
tron
ef862a2973
(svn r6974) use the pool macros for the SpriteGroup pool
2006-10-28 10:55:26 +00:00
tron
41e34a1c16
(svn r6973) Add macros to easily create a pool with less code duplication and more opportunities for constant expression evaluation
2006-10-28 10:54:20 +00:00
peter1138
5cdeab55f0
(svn r6972) - Codechange: Allow standard ini-file style comments
2006-10-28 08:48:31 +00:00
glx
bdd86c7da2
(svn r6971) -Fix r6961: WWT_NODISTXTBTN buttons were normal buttons not push buttons
2006-10-27 20:39:58 +00:00
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)
2006-10-27 17:13:22 +00:00
belugas
283f7c065d
(svn r6966) -Fix(6965): Little typo while making the comment doxygen friendly
2006-10-27 16:18:47 +00:00
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.
2006-10-27 15:54:24 +00:00
peter1138
6d69e03e4f
(svn r6963) - Fix (r6960): signed/unsigned complaints from MSVC
2006-10-27 14:05:42 +00:00
Darkvater
b3050afc94
(svn r6962) -Fix r6961: spacing...
2006-10-27 13:58:58 +00:00
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.
2006-10-27 13:48:56 +00:00
peter1138
940acf4e4d
(svn r6960) - Feature: NewGRF: Implement some support for GRF Resource Management (GRM)
2006-10-27 13:15:21 +00:00
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.
2006-10-27 11:49:51 +00:00
Darkvater
e205c693e1
(svn r6958) -Fix (r6956): GCC warning (thx Tron) and a coding style forgotten in r6957
2006-10-27 11:17:38 +00:00
Darkvater
bc3c56ffeb
(svn r6957) -Cleanup: comments, coding style
2006-10-27 11:09:24 +00:00
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.
2006-10-27 11:08:17 +00:00
Darkvater
596da29170
(svn r6955) -Codechange: Change some variable names for _textmessage_box, and replace 5 different
...
global variables with a single struct.
2006-10-27 10:27:38 +00:00
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.
2006-10-27 10:12:57 +00:00
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.
2006-10-27 09:55:38 +00:00
peter1138
c098736816
(svn r6948) - Codechange: Clear out all NewGRF file data before loading files again
2006-10-26 19:16:10 +00:00
peter1138
e5e5fb6e93
(svn r6946) - Fix (r6654): This applies to all vehicle types, not just rail vehicles... (mart3p)
2006-10-26 13:18:12 +00:00
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)
2006-10-25 19:35:09 +00:00
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)
2006-10-25 05:49:41 +00:00
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).
2006-10-24 23:11:40 +00:00
Darkvater
b63d946898
(svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the
...
textbuffer instead of typing it out each and every time.
2006-10-24 22:57:44 +00:00
Darkvater
3760fe9a40
(svn r6935) -Fix up the languages changed in r6931
2006-10-24 22:40:27 +00:00
Darkvater
55cdf3f6ab
(svn r6934) -Cleanup: Some minor cleanup for network_client and removing 'stupid' comment
2006-10-24 22:27:10 +00:00
Darkvater
2b8530507d
(svn r6933) -Feature: Allow spectators to speak to eachother (team)
2006-10-24 22:26:20 +00:00
Darkvater
929cfa6687
(svn r6932) -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is
...
general colour like the rest of the server messages. Spectators speak in grey.
2006-10-24 22:23:08 +00:00
Darkvater
bc018eb7ac
(svn r6931) -Codechange: Change textmessage format a bit. Only the sender's name and target are
...
in the sender's colour, the actual message is in white. Should improve readability.
2006-10-24 22:19:12 +00:00
belugas
f48c419467
(svn r6930) -Codechange: Move industry name into IndustrySpec
...
-Codechange: member color_map is more related to random color, rename it as such
2006-10-24 19:19:25 +00:00
miham
acbdd24f2f
(svn r6928) WebTranslator2 update to 2006-10-24 18:38:04
...
bulgarian - 523 fixed, 13 changed by groupsky (536)
catalan - 3 fixed by arnaullv (3)
polish - 3 fixed by meush (3)
turkish - 7 fixed by jnmbk (7)
2006-10-24 16:39:48 +00:00
Darkvater
1324835bc9
(svn r6927) -Codechange: No need to explicitly cast a boolean to a boolean and move draw_default
...
goto outside of switch statement.
2006-10-24 16:28:34 +00:00
Darkvater
1e69ac550d
(svn r6926) -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138
...
for the aptly found name)
-Codechange: Remove the explicit numbering from WindowWidgetTypes
2006-10-24 16:27:18 +00:00
Darkvater
d303ef94b3
(svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,
...
WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2
because that is what it is. Added WWT_PUSHBTN that is either just a pushable button,
or a textbutton, which text's drawn dynamically independent of widget.
2006-10-24 14:15:17 +00:00
Darkvater
605036dbb4
(svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names.
2006-10-24 13:20:54 +00:00
Darkvater
512568781b
(svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs
2006-10-24 13:08:52 +00:00
Darkvater
1204eeacfe
(svn r6922) -Feature: Add proper cloning sprites and cursors, different for each vehicle. Big thanks
...
to MB for the initial design and skidd13 for the iconified version(s).
-Codechange: Change the autorenew sprites from recycle to upgrade (skidd13)
-Codechange: Change the shared orders icon (MeusH)
-Add missing table/files.h file to VS project file.
2006-10-24 12:56:14 +00:00
peter1138
e08dfce57c
(svn r6921) - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match.
2006-10-24 10:15:56 +00:00
peter1138
736e3597b5
(svn r6920) - Codechange: Ignore refit options of an engine if it has no capacity.
2006-10-24 07:10:37 +00:00