Commit Graph

1663 Commits (1d64640ebd908bdb1df97e35c0dc1f6ed7bdadd4)
 

Author SHA1 Message Date
matthijs 1d64640ebd (svn r2166) Fixed two warnings in the last commit. 20 years ago
matthijs ad5c6a1ecd (svn r2165) - Codechange: [NPF] Properly enummed NPF hash size, it is easily changable now.
- Codechange: [NPF] Improved the NPF hash calculation slightly.
- Codechange: [NPF] Increased hash size, should speed up somewhat.
20 years ago
Darkvater 1ba3d4ea9f (svn r2164) - Language: [ 1173684 ] fix some wrong french translations (glx) 20 years ago
Darkvater 41abb27557 (svn r2163) - SVN: Set ignore on grfcodec for when you decode/encode grf files there 20 years ago
Darkvater 817a665c52 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down 20 years ago
Darkvater 34811a332e (svn r2161) - Fix: When resizing a window, the button is also visibly depressed
- CodeChange: Use images as arrows in the scenario-date scroller, looks better
- Feature: Clicked buttons with images/text now visibly depress their contents when pressed (eg it really seems like the button is moving)
- Fix: Fix sprite offsets of the arrow sprites in openttd.grf
20 years ago
Darkvater 39c4c70c68 (svn r2160) - Fix (Regression): Convert rail failed to work; stupid bitshifts :P (sorry) 20 years ago
matthijs 62b1e657c9 (svn r2159) - Fix: [NPF] Road vehicles never found their target station or depots (introduced in r2154)
- Fix: [NPF] Trains still tried to go through the back of depots.
20 years ago
miham e6abbbca77 (svn r2158) [Translations] Updated translations (72 strs/2 langs) 20 years ago
Darkvater f208f5fa10 (svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu
- Feature: If the to be started server is using a password, draw a red '*' after the set password button to remind the user.
20 years ago
truelight 6a341663cc (svn r2156) -Fix: in revision 2104 someone forgot to add a very important check in
GetPrevVehicleInChain; this caused some nasty bugs in depots, like 
wagons without engines complain about not being stopped, and stuff like 
that. Hopefully this fixes those problems. With a big tnx to BJH for his 
perfect demo!
20 years ago
Darkvater 1b43dec1d6 (svn r2155) - Fix: Company value was $2 when value more than an int32 could handle (use max64 instead of max) 20 years ago
matthijs d08dfa84a4 (svn r2154) - Fix: [NPF] Vehicles should no longer try to drive through the back of depots and road stations.
- Add: GetDepotDirection() wrapper function.
- Fix: [NPF] Ships can now actually reach buoys.
20 years ago
darkvater 50003f4ed9 (svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx) 20 years ago
darkvater 648fa7c97d (svn r2152) - Fix: Chatbar in MP games is now on-top of the news window.
- CodeChange: Introduction of SendWindowMessage() where a window can send another window a message (ala windows style msg, wparam, lparam). Messages can be sent by windowclass and by windowpointer.
- CodeChange: IsVitalWindow() simplifies a lot of checks for window handling that need to know what windows it can close, or be on top of, etc.
20 years ago
miham 4b3f20f484 (svn r2151) [Translations] Updated translations (36 strs/2 langs) 20 years ago
miham 089ea3cbb9 (svn r2150) [Translations] Updated translations (14 strs/10 langs) 20 years ago
Darkvater 9d34e1fe01 (svn r2149) - Fix (Regression): [ 1175877 ] Inputbox of savegamedialog did not have "focus", keyinput went to game. A quick fix for the horrid inputkey-handling. 20 years ago
matthijs bb67c4f356 (svn r2148) - Add: [NPF] Trains can now plan taking into account that they can reverse in depots. This makes forced servicing tracks work with NPF. 20 years ago
matthijs cee1a5d1b2 (svn r2147) - Add: [NPF] Give red presignal exit signals a different (higher) penalty, to discourage trains from waiting at presignal exits. 20 years ago
matthijs fd394303b2 (svn r2146) - Fix: [ 1175973 ] Crash if any key is pressed in startup (pkirchhofer) 20 years ago
miham facec3d922 (svn r2145) [Translations] Updated translations (174 strs/6 langs)
[Translations] Also switched to two spaces instead of tabs (Darkvater requested)
20 years ago
darkvater 1944c5f877 (svn r2144) - Fix: AI crash when trying to remove stations with index higher than 256. 20 years ago
Darkvater 7a9fad7ee1 (svn r2143) - Fix: [ 1175748 ] Wrong Button-Images in scenario-editors landscape-tool (thanks chrishuebsch) 20 years ago
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[]! 20 years ago
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. 20 years ago
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. 20 years ago
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
20 years ago
celestar 816f629f13 (svn r2138) -Fix: [ 1144154 ] The map has two dimensions, not one 20 years ago
Darkvater 0aa8913834 (svn r2137) - CodeChange: Remove unnecessary preprocessor magic 20 years ago
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
20 years ago
miham 1ce34ea456 (svn r2135) [Translations] Updated translations (142 strings to 4 languages) 20 years ago
tron 03569d1c49 (svn r2134) Return the correct error message if rail is already under a bridge, fix for r2131 20 years ago
tron c75d699b02 (svn r2133) Fix dependency tracking for C++ files 20 years ago
tron ffe868a38a (svn r2132) Fix copy&paste bug in r2131 20 years ago
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
20 years ago
pasky e0a34f8b00 (svn r2130) Various spelling fixes in messages. 20 years ago
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. 20 years ago
pasky 685b137675 (svn r2128) Kill forgotten CmdSetNewMapSize() stub whose existence was kindly pointed out by TrueLight. 20 years ago
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. ;-) 20 years ago
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) 20 years ago
pasky 225aa2ef48 (svn r2125) - Feature: In the intro dialog, show a map size selector below the landscape type selector. 20 years ago
pasky 93ef61dfcc (svn r2124) Final _select_game_widgets[] reordering, even landscape panels in place now. 20 years ago
pasky b4123cf945 (svn r2123) Reordered _select_game_widets[] to follow a sensible order. 20 years ago
pasky 0fab63db74 (svn r2122) Reformatted the widget tables so that they don't look so ugly anymore, especially with different tab widths than 2. 20 years ago
truelight 3177525871 (svn r2121) -Fix: changed the 2nd param of AyStar_EndNodeCheck back to what it should be 20 years ago
miham 333376cb6a (svn r2120) [Translations] Updated translations (166 strings to 6 languages) 20 years ago
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. 20 years ago
Darkvater a636a36989 (svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function) 20 years ago
miham 5e07cd938d (svn r2117) [Translations] Introduce lithuanian translation as finished 20 years ago