Page 7 of 28
Posted: 12 Jun 2006 10:58
by Frostregen
News:
->Button: Bulldoze before rebuild? If enabled, non-vacant-Terrain is bulldozed before paste. if disabled, it is not.
-> Mirror: Horzontal + Vertical.
Mirror works fine, after implementing it, i noticed a problem with mirroring.
The signal directions are mirrored too. (Look at the image)
This is how it is supposed to work, but unsuitable for mirroring a junction, because the mainline-directions are switched too.
What to do now?
-Should the directions stay the same?
-Should it work how it is supposed to?
-Make this optional? (Yes, another button for the evergrowing army of the Widgets)
Note: Mirror-Icons are just placeholders atm...
Posted: 12 Jun 2006 13:34
by bobingabout
maybe have a reverse signals button?
Posted: 12 Jun 2006 16:09
by skidd13
A reverse signals button could be the solution, but think of KISS (Keep It Simple and Smart).
Here is an idea for the mirror icons and maybe some button sorting. Just keep it clearly arranged.

Posted: 13 Jun 2006 14:02
by Frostregen
News:
-> Bug fixed: signal storelocation has to be mirrored/rotated too.
Affected only tiles with 2 signals on it.
-> Button: Switch Signal direction when pasting. (Auto-Toggled, when Mirror is used)
If enabled, signal directions are switched before pasting. (Does not modify the copied content)
@skidd13: I used your mirror icons
The icon arrangement will be changed, when all buttons are implemented.
Since new buttons arrived, you have to get the newest copypaste.grf too.
Posted: 13 Jun 2006 14:28
by skidd13
Compile was successfull but game won't start
- used revision 5240
- replaced grf
- OS: Linux
Code: Select all
openttd: gfxinit.c:367: LoadSpriteTables: Assertion `load_index == SPR_2CCMAP_BASE' failed.
@Frostregen:
Frostregen wrote:
@skidd13: I used your mirror icons
The icon arrangement will be changed, when all buttons are implemented.
OK

Posted: 13 Jun 2006 15:05
by Frostregen
Hrm seems like no matter how I compile, those assertion failures won't show up
The assertion failure was indeed correct. ->fixed
Thx for reporting
EDIT: Just discovered "auto-disable asserts for release versions" within the makefile. doh

Posted: 13 Jun 2006 19:15
by gkirilov
Frostregen, is it possible to update your first post with the latest version of your patch in stead of posting new files.
(easier to track and doesn't take so much space on the forum).
Posted: 13 Jun 2006 19:59
by Frostregen
Should be no problem. (I deleted the old files regularly to save space already)
With the next version I'll move it to the first post.
Posted: 14 Jun 2006 15:43
by skidd13
How far is the rail conversion atm?
Here is an idea to prevent an extra button for this in the copy-past widget. The copied are will be pasted in the selected rail-type. But then there is the need of one button in each rail-widget.
Posted: 14 Jun 2006 17:01
by Frostregen
Good idea.
The buttons in every rail-toolbar are not needed.
I will add a "convert rail to last used railtype" button to the copy&paste menu.
This should do it.
Posted: 14 Jun 2006 17:26
by Wolf01
is the button with the picture of a signal used for trigger the copy of the signals or to trigger the mirroring of signals when you mirror the selection?
in the second case, i suggest to add something like a mirror or an arrow to make the behaviour more comprensible
Posted: 14 Jun 2006 18:15
by Frostregen
If you press this button it changes to <see image>
My first idea was to make the first state like the second, but with both signals facing in the same direction. But I thought the difference was to small to notice properly.
The buttons for copying specific items will be reduced to:
-Road
-Rail
-"Only your own items"
I don't see any use for copying rails without signals, or a junction without bridges and tunnels.
But maybe you have some ideas which actually make use of those features.
Posted: 14 Jun 2006 18:20
by Wolf01
maybe a single signal with an arrow like the turn selection is better
Posted: 14 Jun 2006 18:26
by Frostregen
I could imagine this too
I'll work on it.
Btw, is there a correct palette file for photoshop somewhere?
The one I have found in the forums is not very accurate.
Posted: 14 Jun 2006 21:50
by skidd13
Wolf01 wrote:maybe a single signal with an arrow like the turn selection is better
I made some possible solutions.

-----------------
| 1 | 3 | 5 | 7 |
-----------------
| 2 | 4 | 6 | 8 |
-----------------
1 and 2 are the original icons.
3 and 4 are possible replacements.
The other icons are only a possible replacement for the reverse signals icon.
Frostregen wrote:Btw, is there a correct palette file for photoshop somewhere?
I could offer you one for GIMP, but not for Photoshop.

Posted: 14 Jun 2006 23:17
by Frostregen
Ok I'll take the gimp palette, and give the gimp another try (since photoshop sucks in some areas)
It would save me some effort if you upload your suggestions directly as pcx. (With colors from the openTTD palette used.)
I would vote for no. 6
EDIT: I extracted the palette from trg1r.grf.
Now I can copy your icons without any index problems. (You don't need to post images as pcx, as mentioned above)
It took a while to find out how to exchange the palette(Colortable) in Gimp

Posted: 15 Jun 2006 07:46
by skidd13
Frostregen wrote:Ok I'll take the gimp palette, and give the gimp another try
Here it is
Edit: attachment removed
Posted: 15 Jun 2006 09:06
by bobingabout
i like the 1 in the top right corner

Posted: 15 Jun 2006 15:10
by Frostregen
Thx for the palette.
But some questions: why there is a black to white color ramp from index 1 to about 15? Ingame it turns out pink.
Is there a document which states the special meaning of some the colors? (like the blinking red/black yellow/black)
Hmm, the one in the top right corner is nice too.
Posted: 15 Jun 2006 16:38
by skidd13
Frostregen wrote:But some questions: why there is a black to white color ramp from index 1 to about 15? Ingame it turns out pink.
Is there a document which states the special meaning of some the colors? (like the blinking red/black yellow/black)
Sorry something in the palette file was wrong!

New file attached!
I prefer Nr. 7 too.
@Frostregen
Btw, is there a need of linux binaries?