Commit Graph

299 Commits (fefb819f84728c71f41f97fd7e5244910eff0cab)

Author SHA1 Message Date
Darkvater 1001bdcd9a (svn r7420) -[lang] Dammit, there are too many language files, missed some from the list. 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
peter1138 941e6248cf (svn r7367) -Codechange: prevent adding files where the GRF ID is already in the list 18 years ago
peter1138 1ba264866a (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 18 years ago
peter1138 acac44820b (svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros) 18 years ago
KUDr acf4891180 (svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:
- using one engine list instead of 3
- removed engine filters (loco, wagons, helicopters, etc.)
- EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList)
- removed unnecessary  "optimization" (rebuild and sort engine list on each WE_PAINT)
18 years ago
peter1138 180019aa40 (svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before. 18 years ago
tron 6bbb0169f9 (svn r7238) Remove two unused strings 18 years ago
miham 13e2e10db2 (svn r7215) revoked last commit, have to modify the language config prior to the commit 18 years ago
miham 1981418925 (svn r7214) WebTranslator2 update to 2006-11-19 21:32:01
american   - 5 fixed by WhiteRabbit (5)
brazilian_portuguese - 6 fixed by tucalipe (6)
catalan    - 5 fixed by arnaullv (5)
czech      - 5 fixed by Hadez (5)
danish     - 3 fixed, 2 changed by ThomasA (5)
dutch      - 3 fixed by habell (3)
finnish    - 7 fixed, 3 changed by kerba (10)
french     - 5 fixed by glx (2), belugas (3)
galician   - 7 fixed, 1 changed by Condex (8)
german     - 4 fixed by Neonox (4)
italian    - 3 fixed by sidew (3)
polish     - 6 fixed, 21 changed by meush (27)
portuguese - 5 fixed by izhirahider (5)
romanian   - 9 fixed, 2 changed by kneekoo (11)
spanish    - 5 fixed, 1 changed by eusebio (6)
turkish    - 2 fixed by jnmbk (2)
ukrainian  - 6 fixed by znikoz (6)
18 years ago
KUDr ff7e46f378 (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
(original patch by maedhros, ideas: peter1138, Darkvater, Rubidium, Patrick, Eddi|zuHause, ..)
18 years ago
peter1138 73989b1437 (svn r7183) -Feature (cont): Convert all language from ISO8859-15 to UTF-8 18 years ago
peter1138 f660d48e6a (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 18 years ago
Darkvater 1b0e95539f (svn r7179) -Codechange (r7173): Actually "prefer" team chat through the patch setting instead of
always sending to teammate if the patch is on even if you do not have any allies. So
 with setting off you always send to 'all players', with setting on you send to teammates
 if you have any, otherwise to all players.
18 years ago
Darkvater da2d221337 (svn r7173) -Codechange (r6824): Allow the user to change the chat-destination when chatting with <ENTER> or 'T' instead of the game choosing one for you automatically. 18 years ago
Darkvater d5c8a54666 (svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) 18 years ago
glx 50305fb253 (svn r7144) -Cleanup r7102: remove STR_CONFIG_PATCHES_PROGRESS_UPDATE_INTERVAL in lang files 18 years ago
Darkvater a7c484f1ea (svn r6933) -Feature: Allow spectators to speak to eachother (team) 18 years ago
Darkvater a28048a4ea (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.
18 years ago
peter1138 6b3abe6508 (svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) 18 years ago
peter1138 68dda86c5b (svn r6855) - Codechange: When displaying a "quantity of cargo" string, use the {CARGO} command and supply the cargo type and quantity, instead of manually looking up the cargo type's string. 18 years ago
KUDr 13f8fa8ba9 (svn r6800) -Feature change: [train is lost] message is now generated immediately when pathfinder can't find the path. (thanks MeusH, peter1138 and Brianetta for ideas and help). 18 years ago
bjarni 6b5c105e28 (svn r6792) -Cleanup: improved the English used in STR_VEH_WITH_SHARED_ORDERS_LIST_TIP (jez)
The meaning should remain the same and there is no need to retranslate this string
18 years ago
Darkvater f2fd789cc6 (svn r6758) -Feature: Add a measurement tool that will show dimensions and height
differences of various draggable tools (inspiration, concept and double
 checking by MeusH).
18 years ago
Darkvater afdc0c2e57 (svn r6747) -Revert wrongly committed english strings. 18 years ago
Darkvater 25d114d0a8 (svn r6746) -Codechange: Remove the need for double strings in "checkmarked" items. While
here have a little go at the MenuWndProc() function for a little cleanup.
18 years ago
bjarni 772d7c9fb3 (svn r6708) -Feature: [build aircraft window] added sort options to the list
-Fix r6707: solved an issue where scrollcount was not always set correctly
18 years ago
bjarni 306178e0b3 (svn r6707) -Feature: [build aircraft window] added buttons to view propeller planes, jet planes or helicopters
-Codechange: the build aircraft window now generates 3 malleced lists and displays based on those list
    This is preparation for sorting aircraft
18 years ago
bjarni 9133a68660 (svn r6697) -Fix: [order refit] if an order refit fails, the vehicle is now stopped and the player gets a message (like vehicle stopped in depot)
This should prevent a vehicle from failing to be refitted and then show up and block a station with full load.
   In such a case, it's better to stop in a depot (that will not stop any other vehicles) and notify the owner
18 years ago
bjarni cc802953a3 (svn r6689) -Fix: corrected vehicle type in tooltip for the list in the refit window
This was actually not a bug from unifying this window as it was incorrect even before they were merged
18 years ago
bjarni a7f17f751a (svn r6686) -Fix r6684: Intro Date is now called Introduction Date 18 years ago
bjarni c362b3e919 (svn r6684) -Feature: [train build window] added sorting options for the engines 18 years ago
bjarni e1ad1102f2 (svn r6679) -Feature: [train build window] added filter for wagons, engines or both in the display
-Codechange: [train build window] to get rid of a really ugly hack, the train build list is now generated in one loop and stored in an array
18 years ago
bjarni 71ca65588c (svn r6624) -Feature: added ability to add refit commands to vehicle orders (can only be done in goto depot orders)
Example: make a train transport iron ore from A to B, then it visits a depot and refits to steel
     It then transport steel back to A or near A if there is a factory and then it visits another depot to refit to iron ore again

   This is controlled in the orders. If a goto depot order is lightlighted, then "Unload" changes to "Refit"
   Control click "Refit" removes the refit part of the order (as the tooltip says)
   The player will still pay the normal refit costs

   Known issues:
      If a vehicle is not in a depot, then the refit window will fail to tell refitted cargo capacity
      Refit costs in the refit window can sometimes print 0 when it should not because the refit calculation is unaware that the vehicle will be refitted in between

   Warning: autoreplace got a protection against replacing something so you get a new cargo type, but it can fail here. In the iron ore/steel example, it can see that
      the vehicle carries iron ore and the new one can be refitted to iron ore, then it will replace. It will not check to see that it's valid for steel as well.
      This is something to look into in the future
18 years ago
bjarni da6b015b04 (svn r6591) -Codechange: changed strings that used the word "depot" into one for each vehicle type
This is a request from translators as depot is not valid for all vehicle types in all translations
   This will cause a lot of warnings when generating the lang files. MiHaMiX will fix them in a moment (hopefully)
18 years ago
bjarni 5b2f08260b (svn r6586) -Feature: [depot window] added a vehicle list window with all vehicles having a certain depot in their orders
It got one known issue though. The top bar got a plural issue so expect to see stuff like "1 trains" until we figure out why it behaves this way
  Added the button to the depot windows. Made the autoreplace button bigger while I was moving some widgets anyway
  Made road vehicle depot windows start with one more row to make room for the buttons
18 years ago
bjarni d4be0eb4c9 (svn r6570) -Feature: added "start all" and "stop all" buttons to the vehicle lists 18 years ago
bjarni 4ee09c22bb (svn r6552) -Feature: [depot window] added a "autoreplace all vehicles in depot" button
Like the "sell all" button, this one lacks a sprite as well. We will hopefully get one shortly
18 years ago
bjarni 825f63bde3 (svn r6542) -Feature: [depot window] added a "sell all vehicles in depot" button
It's right below the sell button (sell whole chain button for trains)
   It's still missing a sprite. That one will be added as soon as anybody draws something we can use
   To make room for this button, all depots except train depots now opens with an additional row and can't be resized shorter than that
18 years ago
peter1138 cbf2310bb5 (svn r6523) - 'Feature'/'Fix': Add tooltips to the new company colour window 18 years ago
bjarni 7ac9005d5e (svn r6515) -Feature: added "start all" and "stop all" buttons to the depot windows 18 years ago
peter1138 c474ba5fd1 (svn r6474) - Add a patch option to control display of liveries, allowing none, your
own, or all companies.
18 years ago
bjarni e4d044871b (svn r6468) -Codechange r6464: now use error() when failing refit in autoreplace to ensure that such a failure will not break a game
We should only reach this error() if there is a bug, that would otherwise make the vehicles carry a different type of cargo without telling the user
   This also kills the warning added in r6464 (oops)
18 years ago
bjarni 16fe2503d3 (svn r6464) -Fix r6393: killed a warning when compiling without asserts
added an error popup in the game if autoreplace fails to refit
   Since it's only triggered by conditions bugs can trigger, it works kind of like a non-fatal assert in builds without asserts
18 years ago
peter1138 53e90c0628 (svn r6456) - Replace single colour scheme for passenger wagons with separate schemes for each of steam, diesel or electric engines. Savegames from the previous revision will not load. 18 years ago
peter1138 e47dd91c8b (svn r6455) - Feature: Add 2cc (two company colours) livery schemes. This replaces the original colour selection window and bumps the saveload version. Liveries are supported for all vehicles, not just those with 2cc support. Thanks to lakie for GUI inspiration. 18 years ago
belugas 326e74055e (svn r6453) -Feature: FS#305 Turkish currency (jnmbk) 18 years ago
bjarni d14bfcd4cf (svn r6415) -Fix r6414: switched orange and light blue colours in last commit, so they now fit what we agreed upon (oops)
stopping is now orange and service is now light blue
18 years ago
bjarni 87ca6ea0a1 (svn r6414) -GUI change: heading for depot is now shown as either "Service at depot" (service) in orange or "Heading for depot" (stopping) in light blue 18 years ago
Darkvater fae6a74e71 (svn r6278) -Revert the colour-mess in the vehicle window for ships, fourwheelers and
aircraft as well which I missed out in the last commit.
18 years ago