Commit Graph

413 Commits

Author SHA1 Message Date
celestar 3dc645ce0a (svn r8611) -Fix: Moved the aircraft speed limiting into UpdateAircraftSpeed and enummed some speed limits. This should give a more steady display in the status bar during taxiing 2007-02-06 15:38:23 +00:00
bjarni 80125fd934 (svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
-The user will notice the following changes:
      All vehicle types behaves in the same way
      Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine
      All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF)
      Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list

   -The code changes:
      Instead of looping all engines all the time, each list generates a list like the build windows
        This ensures consistent list generation since only one function can loop all engines
      Unified code for all vehicle types
      It now use the lists to call the drawing code in the build vehicle window
      Works on selected EngineIDs instead of selected index in the list
2007-02-06 11:11:12 +00:00
rubidium 2918fab68d (svn r8609) -Fix: a road vehicle that is very close after another (slower) road vehicle gets its speed reset to 0 when entering a tunnel, which causes a traffic jam outside of the tunnel. 2007-02-06 09:29:56 +00:00
rubidium 8c3793a088 (svn r8608) -Fix: you were unable to build roads in the scenario editor when there is no town 0, even though there are other towns. 2007-02-06 09:25:52 +00:00
bjarni ca1a88f6c4 (svn r8605) -Codechange: [OSX] changed all objective C to objective C++
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files

   -Note: (important if you develop mac specific code)
   taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html           
    gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
    gdb assumes that the language for ".mm" files is C++.
    you can change it to objective C by typing: (gdb) set language objc 
    Mixing C++ and objective C has some limitation (see link for all of them)
