matthijs
fd394303b2
(svn r2146) - Fix: [ 1175973 ] Crash if any key is pressed in startup (pkirchhofer)
2005-04-04 16:47:03 +00:00
miham
facec3d922
(svn r2145) [Translations] Updated translations (174 strs/6 langs)
...
[Translations] Also switched to two spaces instead of tabs (Darkvater requested)
2005-04-03 20:44:14 +00:00
darkvater
1944c5f877
(svn r2144) - Fix: AI crash when trying to remove stations with index higher than 256.
2005-04-03 13:57:39 +00:00
Darkvater
7a9fad7ee1
(svn r2143) - Fix: [ 1175748 ] Wrong Button-Images in scenario-editors landscape-tool (thanks chrishuebsch)
2005-04-03 13:40:13 +00:00
Darkvater
2aa7b2d7ea
(svn r2142) - Fix: Game no longer crashes when you want to remove a piece of road under a bridge that belongs to the town. TODO: railcrossings store owner somewhere else, put it into _map_owner[]!
2005-04-03 13:37:35 +00:00
Darkvater
9aacf73720
(svn r2141) - Fix: Keys now hopefully only activate the right windows. If console/querybox/chatbox is open, all input goes there, if closed to game itself.
2005-04-03 13:35:43 +00:00
Darkvater
f203150f7d
(svn r2140) - Fix: [ 1175726 ] Allows rails in scenario editor. Moved both 'A' autorail and 'L' Terraform toolbar to their REAL places instead of the global window.
2005-04-03 10:21:37 +00:00
bjarni
19b87abd56
(svn r2139) -fix: "[ 1146215 ] Engine power not updated w/auto replace" autoreplace now forces an update of the cache. It should not affect gameplay as the
...
cache is updated each time the train starts moving, it's just an instant update of the detail window
2005-04-03 09:38:13 +00:00
celestar
816f629f13
(svn r2138) -Fix: [ 1144154 ] The map has two dimensions, not one
2005-04-03 06:26:31 +00:00
Darkvater
0aa8913834
(svn r2137) - CodeChange: Remove unnecessary preprocessor magic
2005-04-02 23:06:54 +00:00
Darkvater
b05713285e
(svn r2136) - Fix: [ 1174313 ] terrain hotkeys nonfunctional in scenario editor (D,Q,W,E,R,T,Y,U fltr)
...
- Fix: 'L' no longer opens ingame terraform bar in scenario editor bar, but the land generator one
- Feature: [ 1095110 ] Create Lake and draggable Create Desert tools (initial implementation GoneWacko), also added sticky buttons to land generator and town generator
- CodeChange: moved around some of the draggable tools, demystifying them
- CodeChange: change CmdBuildCanal to allow for XANDY dragging not only X or Y (only scenario editor)
- CodeChange: add some more enums to sprites.
- TODO: merge most of the ingame and scenario editor land terraform code. This can only be done after OnClickButton function is changed so it also includes the backreference to the widget being clicked, postponed to after 0.4.0
2005-04-02 23:05:09 +00:00
miham
1ce34ea456
(svn r2135) [Translations] Updated translations (142 strings to 4 languages)
2005-04-02 22:37:24 +00:00
tron
03569d1c49
(svn r2134) Return the correct error message if rail is already under a bridge, fix for r2131
2005-04-02 22:04:43 +00:00
tron
c75d699b02
(svn r2133) Fix dependency tracking for C++ files
2005-04-02 21:05:10 +00:00
tron
ffe868a38a
(svn r2132) Fix copy&paste bug in r2131
2005-04-02 19:45:52 +00:00
tron
e82468f627
(svn r2131) -Fix: Rewrite CmdBuildSingleRail(), this addresses several issues:
...
- Check input parameters for validity
- Adhere patch settings - you were able to build foundations under bridges even if foundations where deactivated
- Charge for foundations in all cases - foundations under bridges were for free
- Make the control flow more clear
2005-04-02 18:33:53 +00:00
pasky
e0a34f8b00
(svn r2130) Various spelling fixes in messages.
2005-04-02 16:46:23 +00:00
pasky
ff403d04a2
(svn r2129) Reverted r2125 and depending revisions (map size selector in the intro window). Will be done in a separate dialog. This also fixes showing of various rail/road-related strings.
2005-04-02 16:40:21 +00:00
pasky
685b137675
(svn r2128) Kill forgotten CmdSetNewMapSize() stub whose existence was kindly pointed out by TrueLight.
2005-04-02 16:16:00 +00:00
pasky
46c2fc4c22
(svn r2127) Get rid again of the CmdSetNewMapSize(), which was agreed to be just useless clutter. (Perhaps we should get rid of CmdSetNewLandscapeType() too, but I won't take responsibility for that. ;-)
2005-04-02 15:59:07 +00:00
Darkvater
31a7ef9933
(svn r2126) - Fix : #2 Fix compilation with network disabled, and comment out some of the warnings (unused function) (I missed this out the last commit, sorry)
2005-04-02 15:08:31 +00:00
pasky
225aa2ef48
(svn r2125) - Feature: In the intro dialog, show a map size selector below the landscape type selector.
2005-04-02 15:03:48 +00:00
pasky
93ef61dfcc
(svn r2124) Final _select_game_widgets[] reordering, even landscape panels in place now.
2005-04-02 12:45:12 +00:00
pasky
b4123cf945
(svn r2123) Reordered _select_game_widets[] to follow a sensible order.
2005-04-02 12:19:01 +00:00
pasky
0fab63db74
(svn r2122) Reformatted the widget tables so that they don't look so ugly anymore, especially with different tab widths than 2.
2005-04-02 12:01:25 +00:00
truelight
3177525871
(svn r2121) -Fix: changed the 2nd param of AyStar_EndNodeCheck back to what it should be
2005-04-02 10:38:31 +00:00
miham
333376cb6a
(svn r2120) [Translations] Updated translations (166 strings to 6 languages)
2005-04-02 07:19:03 +00:00
pasky
c68e9478fe
(svn r2119) - Fix: [ 1172878 ] Trains "Go to depot" button: click twice skip to next order (patch by Loic GUILLOUX). I also added short explanation of OF_/OFB_ difference to order.h.
2005-04-02 01:08:01 +00:00
Darkvater
a636a36989
(svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function)
2005-04-02 00:17:16 +00:00
miham
5e07cd938d
(svn r2117) [Translations] Introduce lithuanian translation as finished
2005-04-01 20:10:20 +00:00
miham
74d7cc6bf3
(svn r2116) [Translations] Updated translations
2005-04-01 20:03:48 +00:00
tron
7168cfd6f3
(svn r2115) Spring cleaning, no functional changes
2005-04-01 10:43:20 +00:00
truelight
f25a118ea4
(svn r2114) -Fix: fix menu with signlist in SE
2005-03-31 17:31:26 +00:00
truelight
7f6753ed89
(svn r2113) -Fix: first check if a vehicle is a train, before accessing u.rail
2005-03-31 12:39:18 +00:00
tron
3c38db7c2b
(svn r2112) -Fix: ExtMidi no longer halts the game while starting a song
...
-Fix: Redirect stdin/stdout/stderr of the ExtMidi process to /dev/null, to prevent it from writing to the terminal
While here give the ExtMidi functions canonical names
2005-03-30 19:52:26 +00:00
pasky
3e4553e55f
(svn r2111) So, result is bool therefore no need for this horrible == 0 thing.
2005-03-30 12:30:24 +00:00
pasky
6dc963e246
(svn r2110) - Fix: Fixed test for various flags (e.g. newtrains in usset). result is bool so !! any non-zero values before assigning them to it - they apparently didn't fit. ;-)
2005-03-30 12:27:50 +00:00
truelight
4c9f0eefb4
(svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0)
2005-03-30 09:25:20 +00:00
truelight
9ebe54c1ae
(svn r2108) -Fix: the server now also unpause when a client desyncs or something
2005-03-30 08:50:34 +00:00
pasky
afcfbdf852
(svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange.
2005-03-29 21:42:51 +00:00
truelight
40a9b91b37
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
...
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you
can auto-pause the game when a client wants to join the game. This to
avoid connection losses because of big maps (200+ trains). (with tnx to
#openttdcoop for the ideas and testing)
2005-03-29 19:10:13 +00:00
celestar
58a72bf483
(svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains
2005-03-29 11:19:10 +00:00
tron
e39cb78b73
(svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check
2005-03-29 08:37:44 +00:00
Darkvater
a4e17642a8
(svn r2103) - Fix: Remove unnused variable from OS2 file
2005-03-28 21:14:36 +00:00
tron
b2dd47f565
(svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926])
2005-03-28 18:59:33 +00:00
tron
72dbefdebd
(svn r2101) statvfs() is availible on POSIX.1 conformant systems.
...
Also use a different field, which has a better chance of containing meaningful information, of the returned struct to determine the free space on the filesystem and fix a small bug introduced in r2100 (s/!=/==/)
2005-03-28 15:40:05 +00:00
darkvater
d643ca6271
(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
2005-03-28 13:30:51 +00:00
truelight
555a78aaac
(svn r2099) -Fix: no longer chat-messages hang when the game wraps around 2090
...
-Codechange: while trying to find this bug, made texteff.c a bit more readable :)
2005-03-28 12:38:02 +00:00
tron
fbe7139358
(svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic
2005-03-28 08:48:41 +00:00
celestar
b505d1782f
(svn r2097) -Codechange: [Multistop] Prettified the previous commit
2005-03-28 08:17:35 +00:00