summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-07(svn r7409) -Codechange: Make the ResizeWindow function also available ↵Darkvater
outside of window.c. This makes it possible to programmatically resize windows specifying a delta x,y.
2006-12-06(svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE ↵Darkvater
mode; sorry, should've tested.
2006-12-06(svn r7405) WebTranslator2 update to 2006-12-06 20:03:46miham
dutch - 23 fixed by habell (23) esperanto - 317 fixed, 21 changed by LaPingvino (338) estonian - 12 fixed by t2t2 (12) italian - 6 changed by sidew (6) polish - 28 fixed by meush (28) swedish - 25 fixed, 1 changed by cjw (26) ukrainian - 43 fixed by znikoz (43)
2006-12-06(svn r7403) -Codechange (r7386, r7385): Use available functions to find a ↵Darkvater
window instead of doing some cruft yourself (and wrongly typing non-const as const).
2006-12-06(svn r7402) -Fix: [FS#255] Long Delay for Message Windows to Appear. ↵Darkvater
Immediately show a new message if present if no news window is open, or has just been closed instead of waiting for the timer of the current news to time out.
2006-12-06(svn r7393) WebTranslator2 update to 2006-12-06 12:15:25miham
croatian - 110 fixed by knovak (110) italian - 10 changed by sidew (10) turkish - 15 fixed by jnmbk (15) ukrainian - 8 fixed by znikoz (8)
2006-12-06(svn r7392) [Translations] Added Esperanto languagemiham
2006-12-06(svn r7391) -Fix r6814: when sending money in multiplayer, the corresponding ↵glx
chat message was for the wrong player (off by one)
2006-12-06(svn r7390) -Codechange r7386: only loop though the windows to find a depot ↵bjarni
window to unhighlight a vehicle in if there is a vehicle on the mouse pointer
2006-12-05(svn r7389) -Fix: when forcing a vehicle to go to a depot, clear refit ↵bjarni
orders from current orders (caused refit error popup when not having no orders)
2006-12-05(svn r7388) -Fix (r7384 / r7368 / r3757): When adding a new news item for ↵Darkvater
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(svn r7387) -Fix: czech lang file compilation errorKUDr
2006-12-05(svn r7386) -Codechange r7385: moved deletion of the vehicle highlight from ↵bjarni
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(svn r7385) -Fix: FS#418 Deleting Train in depot with autoreplace failesbjarni
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(svn r7384) -Fix: No vehicle was removed in DeleteVehicleNews when the ↵Darkvater
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(svn r7383) -Codechange: fix up typo in news-gui ↵Darkvater
s/MoveToNexItem/MoveToNextItem/.
2006-12-05(svn r7378) -Fix (r2428): Don't update vehicle images when turning a train ↵peter1138
around. During this procedure the train is split into parts which can result in incorrect images being used.
2006-12-05(svn r7377) -Fix (r7326): With gradual loading, make sure cargo is only paid ↵peter1138
for once, and always notify the station the vehicle was present. (Maedhros)
2006-12-05(svn r7375) WebTranslator2 update to 2006-12-05 18:07:02miham
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(svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by ↵matthijs
GetMaxVehicleIndex().
2006-12-05(svn r7373) -Codechange: when removing a GRF from the list, make the next ↵peter1138
one selected, or the previous file if the last item is being removed. This makes clearing the list easier.
2006-12-05(svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to ↵matthijs
GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
2006-12-05(svn r7370) -Cleanup: Use NewsID instead of byte for news identifiers, and ↵Darkvater
some minor other things
2006-12-05(svn r7369) -Cleanup: Some coding style, usage of increaseIndex and ↵Darkvater
decreaseIndex to loop through the fifo-array-buffer, typo's.
2006-12-05(svn r7368) -Fix: [FS#332] Vehicle Deletion Crash [News Window Related?] ↵Darkvater
(r3757).
2006-12-05(svn r7367) -Codechange: prevent adding files where the GRF ID is already in ↵peter1138
the list
2006-12-05(svn r7366) -Fix: Out of bounds widget access when accessing orders window ↵Darkvater
of other players.
2006-12-04(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an filepeter1138
2006-12-04(svn r7362) -Fix (r7337): Free the freetype face after any possible error. ↵Darkvater
For win32 do not use the last font in the registry if no suitable font is found.
2006-12-04(svn r7360) -Cleanup r7357: Update STR_NEWGRF_FILENAME and STR_NEWGRF_GRF_ID ↵glx
in all languages
2006-12-04(svn r7358) -Codechange: add newgrf_gui.c to MS project filespeter1138
2006-12-04(svn r7357) -Codechange: new NewGRF set up window which allows modification ↵peter1138
of NewGRF settings.
2006-12-04(svn r7356) -Codechange: replace 'for (i = 0, wi = w->widget; wi->type != ↵rubidium
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(svn r7355) -Codechange: replace 'for (i = 0; w->widget[i].type != WWT_TYPE; ↵rubidium
i++)'-type for loops with 'for (i = 0; i < w->widget_count; i++)'-type for loops
2006-12-04(svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags ↵peter1138
exclusively. Update action 7/9 now that we know if GRFs are disabled.
2006-12-04(svn r7353) -Codechange: constify Window* in ↵rubidium
IsWindowWidget(Lowered|Hidden|Disabled)
2006-12-04(svn r7352) -Codechange: add widget_count parameter to the window.rubidium
-Codechange: check whether widget indices are valid for all the (Set|Is)WindowWidget(Disabled|Lowered|Hidden) and related functions.
2006-12-04(svn r7351) -Fix (r6619): Disabled platform length and numbers were not ↵peter1138
reset for the default station.
2006-12-04(svn r7350) -Fix: do not handle the save game/scenario filename edit box ↵rubidium
when loading a game/scenario/heightmap.
2006-12-04(svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths.peter1138
2006-12-04(svn r7348) -Feature: Initial support for saving NewGRF settings with ↵peter1138
savegames. Back up your savegames...
2006-12-04(svn r7347) -Translations: Use correct plural type for Russianpeter1138
2006-12-04(svn r7346) WebTranslator2 update to 2006-12-04 05:22:02miham
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-03(svn r7345) -Codechange: enumification of NewGRF loading stage, and move ↵peter1138
enum definition to header for future use.
2006-12-03(svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H ↵matthijs
(forgotten in r7331).
2006-12-03(svn r7338) -Fix (r7336): [win32] libfreetype is libfreetype2 in linker ↵Darkvater
options (thanks Rubidium)
2006-12-03(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ↵Darkvater
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(svn r7336) -Codechange: [win32] Add freetype support for Windows project files.Darkvater
2006-12-03(svn r7335) -Codechange: redraw station tiles when cargo is moved, for ↵peter1138
newstations
2006-12-03(svn r7334) -Revert accidentally committed file in r7333Darkvater