Age | Commit message (Collapse) | Author |
|
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
|
|
langs)
|
|
(someone fscked it up!)
|
|
then the end of the list is reached (Hackykid)
|
|
(c.f. previous commit)
|
|
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
|
|
the engine
replaced from did not have cargo capacity (instead of refitting to passengers)
|
|
|
|
changable now.
- Codechange: [NPF] Improved the NPF hash calculation slightly.
- Codechange: [NPF] Increased hash size, should speed up somewhat.
|
|
|
|
files there
|
|
say left/right instead of up/down
|
|
- 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
|
|
bitshifts :P (sorry)
|
|
depots (introduced in r2154)
- Fix: [NPF] Trains still tried to go through the back of depots.
|
|
|
|
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.
|
|
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!
|
|
handle (use max64 instead of max)
|
|
back of depots and road stations.
- Add: GetDepotDirection() wrapper function.
- Fix: [NPF] Ships can now actually reach buoys.
|
|
win32-only (glx)
|
|
- 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.
|
|
|
|
|
|
not have "focus", keyinput went to game. A quick fix for the horrid inputkey-handling.
|
|
can reverse in depots. This makes forced servicing tracks work with NPF.
|
|
(higher) penalty, to discourage trains from waiting at presignal exits.
|
|
(pkirchhofer)
|
|
[Translations] Also switched to two spaces instead of tabs (Darkvater requested)
|
|
than 256.
|
|
landscape-tool (thanks chrishuebsch)
|
|
road under a bridge that belongs to the town. TODO: railcrossings store owner somewhere else, put it into _map_owner[]!
|
|
console/querybox/chatbox is open, all input goes there, if closed to game itself.
|
|
'A' autorail and 'L' Terraform toolbar to their REAL places instead of the global window.
|
|
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
|
|
|
|
|
|
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
|
|
|
|
bridge, fix for r2131
|
|
|
|
|
|
- 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
|
|
|
|
intro window). Will be done in a separate dialog. This also fixes showing of various rail/road-related strings.
|
|
kindly pointed out by TrueLight.
|
|
just useless clutter. (Perhaps we should get rid of CmdSetNewLandscapeType() too, but I won't take responsibility for that. ;-)
|
|
some of the warnings (unused function) (I missed this out the last commit, sorry)
|
|
the landscape type selector.
|
|
in place now.
|