Commit Graph

294 Commits (6a4d8fdd33de84ef691caa29ea77c21ff2b8d6c4)

Author SHA1 Message Date
KUDr 1235172cc7 (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 470c383738 (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 b0c56742af (svn r7238) Remove two unused strings 18 years ago
miham fd01e39de0 (svn r7215) revoked last commit, have to modify the language config prior to the commit 18 years ago
miham 6290e35ea8 (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 f2cda44d2e (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 deb7ff245a (svn r7183) -Feature (cont): Convert all language from ISO8859-15 to UTF-8 18 years ago
peter1138 1a4f1c8177 (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 40d647ddde (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 ea0018fced (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 e89a255238 (svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) 18 years ago
glx 2b034d9b5b (svn r7144) -Cleanup r7102: remove STR_CONFIG_PATCHES_PROGRESS_UPDATE_INTERVAL in lang files 18 years ago
Darkvater 2b8530507d (svn r6933) -Feature: Allow spectators to speak to eachother (team) 18 years ago
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.
18 years ago
peter1138 735c636f6f (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 8411b3b9fe (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 c758f7d812 (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 abc14c950a (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 0ae642b914 (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 f389bd25ae (svn r6747) -Revert wrongly committed english strings. 18 years ago
Darkvater 4bfb4430ce (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 407d979236 (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 b8e1f70751 (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 2e7dc02b91 (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 c968a1c5fc (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 e49b1c4ed5 (svn r6686) -Fix r6684: Intro Date is now called Introduction Date 18 years ago
bjarni de504592a8 (svn r6684) -Feature: [train build window] added sorting options for the engines 18 years ago
bjarni db66567799 (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 ea63050d5f (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 3cfa76f0c5 (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 f91c43d792 (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 5b60e371a6 (svn r6570) -Feature: added "start all" and "stop all" buttons to the vehicle lists 18 years ago
bjarni 371f080182 (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 2579b68e34 (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 f18405dfd0 (svn r6523) - 'Feature'/'Fix': Add tooltips to the new company colour window 18 years ago
bjarni 1d554da2fc (svn r6515) -Feature: added "start all" and "stop all" buttons to the depot windows 18 years ago
peter1138 37e00dbef2 (svn r6474) - Add a patch option to control display of liveries, allowing none, your
own, or all companies.
18 years ago
bjarni 7d1baa32bf (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 3d3d9a11bd (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 851874d8e1 (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 88d5472fe8 (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 79971ac119 (svn r6453) -Feature: FS#305 Turkish currency (jnmbk) 18 years ago
bjarni 58c125d233 (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 fca06248cd (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 538ab07b69 (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
Darkvater a0486a3b48 (svn r6272) -Revert the colour-mess in the vehicle window. Servicing depot destinations
have the same colour as always, if the vehicle goes to stop inside the depot
 the colour is red, as it was.
-Tooltip windows should be somewhat short, not a whole essay.
18 years ago
tron 659e09e5bc (svn r6270) Remove the "unsorted" vehicle sorter, because it's plain useless 18 years ago
bjarni b9f47dda4e (svn r6237) -Fix r6165: fixed wrong hangar name in heading for hangar strings
also fixed inconsistent Danish translation and a typo in Dutch in the same strings
18 years ago
bjarni 15f9208302 (svn r6229) -Feature: Shared order lists now got a "goto depot" button
this will try to send all vehicles in the list to depots/hangars
	currently if one fails to find a depot, it will not tell the player
18 years ago
bjarni 6cbd4cc167 (svn r6165) -Feature: control click Goto Depot will now make the vehicle service
at the depot and leave right away.
 To tell the difference the status of stopping vehicles will be in red,
 while servicing vehicles will be green.
-Codechange: remove some dead code in CmdSendAircraftToHangar() since it is
 conflicting with new functionality. Now p2 means the same for all types
18 years ago