Commit Graph

2074 Commits

Author SHA1 Message Date
Darkvater 9876fb54bd (svn r2177) - Fix: Fix a slot desync with setting the invalid slot to the correct value 2005-04-10 21:51:11 +00:00
tron 4dbf5b37cc (svn r2176) Revise CheckOprhanedSlot():
- Don't assert the vehicle type, as it can be anything
- Don't touch the slot information of the vehicle, because it's possible that it is not a road vehicle anymore and even if it is, it has nothing to to with that slot
- Trim the debug printout, because the information about the vehicle is arbitrary
(Joint effort with Darkvater)
2005-04-10 20:48:43 +00:00
miham 41f38775a1 (svn r2175) [Translations] Updated translations (11 strs/3 langs) 2005-04-10 18:02:48 +00:00
miham 6f15593ce2 (svn r2174) [Translations] Updated translations (7 strs/2 langs) 2005-04-09 22:42:12 +00:00
celestar 91d44ef577 (svn r2173) -Fix: [ 1179380 ] Rail now builds on reserved land. Cause by the problem that CMD_ERROR is just the highest bit of the return value, but CMD_CLEAR_LANDSCAPE returns a negative value for owned land. So the highest bit is set as well. Note to self: Finish Command Patch 2005-04-09 06:20:03 +00:00
miham 5a65140cb4 (svn r2172) [Translations] Translations from the last two days (37 strs/11 langs) 2005-04-09 06:19:08 +00:00
miham 13969f5940 (svn r2171) [Translations] Manually fixed string-order in english.txt (someone fscked it up!) 2005-04-09 06:15:16 +00:00
bjarni 4af271c494 (svn r2170) -fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid) 2005-04-08 23:46:18 +00:00
celestar 5d02a2c295 (svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit) 2005-04-08 22:50:22 +00:00
Darkvater 7ef681eaed (svn r2168) - Fix: Various stages of invisible trains, and wrong v->u.rail.track combinations. When a vehicle was sold its (possibly) assigned road slot for multislot was not cleared, thus resulting in a bug confusion. This should fix [ 1178520 ] Assertion failure in ai.c (invalid v->u.rail.track). With big thanks to TrueLight for the demo-recording patch, BJH for the wonderful savegame, Hackykid for his brilliant suggestions of the problem and Celestar for... ehm, making it all possible ;p 2005-04-08 22:44:06 +00:00
bjarni a9c52454c8 (svn r2167) -fix: [autoreplace] trains now get the default cargo type if the engine
replaced from did not have cargo capacity (instead of refitting to passengers)
2005-04-08 15:40:44 +00:00
matthijs 5e4961d902 (svn r2166) Fixed two warnings in the last commit. 2005-04-07 19:33:32 +00:00
matthijs da3621c180 (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.
2005-04-07 19:19:16 +00:00
Darkvater 9c3813e213 (svn r2164) - Language: [ 1173684 ] fix some wrong french translations (glx) 2005-04-07 10:50:55 +00:00
Darkvater a3293be124 (svn r2163) - SVN: Set ignore on grfcodec for when you decode/encode grf files there 2005-04-07 01:18:50 +00:00
Darkvater 68138d6a31 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down 2005-04-07 01:02:15 +00:00
Darkvater 081ff24282 (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
2005-04-07 00:59:54 +00:00
Darkvater 5a78c32a23 (svn r2160) - Fix (Regression): Convert rail failed to work; stupid bitshifts :P (sorry) 2005-04-06 21:12:28 +00:00
matthijs 4bd95d756e (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.
2005-04-06 21:03:24 +00:00
miham 7f941818a8 (svn r2158) [Translations] Updated translations (72 strs/2 langs) 2005-04-06 20:20:31 +00:00
Darkvater 5109df6f55 (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.
2005-04-06 18:44:34 +00:00
truelight 93c61b9e8f (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!
2005-04-06 15:39:18 +00:00
Darkvater 13fc3271f4 (svn r2155) - Fix: Company value was $2 when value more than an int32 could handle (use max64 instead of max) 2005-04-06 09:34:56 +00:00
matthijs 92fe22382a (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.
2005-04-05 22:06:02 +00:00
darkvater dfe6c34bf1 (svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx) 2005-04-05 21:09:36 +00:00
darkvater 22d36985cd (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.
2005-04-05 21:03:30 +00:00
miham 4aa7cf8e9f (svn r2151) [Translations] Updated translations (36 strs/2 langs) 2005-04-05 20:52:55 +00:00
miham 8153a56aa4 (svn r2150) [Translations] Updated translations (14 strs/10 langs) 2005-04-04 21:25:15 +00:00
Darkvater 42eae13270 (svn r2149) - Fix (Regression): [ 1175877 ] Inputbox of savegamedialog did not have "focus", keyinput went to game. A quick fix for the horrid inputkey-handling. 2005-04-04 19:14:40 +00:00
matthijs ead34df653 (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. 2005-04-04 18:36:08 +00:00
matthijs 6c825df8f7 (svn r2147) - Add: [NPF] Give red presignal exit signals a different (higher) penalty, to discourage trains from waiting at presignal exits. 2005-04-04 17:53:39 +00:00
matthijs 00c819c0d5 (svn r2146) - Fix: [ 1175973 ] Crash if any key is pressed in startup (pkirchhofer) 2005-04-04 16:47:03 +00:00
miham b2c7543204 (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 2ac7077571 (svn r2144) - Fix: AI crash when trying to remove stations with index higher than 256. 2005-04-03 13:57:39 +00:00
Darkvater 31381af8a0 (svn r2143) - Fix: [ 1175748 ] Wrong Button-Images in scenario-editors landscape-tool (thanks chrishuebsch) 2005-04-03 13:40:13 +00:00
Darkvater fc411d3675 (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 f00d0d8ea8 (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 83d62b1aa2 (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 587106a869 (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 5d937e4a23 (svn r2138) -Fix: [ 1144154 ] The map has two dimensions, not one 2005-04-03 06:26:31 +00:00
Darkvater 64533d53dc (svn r2137) - CodeChange: Remove unnecessary preprocessor magic 2005-04-02 23:06:54 +00:00
Darkvater f35b59aded (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 3bfda758db (svn r2135) [Translations] Updated translations (142 strings to 4 languages) 2005-04-02 22:37:24 +00:00
tron 0f830b79e1 (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 edd301d364 (svn r2133) Fix dependency tracking for C++ files 2005-04-02 21:05:10 +00:00
tron 10e4c9bfab (svn r2132) Fix copy&paste bug in r2131 2005-04-02 19:45:52 +00:00
tron ad7f157ac4 (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 2d0698633d (svn r2130) Various spelling fixes in messages. 2005-04-02 16:46:23 +00:00
pasky 8d09a1ae87 (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 bfe31c32c0 (svn r2128) Kill forgotten CmdSetNewMapSize() stub whose existence was kindly pointed out by TrueLight. 2005-04-02 16:16:00 +00:00