[SRC] Compiling copy_paste.cpp
/home/pub/games/openttd/build/signal_autocomplete_trunk/src/copy_paste.cpp: In function 'void PasteArea(TileIndex, bool, bool, bool, bool)':
/home/pub/games/openttd/build/signal_autocomplete_trunk/src/copy_paste.cpp:282: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is bet
ter than the worst conversion for the second:
/home/pub/games/openttd/build/signal_autocomplete_trunk/src/copy_paste.cpp:282: note: candidate 1: operator<<(unsigned int, int) <built-in>
/home/pub/games/openttd/build/signal_autocomplete_trunk/src/rail.h:91: note: candidate 2: TrackBits operator<<(int, Track)
And the same error in approx. 240 more locations in the same file. I could turn it into a warning with the -fpermissive switch, but it would be better if this could be fixed.
Edit: And the same in viewport.cpp
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
After a long time of abstinence the current linux-version is availible.
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Cudos on this plugin! It's a hell of a time saver. I sure hope this is getting into Trunk sometime.
I mostly use it when building up larger intersections from smaller repeated parts. Although I do have a few intersections that are small and standard enough to just copy/paste whole.
I would like to use the copy and paste features in multiplayer internet games (v0.5.0) on both mac and windows.
Does copy & past run on a mac ok?
Is there somewhere I can get binaries which allow me to do this?
Or if I have to compile these binaries myself, will the latest version of the patch apply to the source for 0.5.0?
(P.S I don't have visual studio setup anymore to try, and haven't taken any interest openttd for the last 6-9 months so am not aware of any recent developments.)
@DannyA:
It should run on a mac, but i never tried it.
You have to compile it for yourself,
because i don't have a mac and don't know how to crosscompile for it.
The current patch does NOT apply to 0.5.0 easily.
Mainly because of C++ branch merge and Makefile rewrite, which changed many filenames and file locations.
Thanks for the info Frostregen, although it was not exactly what I was hoping to hear
I don't have a mac either - it's for a mate but maybe he'll find the patiance to get it working, but not me I think.
i like it so much too, i will be playing online tomorrow and show what i have found.
Do you think we can have it implemented in the nightly version too?
The good thing about the nightly is that you can build diagonal tracks under bridges.
It often help me A LOT.
I have been playing with the copy&paste function today and i noticed that bridges become 2 tiles long atleast from my machine.
Anyone else who have had that experience?
Maybe it's just all my viruses on the specific machine doing a trick.
However in the MiniIN version of OTTD there is another copy&paste that can take bridges too.
MiniIN is suppose to have bugs in it but i rarely find any actually.
Link to the MiniIN versions of OTTD: http://nightly.openttd.org/MiniIN/files/
About Bridges:
Which version does have this error - Nightly or 0.5.0?
Does your error mean your bridges will get 2 tiles long,
regardless of length before copy?
I'll have a look into it, maybe a bug from backporting to 0.5.0.