Commit Graph

5278 Commits (339a697c8aa9ef4e900c4258692c73b73dea7862)
 

Author SHA1 Message Date
peter1138 339a697c8a (svn r7421) -Fix (r2475): Changed "kick off" acceleration resulted in only a small amount of power being applied whilst moving off and then double the power at 1 mph. This resulted in a perceived delay before trains moved. Fix this by applying the full power of the engine (or the kick off, whichever is greater). Essay over. 18 years ago
Darkvater 1001bdcd9a (svn r7420) -[lang] Dammit, there are too many language files, missed some from the list. 18 years ago
Darkvater 92b02f42f2 (svn r7419) -[lang] Fix up the language files after r7418 18 years ago
Darkvater 84c36a481c (svn r7418) -Codechange/Feature: Put back the 'New Vehicles' button in the vehicle list window. As
things won't fit now because of too many buttons, move 'send to depot' and 'autoreplace'
 to a dropdown box (and seperate 'send to depot' and 'send for servicing').
 The 'New Vehicles' button shows a list of all engines you have available for that vehicle
 type (in case of trains all railtypes). Button is only enabled for global list.
18 years ago
Darkvater 616028a453 (svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use
their type anyways.
18 years ago
Darkvater 6049734c06 (svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag 18 years ago
belugas 5b4d3daf0e (svn r7413) -Fix[FS#386,#412]: Station list window NONE button now behaves correctly.
-Fix: Clicking on SORT button (same window) does not reset everything anymore.
-Featurette: cargo, NONE and both ALL buttons are now shown fully down on pressed, as the text is deported by one pixel on y and y
Some widgets enum and code clean-up
18 years ago
Darkvater 90f7419681 (svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others 18 years ago
Darkvater 509a179676 (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it
in a sane way. Correctly specify resize flags for windows and only manually change the
 widgets that the resize system cannot handle (eg centering). This changes r6562, and
 probably some other commits
18 years ago
Darkvater 7e23667bbe (svn r7409) -Codechange: Make the ResizeWindow function also available outside of window.c. This makes
it possible to programmatically resize windows specifying a delta x,y.
18 years ago
Darkvater 2dabe7ec0f (svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested. 18 years ago
miham 69e1da096a (svn r7405) WebTranslator2 update to 2006-12-06 20:03:46
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)
18 years ago
Darkvater c1a0e2e39f (svn r7403) -Codechange (r7386, r7385): Use available functions to find a window instead of doing
some cruft yourself (and wrongly typing non-const as const).
18 years ago
Darkvater 3807e914e8 (svn r7402) -Fix: [FS#255] Long Delay for Message Windows to Appear. 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.
18 years ago
miham dbe33c7ae6 (svn r7393) WebTranslator2 update to 2006-12-06 12:15:25
croatian   - 110 fixed by knovak (110)
italian    - 10 changed by sidew (10)
turkish    - 15 fixed by jnmbk (15)
ukrainian  - 8 fixed by znikoz (8)
18 years ago
miham 3c80ced19c (svn r7392) [Translations] Added Esperanto language 18 years ago
glx 234311c637 (svn r7391) -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one) 18 years ago
bjarni eaa5af4f5c (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 18 years ago
bjarni 1f02a49721 (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) 18 years ago
Darkvater f2a70e3e26 (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.
18 years ago
KUDr 0e10e86137 (svn r7387) -Fix: czech lang file compilation error 18 years ago
bjarni 666abc0e15 (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
18 years ago
bjarni d15a4d7523 (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
18 years ago
Darkvater 6d54dcdd24 (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)
18 years ago
Darkvater 3beb23e1c6 (svn r7383) -Codechange: fix up typo in news-gui s/MoveToNexItem/MoveToNextItem/. 18 years ago
peter1138 4d5535bc54 (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.
18 years ago
peter1138 55dc2fbbef (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) 18 years ago
miham 3e6d57d53b (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)
18 years ago
matthijs e208c15059 (svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex(). 18 years ago
peter1138 96fdda5c73 (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. 18 years ago
matthijs e6ade36de1 (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 18 years ago
Darkvater 75ec6d9b77 (svn r7370) -Cleanup: Use NewsID instead of byte for news identifiers, and some minor other things 18 years ago
Darkvater f14a24ac26 (svn r7369) -Cleanup: Some coding style, usage of increaseIndex and decreaseIndex to loop through the
fifo-array-buffer, typo's.
18 years ago
Darkvater 8df7ca8f4a (svn r7368) -Fix: [FS#332] Vehicle Deletion Crash [News Window Related?] (r3757). 18 years ago
peter1138 941e6248cf (svn r7367) -Codechange: prevent adding files where the GRF ID is already in the list 18 years ago
Darkvater 9e151cf54f (svn r7366) -Fix: Out of bounds widget access when accessing orders window of other players. 18 years ago
peter1138 a18e772528 (svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file 18 years ago
Darkvater 0e465359c5 (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.
18 years ago
glx 9812cefbe9 (svn r7360) -Cleanup r7357: Update STR_NEWGRF_FILENAME and STR_NEWGRF_GRF_ID in all languages 18 years ago
peter1138 ded31be0a0 (svn r7358) -Codechange: add newgrf_gui.c to MS project files 18 years ago
peter1138 1ba264866a (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 18 years ago
rubidium 292aeae137 (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).
18 years ago
rubidium c1220546c4 (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 18 years ago
peter1138 301d392b2c (svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled. 18 years ago
rubidium f029259767 (svn r7353) -Codechange: constify Window* in IsWindowWidget(Lowered|Hidden|Disabled) 18 years ago
rubidium d832b9c388 (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.
18 years ago
peter1138 9c861ef9c3 (svn r7351) -Fix (r6619): Disabled platform length and numbers were not reset for the default station. 18 years ago
rubidium 9cdeeb18cb (svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap. 18 years ago
peter1138 a1f5d2078f (svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths. 18 years ago
peter1138 3b6d2ed064 (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 18 years ago