Commit Graph

5974 Commits (e133a523c1e38f09e593dda7fcaebd1ba13ee5d1)
 

Author SHA1 Message Date
bjarni e133a523c1 (svn r8662) -Fix r8661: don't try to put negative values in unsigned vars 18 years ago
bjarni 0c8078ae29 (svn r8661) -Fix: [depot windows] Enlarge the blocks in the depot window if a sprite is too big to fit (ships and aircraft only)
-Codechange: depot windows default now makes a 1x1 matrix and resize the window by block size*number of blocks
   This will make less vehicle type specific code and easier to read resizing based on sprite sizes
18 years ago
tron 356e47f108 (svn r8660) -Fix
-Codechange: Remove _avail_aircraft
Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it.
Further it is unnecessary to store it in savegams.
18 years ago
bjarni b4592c8a54 (svn r8658) -Fix r8605: missed an error message renaming from m to mm (objC to objC++) 18 years ago
rubidium b0d4ece2ad (svn r8651) -Codechange: group the functions related to getting and setting the town index and move one function that is not related to the map array out of town_map.h. 18 years ago
celestar 7299a42729 (svn r8648) -Codechange: Renamed os/linux to os/mandrake because that's what is is about. Added another spec file for suse (early version) which will be used to create rpms 18 years ago
truelight 7cd68b5a07 (svn r8647) -Codechange: add a general way to handle platforms who can only have a limited amount of file-descripters open at any given time.
The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often.
  The first platform using this is PSP. Patch based on the work of Turulo.
18 years ago
miham 424001168d (svn r8645) -Update: WebTranslator2 update to 2007-02-08 22:52:39
french     - 38 changed by Skiper (38)
norwegian_nynorsk - 6 fixed by khaavik (6)
traditional_chinese - 64 changed by thomasau (64)
18 years ago
rubidium 656766da02 (svn r8642) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, etc. 18 years ago
rubidium 3d04e8f64d (svn r8637) -Fix: CTRL-clicking on a hangar in the order list segfaulted as hangars are part of a station instead of real depots. 18 years ago
rubidium 6bbbedc8cc (svn r8635) -Fix: draw canal edges under buoys that are in a canal. 18 years ago
rubidium ea55a04b69 (svn r8634) -Codechange: replace missing sprites with a red question mark. 18 years ago
truelight 26f5a156dc (svn r8633) [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail 18 years ago
truelight 7c1a538910 (svn r8632) [PSP] -Add: added include and lib to CFLAGS / LDFLAGS based on the SDK dir from psp-config
-Fix: disabled pthread for PSP
18 years ago
truelight c46a1cc2f6 (svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects DEBUG() to a remote connection over TCP
For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982
  Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9
  And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
18 years ago
truelight 2a7682be79 (svn r8629) [PSP] -Add: added psp-config detection in configure for PSP target 18 years ago
truelight 062ee7d9eb (svn r8628) [PSP] -Add: added configure support for the PlayStation Portable target
In the coming days/weeks there will be an attempt to port OpenTTD for 
  this target. This is a very small step towards that.
18 years ago
miham 596fb726d0 (svn r8622) -Update: WebTranslator2 update to 2007-02-07 22:44:21
finnish    - 8 fixed by kerba (8)
russian    - 4 fixed, 2 changed by DarkFenX (6)
slovak     - 2 changed by lengyel (2)
spanish    - 7 fixed by eusebio (7)
traditional_chinese - 38 fixed, 27 changed by thomasau (65)
18 years ago
bjarni 037d636734 (svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
  Surprisingly this can be done without changing the savegame format
18 years ago
rubidium 5666d8d727 (svn r8620) -Fix: buoys on canal tiles do not flood anymore (Maedhros). 18 years ago
rubidium d95a872579 (svn r8619) -Fix: store the ownership of a water tile in the buoy tile and set the ownership of the water tile when the buoy is removed. This solves the issue of removing ownership from canal tiles thus making is possible for other players to remove the canal tile. 18 years ago
tron eab0379264 (svn r8618) -Fix
Remove redundant assignments. The function call just before already does it
18 years ago
tron 9ad50fff33 (svn r8617) -Fix
Fix harmless typo: s/,/;/
18 years ago
miham 122f23a470 (svn r8616) -Update: WebTranslator2 update to 2007-02-06 22:31:04
american   - 6 fixed by WhiteRabbit (6)
brazilian_portuguese - 11 changed by fukumori (11)
croatian   - 29 fixed, 1 changed by tperic (30)
danish     - 2 fixed by MiR (2)
dutch      - 4 fixed by habell (4)
french     - 1 fixed by glx (1)
korean     - 18 changed by leejaeuk5 (4), darkttd (14)
russian    - 4 fixed, 31 changed by DarkFenX (35)
slovak     - 7 fixed by lengyel (7)
traditional_chinese - 2806 fixed by sam0737 (93), cylau0 (412), xbddc (109), thomasau (440), tiberiusteng (1752)
ukrainian  - 4 fixed, 1 deleted, 3 changed by mad (8)
18 years ago
miham 01c5140297 (svn r8615) [Translations] -Prepare: added traditional chinese to project files as well 18 years ago
miham 17c8b38f7a (svn r8614) [Translations] -Prepare: prepare committing traditional chinese 18 years ago
KUDr f801a5c04f (svn r8613) -Fix [MorphOS]: offsetof() macro undefined for MorphOS build 18 years ago
maedhros 7a685a35fc (svn r8612) -Fix (r117) [FS#582]: When the currently selected player in the performance
details window is no longer active, choose the first active player instead of
the first player as that may also be inactive.
18 years ago
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 18 years ago
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
18 years ago
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. 18 years ago
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. 18 years ago
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)
18 years ago
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. 18 years ago
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)
18 years ago
tron 6b72228df5 (svn r8582) -Fix
Reorder the attributes of some structs to reduce their size
18 years ago
KUDr ccffde6d7e (svn r8576) -Fix: wrong type given to MallocT (VC2003, UNICODE build) 18 years ago
rubidium 8b8e41ceb8 (svn r8575) -Fix (8125): remove unused include 18 years ago
KUDr 62486a73ed (svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating debug information emission for enum 'StringIdEnum'" 18 years ago
rubidium ec058624ad (svn r8573) -Cleanup: obey the comment style in stdafx.h. 18 years ago
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.
18 years ago
tron 880412c5fd (svn r8570) -Fix
Add a regular constructor and destructor to AirportFTAClass
18 years ago
peter1138 e724ada674 (svn r8569) -Fix (r8464): revert properly 18 years ago
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.
18 years ago
tron b1e3466b1d (svn r8566) -Fix
Remove untranslated strings
18 years ago
tron d80747fb16 (svn r8565) -Fix
Fix indentation
18 years ago
tron 4b5bed99a2 (svn r8564) -Fix
Remove incorrect empty translations
18 years ago
tron 77be0abd3d (svn r8563) -Fix
Replace very old tabs which should be spaces by spaces
18 years ago
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)
18 years ago
tron 1a3b4b7394 (svn r8559) -Fix
-Codechange: Put the airport movement data into struct AirportFTAClass
18 years ago