2007-02-05 21:16:56 +00:00
rubidium 1bf688e5b5 (svn r8593) -Fix (FS#564): bridges do not get destroyed when the bridge head gets flooded and there is a vehicle on the bridge. Original patch by KeeperofTheSoul. 2007-02-05 14:00:32 +00:00
miham cf5f19520c (svn r8588) -Update: WebTranslator2 update to 2007-02-04 19:36:03
catalan    - 1 fixed by arnaullv (1)
czech      - 3 fixed, 12 changed by Hadez (15)
esperanto  - 2 fixed by LaPingvino (2)
hungarian  - 4 fixed by miham (4)
korean     - 8 fixed by leejaeuk5 (8)
portuguese - 2 fixed, 2 changed by izhirahider (4)
russian    - 11 fixed, 14 changed by DarkFenX (25)
2007-02-04 18:36:43 +00:00
tron 6b72228df5 (svn r8582) -Fix
Reorder the attributes of some structs to reduce their size
2007-02-04 13:46:21 +00:00
KUDr ccffde6d7e (svn r8576) -Fix: wrong type given to MallocT (VC2003, UNICODE build) 2007-02-04 11:33:02 +00:00
rubidium 8b8e41ceb8 (svn r8575) -Fix (8125): remove unused include 2007-02-04 11:31:24 +00:00
KUDr 62486a73ed (svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating debug information emission for enum 'StringIdEnum'" 2007-02-04 11:30:22 +00:00
rubidium ec058624ad (svn r8573) -Cleanup: obey the comment style in stdafx.h. 2007-02-04 11:20:24 +00:00
rubidium 1945653380 (svn r8572) -Fix: use the C++ version of the Standard C Library headers. This due to the fact that some stl headers will include them anyway and #undef several defines made in stdafx.h.
An example of this is that fopen that we redefine to _wfopen (for Windows Unicode compatability), is reverted to a non-Windows Unicode compatible fopen. This makes it impossible to start openttd with non-ASCII characters in the path or load savegames with non-ASCII characters under Windows.
2007-02-04 11:14:42 +00:00
tron 880412c5fd (svn r8570) -Fix
Add a regular constructor and destructor to AirportFTAClass
2007-02-04 10:25:57 +00:00
peter1138 e724ada674 (svn r8569) -Fix (r8464): revert properly 2007-02-04 05:53:09 +00:00
maedhros 6c23767d3c (svn r8567) -Feature: Allow upgrading bridges by building a new bridge over the top. (Based on a patch by gigajum)
- The replacement bridge must be the same transport type, and if it's a rail bridge it must have the same railtype.
  - Town owned bridges can also be upgraded, but only to a bridge with a higher top speed.
2007-02-03 21:55:14 +00:00
tron b1e3466b1d (svn r8566) -Fix
Remove untranslated strings
2007-02-03 21:13:34 +00:00
tron d80747fb16 (svn r8565) -Fix
Fix indentation
2007-02-03 20:15:17 +00:00
tron 4b5bed99a2 (svn r8564) -Fix
Remove incorrect empty translations
2007-02-03 20:12:06 +00:00
tron 77be0abd3d (svn r8563) -Fix
Replace very old tabs which should be spaces by spaces
2007-02-03 20:11:10 +00:00
miham f32a3eb7d6 (svn r8562) -Update: WebTranslator2 update to 2007-02-03 19:51:53
brazilian_portuguese - 1 changed by fukumori (1)
croatian   - 78 fixed, 1 changed by tperic (79)
german     - 15 changed by Neonox (15)
portuguese - 4 fixed by izhirahider (4)
russian    - 10 fixed by DarkFenX (10)
slovenian  - 4 fixed by Necrolyte (4)
2007-02-03 18:56:42 +00:00
tron 1a3b4b7394 (svn r8559) -Fix
-Codechange: Put the airport movement data into struct AirportFTAClass
2007-02-03 13:03:11 +00:00
tron c326ff3795 (svn r8550) -Fix
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
2007-02-03 09:05:43 +00:00
tron 981833751a (svn r8549) -Fix
Do not check whether the end of the depot array has been reached when building an aircraft. This cannot happen, just assert it really does not happen
2007-02-03 08:30:22 +00:00
tron c3d971c855 (svn r8548) -Fix
Remove redundant second retrieval of the AircraftVehicleInfo when building an aircraft
2007-02-03 07:54:13 +00:00
tron feab2ace94 (svn r8547) -Fix
Remove redundant second retrieval of the station and airport when building an aircraft
2007-02-03 07:47:00 +00:00
rubidium 500f9a971a (svn r8546) -Codechange: add a seperate (wrapper) functions to send/receive booleans. 2007-02-02 23:16:58 +00:00
rubidium 9ddd227eb3 (svn r8544) -Codechange: move game list related function/struct declarations to network_gamelist.h 2007-02-02 21:32:58 +00:00
rubidium 6a820a30d1 (svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP. 2007-02-02 21:04:50 +00:00
rubidium 07b9d95c3c (svn r8542) -Codechange (Fix?): tweak the gamelist requery timeout so more servers are found for slow network connections. 2007-02-02 20:57:03 +00:00
KUDr e66028538a (svn r8540) -Fix[YAPF]: Assert when buoy is placed on NE or NW map edge (Dan) 2007-02-02 20:20:56 +00:00
tron 4216c10eb1 (svn r8539) -Fix
static
2007-02-02 19:09:54 +00:00
tron e0a46a08e9 (svn r8538) -Fix
GetRoadStopByTile() cannot return NULL. Remove therefore unnecessary check
2007-02-02 19:07:20 +00:00
miham 8baecb778d (svn r8537) -Update: WebTranslator2 update to 2007-02-02 19:45:42
brazilian_portuguese - 33 changed by fukumori (33)
danish     - 2 fixed by MiR (2)
esperanto  - 6 fixed, 1 changed by LaPingvino (7)
italian    - 4 changed by sidew (4)
2007-02-02 18:48:37 +00:00
celestar 22dc618582 (svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out 2007-02-02 16:51:10 +00:00
belugas 1c013055b6 (svn r8535) -Feature: Allow lumbermill to cut trees only when they are full grown.
This does not affect output of the mill, but make the visual aspect of it more accurate.
Prior of this, the mill produced cargo of the same amount even if the trees are on their first stages of growth.
2007-02-02 15:14:28 +00:00
celestar 6f01ba5ad9 (svn r8534) -Feature/Codechange: Provide aircraft with vertical separation depending on their altitude and velocity 2007-02-02 15:04:59 +00:00
rubidium 904088f2f9 (svn r8533) -Fix: segmentation fault when the toolbar gets removed and you have selected one of the items in a submenu of the toolbar. 2007-02-02 14:32:23 +00:00
tron be26fbcbb3 (svn r8531) -Fix
Remove unnecessary pointer mumbo-jumbo from FindRoadStopSpot()
2007-02-02 08:23:48 +00:00
celestar 90528dc78e (svn r8528) -Codechange: Rename IsBuoy_() to IsBuoy() now that the naming conflict no longer exists. 2007-02-02 07:48:06 +00:00
miham ae3982dbec (svn r8527) -Update: WebTranslator2 update to 2007-02-02 07:41:47
brazilian_portuguese - 6 fixed, 363 changed by fukumori (369)
bulgarian  - 6 fixed by groupsky (6)
catalan    - 6 fixed by arnaullv (6)
croatian   - 54 fixed, 3 changed by tperic (57)
czech      - 6 fixed by Hadez (6)
danish     - 2 fixed, 1 changed by MiR (3)
dutch      - 2 fixed by habell (2)
estonian   - 6 fixed by kristjans (6)
french     - 4 fixed by glx (4)
german     - 6 fixed, 2 changed by Neonox (8)
hungarian  - 2 fixed by miham (2)
italian    - 6 fixed, 4 changed by lorenzodv (6), sidew (4)
japanese   - 6 fixed by ickoonite (6)
polish     - 4 fixed by meush (4)
simplified_chinese - 6 fixed by Fishingsnow (6)
slovenian  - 39 fixed, 1 deleted, 2 changed by Necrolyte (42)
turkish    - 6 fixed by jnmbk (6)
ukrainian  - 41 fixed, 1 deleted, 22 changed by znikoz (1), mad (63)
2007-02-02 06:42:55 +00:00
peter1138 2e2e19b3d1 (svn r8526) -Codechange: add stubs for unsupported newgrf station properties 2007-02-02 02:56:29 +00:00
rubidium 59f4f056df (svn r8525) -Codechange: make NetworkSend_Packet(s) and NetworkRecv_Packet functions of NetworkTCPSocketHandler. 2007-02-01 23:50:15 +00:00
Darkvater 4ebb009ab4 (svn r8524) -Cleanup: Ala r8509 add some enum names to the generate landscape window 2007-02-01 23:39:48 +00:00
rubidium 16ce6def09 (svn r8523) -Codechange: move all the Network(Recv|Send)_(uintXX|string) functions to Packet. 2007-02-01 23:26:44 +00:00
Darkvater 19c90a3bc0 (svn r8522) -Regression (r8512): The flat/random window moved the to scenario editor did not use the right settings for generating land 2007-02-01 22:54:04 +00:00
rubidium 99f860e686 (svn r8521) -Codechange: initial step in converting Packet to a class; make and use constructors and functions related to the reading/saving the packet size. 2007-02-01 22:30:35 +00:00
rubidium 15980fc023 (svn r8520) -Fix/Feature: requery gameservers that did not respond to their first query. 2007-02-01 21:04:40 +00:00
celestar 5678febfe2 (svn r8514) -Codechange: Turn IsBuoy into a method of stations 2007-02-01 16:48:38 +00:00
Darkvater 33cadd5043 (svn r8513) -Cleanup (r8512): Remove the now unused strings from the language files, as well as two others that weren't used for ages (tgp had other strings for them, or simply not). 2007-02-01 16:28:11 +00:00