glx
73c06df571
(svn r7391) -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one)
2006-12-06 02:03:55 +00:00
bjarni
230b6fd08e
(svn r7390) -Codechange r7386: only loop though the windows to find a depot window to unhighlight a vehicle in if there is a vehicle on the mouse pointer
2006-12-06 00:03:24 +00:00
bjarni
256fa07de6
(svn r7389) -Fix: when forcing a vehicle to go to a depot, clear refit orders from current orders (caused refit error popup when not having no orders)
2006-12-05 23:57:04 +00:00
Darkvater
b461b8dbe5
(svn r7388) -Fix (r7384 / r7368 / r3757): When adding a new news item for the first time (_latest_news
...
is INVALID_NEWS), make it the value of _oldest_news, not zero as DeleteVehicleNews can
change _oldest_news. Also remove the (i == INVALID_NEWS) return 0; guard from increaseIndex
as it's only used in 2 places, nowhere else.
2006-12-05 23:37:04 +00:00
KUDr
07ad588487
(svn r7387) -Fix: czech lang file compilation error
2006-12-05 23:32:15 +00:00
bjarni
4adc6ba4f8
(svn r7386) -Codechange r7385: moved deletion of the vehicle highlight from DeleteVehicle to the sell commands as they are not called as often
...
Also added a return to the window loop prevent looking at the rest of the windows once the right depot window is found
2006-12-05 22:59:42 +00:00
bjarni
686a0d7750
(svn r7385) -Fix: FS#418 Deleting Train in depot with autoreplace failes
...
This turned out to be due to continue to drag the old vehicle, that autoreplace sold
This could also be triggered if more than one player used the same company
Now deleting a vehicle will remove all depot highlights of that vehicle
2006-12-05 22:40:42 +00:00
Darkvater
a9ea304121
(svn r7384) -Fix: No vehicle was removed in DeleteVehicleNews when the fifo-array was full. Update the
...
bound conditions of the loop, add an assert and also update _current_news when needed. (r3757)
2006-12-05 22:35:25 +00:00
Darkvater
0a0368014d
(svn r7383) -Codechange: fix up typo in news-gui s/MoveToNexItem/MoveToNextItem/.
2006-12-05 22:31:10 +00:00
peter1138
1267bb5968
(svn r7378) -Fix (r2428): Don't update vehicle images when turning a train around.
...
During this procedure the train is split into parts which can result in
incorrect images being used.
2006-12-05 20:22:14 +00:00
peter1138
908552d7ed
(svn r7377) -Fix (r7326): With gradual loading, make sure cargo is only paid for once, and always notify the station the vehicle was present. (Maedhros)
2006-12-05 17:53:33 +00:00
miham
abb693987e
(svn r7375) WebTranslator2 update to 2006-12-05 18:07:02
...
american - 22 fixed, 2 changed by WhiteRabbit (24)
brazilian_portuguese - 23 fixed by tucalipe (23)
bulgarian - 22 fixed, 2 changed by groupsky (24)
catalan - 23 fixed, 31 changed by arnaullv (54)
croatian - 203 fixed, 2 deleted, 27 changed by knovak (232)
danish - 9 fixed, 26 changed by ThomasA (35)
french - 23 fixed, 10 changed by glx (33)
hungarian - 23 fixed, 1 changed by miham (24)
italian - 23 fixed by sidew (23)
slovak - 8 fixed by lengyel (8)
2006-12-05 17:09:57 +00:00
matthijs
e231ac60b3
(svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex().
2006-12-05 16:41:13 +00:00
peter1138
cc2c2a0fb1
(svn r7373) -Codechange: when removing a GRF from the list, make the next one selected, or the previous file if the last item is being removed. This makes clearing the list easier.
2006-12-05 14:18:58 +00:00
matthijs
9218fc16e6
(svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
2006-12-05 13:58:20 +00:00
Darkvater
681f994d16
(svn r7370) -Cleanup: Use NewsID instead of byte for news identifiers, and some minor other things
2006-12-05 12:17:31 +00:00
Darkvater
a46daf3fb1
(svn r7369) -Cleanup: Some coding style, usage of increaseIndex and decreaseIndex to loop through the
...
fifo-array-buffer, typo's.
2006-12-05 11:59:28 +00:00
Darkvater
8904c04192
(svn r7368) -Fix: [FS#332] Vehicle Deletion Crash [News Window Related?] (r3757).
2006-12-05 11:51:23 +00:00
peter1138
4e26968521
(svn r7367) -Codechange: prevent adding files where the GRF ID is already in the list
2006-12-05 11:13:22 +00:00
Darkvater
032ec36bcc
(svn r7366) -Fix: Out of bounds widget access when accessing orders window of other players.
2006-12-05 09:19:14 +00:00
peter1138
a39daa9e89
(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file
2006-12-04 20:27:53 +00:00
Darkvater
43eb27c7a1
(svn r7362) -Fix (r7337): Free the freetype face after any possible error. For win32 do not use the
...
last font in the registry if no suitable font is found.
2006-12-04 18:57:09 +00:00
glx
34a92a6bf7
(svn r7360) -Cleanup r7357: Update STR_NEWGRF_FILENAME and STR_NEWGRF_GRF_ID in all languages
2006-12-04 16:14:10 +00:00
peter1138
b7654e09a2
(svn r7358) -Codechange: add newgrf_gui.c to MS project files
2006-12-04 14:30:18 +00:00
peter1138
c7d3d996bf
(svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings.
2006-12-04 14:27:54 +00:00
rubidium
9a87e1e0ea
(svn r7356) -Codechange: replace 'for (i = 0, wi = w->widget; wi->type != WWT_LAST; i++, wi++)' type for loops with 'for (i = 0; i < w->window_count; i++) { wi = &w->widget[i];'-type for loops for better readability.
...
-Codechange: use IsWindowWidget(Disabled|Hidden) in favor of IsWidget(Disabled|Hidden).
2006-12-04 13:57:04 +00:00
rubidium
756d6a6efb
(svn r7355) -Codechange: replace 'for (i = 0; w->widget[i].type != WWT_TYPE; i++)'-type for loops with 'for (i = 0; i < w->widget_count; i++)'-type for loops
2006-12-04 13:46:03 +00:00
peter1138
11474c26d7
(svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled.
2006-12-04 13:45:20 +00:00
rubidium
05559bcdcd
(svn r7353) -Codechange: constify Window* in IsWindowWidget(Lowered|Hidden|Disabled)
2006-12-04 13:38:45 +00:00
rubidium
c02e39945e
(svn r7352) -Codechange: add widget_count parameter to the window.
...
-Codechange: check whether widget indices are valid for all the (Set|Is)WindowWidget(Disabled|Lowered|Hidden) and related functions.
2006-12-04 13:36:27 +00:00
peter1138
7086936bab
(svn r7351) -Fix (r6619): Disabled platform length and numbers were not reset for the default station.
2006-12-04 13:20:14 +00:00
rubidium
810e14cc21
(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.
2006-12-04 10:55:53 +00:00
peter1138
39e52ca845
(svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths.
2006-12-04 10:44:17 +00:00
peter1138
bd66cc5756
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
2006-12-04 08:30:04 +00:00
peter1138
dc8992a677
(svn r7347) -Translations: Use correct plural type for Russian
2006-12-04 08:11:53 +00:00
miham
61db46a92c
(svn r7346) WebTranslator2 update to 2006-12-04 05:22:02
...
american - 5 fixed by WhiteRabbit (5)
brazilian_portuguese - 1 fixed by tucalipe (1)
bulgarian - 5 fixed by groupsky (5)
catalan - 1 fixed, 3 changed by arnaullv (4)
croatian - 186 fixed, 111 changed by knovak (297)
czech - 5 fixed by Hadez (5)
dutch - 5 fixed by habell (5)
french - 1 fixed by glx (1)
german - 5 fixed by Neonox (5)
italian - 5 fixed by sidew (5)
portuguese - 4 fixed by izhirahider (4)
turkish - 5 fixed by jnmbk (5)
2006-12-04 04:22:53 +00:00
peter1138
0a88e202e5
(svn r7345) -Codechange: enumification of NewGRF loading stage, and move enum definition to header for future use.
2006-12-03 23:46:54 +00:00
matthijs
5f2b62f49f
(svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H (forgotten in r7331).
2006-12-03 20:03:40 +00:00
Darkvater
6d154ce5f8
(svn r7338) -Fix (r7336): [win32] libfreetype is libfreetype2 in linker options (thanks Rubidium)
2006-12-03 19:07:20 +00:00
Darkvater
1dd14cb932
(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty
...
messy if you ask me, but this is what you get when MS hides the font API in the deepest
depths... thanks Rubidium for testing.
2006-12-03 19:03:38 +00:00
Darkvater
024ebaa3fe
(svn r7336) -Codechange: [win32] Add freetype support for Windows project files.
2006-12-03 18:36:11 +00:00
peter1138
52d0c3b08a
(svn r7335) -Codechange: redraw station tiles when cargo is moved, for newstations
2006-12-03 18:28:42 +00:00
Darkvater
dcf1575a1d
(svn r7334) -Revert accidentally committed file in r7333
2006-12-03 17:54:28 +00:00
Darkvater
b789cacb40
(svn r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to also accept conversions
...
into a predefined buffer insted of using the static (global) buffer. This is useful if
the converted value will be used later on; no need to copy it somewhere else to save it.
-CodeChange: [win32] Added appropiate macros WIDE_TO_MB_BUFFER, MB_TO_WIDE_BUFFER next to
existing WIDE_TO_MB and MB_TO_WIDE that only do work when UNICODE is defined, saves
#ifdefs all over the place
2006-12-03 17:47:53 +00:00
rubidium
5fffa66b71
(svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions.
2006-12-03 17:42:56 +00:00
matthijs
231111ce3d
(svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
...
- Codechange: Rename pool.[ch] to oldpool.[ch].
2006-12-03 17:27:43 +00:00
peter1138
e205c58ddc
(svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local
...
player, resulting in an empty vehicle purchase list. Specify the player
as an argument to IsEngineBuildable()
2006-12-03 15:48:21 +00:00
KUDr
3f3a14d24b
(svn r7329) -Fix (r7157): Invalid viewport position on quick zoom
2006-12-03 13:40:16 +00:00
rubidium
306204c71d
(svn r7328) -Fix: memory corruption. The 'Load Heightmap' window does not have TerraGenesis configuration buttons and it does have only 29 widgets, not at least 33. Thanks to Tefad for finding this bug.
2006-12-03 13:06:49 +00:00
KUDr
7395780daf
(svn r7327) -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing
2006-12-03 12:17:35 +00:00