Author Topic: All info in signal window  (Read 12041 times)

0 Members and 1 Guest are viewing this topic.

Online Ves

All info in signal window
« Reply #70 on: April 01, 2017, 07:47:29 PM »
Im not home over the weekend, but i might have it ready Monday or Tuesday night.
So, fam, to clarify, that means that James can pull my stuff, then it will be in the nightly AFTER all that is done. So hopefully Wednesday or Thursday, or maybe as late as Friday :)
« Last Edit: April 01, 2017, 08:02:54 PM by Ves »

Offline fam621

Re: All info in signal window
« Reply #71 on: April 01, 2017, 08:44:04 PM »
Ok. :)

Online Ves

Re: All info in signal window
« Reply #72 on: April 02, 2017, 09:05:37 PM »
What is the difference between "maintenance" and "base maintenance"? I assume one of those (or both) are the monthly cost?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #73 on: April 02, 2017, 10:05:08 PM »
Base maintenance is the monthly cost before adjusting for scale, so just use "maintenance".
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: All info in signal window
« Reply #74 on: April 02, 2017, 11:24:05 PM »
Thanks! I managed to get it working and get the value to correspond with the value specified in the tooltip display.

Translations should be done too, and everything is online at https://github.com/VictorErik/Simutrans-Experimental-Ves/commits/signal-in-infowindow-2

A picture of some of the windows:



hmm.. maybe put the "direction" part of the signs window a line down?

Another thing comes to my mind: How should the capital letters be used? I can see that I hace done differently at every translation pass, so it says "Max. Speed", "Min. speed", "Choose Signal", "Choose sign" and all that looks clogged up. How would the proper way to use the english capitals?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #75 on: April 02, 2017, 11:27:28 PM »
I suggest having at least two further line breaks in that otherwise somewhat large block of text. A very useful set of information, however!
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: All info in signal window
« Reply #76 on: April 02, 2017, 11:28:35 PM »
I edited my post while you posted your post. What do you think of the capital letter issue?

Quote
Another thing comes to my mind: How should the capital letters be used? I can see that I hace done differently at every translation pass, so it says "Max. Speed", "Min. speed", "Choose Signal", "Choose sign" and all that looks clogged up. How would the proper way to use the english capitals?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #77 on: April 02, 2017, 11:33:48 PM »
I think that the capitalisation that you have so far is correct, except that words after the colon (such as "East" and "Danger" do not need to start with a capital - but do not worry about this if this would mean defining translations for "danger" and "Danger" separately if it needs to start with a capital elsewhere), and the word "Signal" in "Choose signal" need not have a capital "s".
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: All info in signal window
« Reply #78 on: April 06, 2017, 11:00:29 AM »
Ok, I have changed some of the capital letters to lowercase letters, and I think this info window is ready for shipment to the Extended trunk.

One thought I had for a future upgrade to the window, is to show which train is currently reserving the signal when it is not at Danger. Basicly it would be the same information as is currently shown in the way information window, and it should then be shown underneath the signalbox information. Reasons would be, again, to easier present to the player what is actually happening on the map, and minimize the number of clicks and manual calculations that the player have to perform.

I am however reluctant to include it at the moment, since I struggle witht the ::draw part of the code, which I think is needed to get the button appear and disappear properly.
What would you think of such an addition?

You can, however, pull from https://github.com/VictorErik/Simutrans-Experimental-Ves/tree/signal-in-infowindow-2 in the meantime to get the latest sign-windows and translations  ;D

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #79 on: April 06, 2017, 09:19:43 PM »
An earlier version has been, but I shall integrate this again with the latest code when I have finished finding/fixing a bug reported by Junna in another thread.

Edit: I think that the Github repository has become corrupted somehow: the latest commit message is:

Code: [Select]
Delete ãˆ½â°¸å¬ ç•³ãµ¢â°°æ˜ æ…¬ãµ§ã€°ã€°ã€°ã€°âãµ°â°°æ„ æ‘¤ãµ²ã¨ºæ™¦æ™¦ã„ºã ¹ã„®ã€°ã„®ãœ´ãˆ®ã”±
and it purports to alter a non-existent file containing a long string of garbled characters. Would you be able to look into this?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: All info in signal window
« Reply #80 on: April 06, 2017, 09:28:25 PM »
Very strange. I did, however, alter the file in the online github, so that might be it?
I have pulled it down to my local version and pushed it again, would you mind try again?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #81 on: April 06, 2017, 09:43:30 PM »
That does look better - I will test it when I have a chance.

Edit: Actually, I do not think that this is right: I get merge conflicts when I try to merge this into the master branch, and it looks as though this is now at a much older version. Can you check again?
« Last Edit: April 07, 2017, 12:00:58 AM by jamespetts »
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: All info in signal window
« Reply #82 on: April 07, 2017, 05:40:48 AM »
Try now!

Offline fam621

Re: All info in signal window
« Reply #83 on: April 07, 2017, 10:04:15 AM »
Ves, has it been put into the nightly pakset yet?

Online Ves

Re: All info in signal window
« Reply #84 on: April 07, 2017, 10:28:49 AM »
It won't come to any pak sets nightly builds, but if James has time to incorporate it today (and I have not made any more mistakes), it should be in the simutrans extended nightlies of tomorrow :-)

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #85 on: April 08, 2017, 06:24:51 PM »
Now incorporated - thank you.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #86 on: April 08, 2017, 08:43:47 PM »
Is it available now? :)
« Last Edit: April 09, 2017, 11:53:47 AM by fam621 »

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #87 on: April 08, 2017, 08:47:38 PM »
I incorporated it just before I posted the message, so it should be in to-morrow's nightly build.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #88 on: April 09, 2017, 11:48:20 AM »
It has not been incorporated. I downloaded the latest nightly and it has not been added.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #89 on: April 09, 2017, 11:54:24 AM »
Which specific features do you think are missing? I have just checked, and it is incorporated so far as I can tell.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #90 on: April 09, 2017, 11:57:12 AM »
Its the features from Ves's picture from a previous post.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #91 on: April 09, 2017, 12:00:16 PM »
Which specific ones? I cannot find any missing.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #92 on: April 09, 2017, 12:01:47 PM »
The maintenance costs, the way speed and the maximum distance.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #93 on: April 09, 2017, 12:06:57 PM »
Those features are all present in the version that I just downloaded. You might want to check that you are downloading from the correct place and that you really are  using the one that you just downloaded rather than an earlier version.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #94 on: April 09, 2017, 01:36:40 PM »
I am downloading it from your Bridgewater Brunel site.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #95 on: April 09, 2017, 07:42:01 PM »
As I wrote, I tested the version from the Bridgewater-Brunel website and the new features are in place, so you have either not downloaded from the right place or are not actually running what you think that you are running.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: All info in signal window
« Reply #96 on: April 09, 2017, 09:20:17 PM »
I just downloaded nightly, and it appears to work properly! :)

Offline fam621

Re: All info in signal window
« Reply #97 on: April 09, 2017, 09:52:46 PM »
James, could I have your version please via a download link if possible.

Online Ves

Re: All info in signal window
« Reply #98 on: April 09, 2017, 10:18:42 PM »
This is the one you should download:
http://bridgewater-brunel.me.uk/downloads/nightly/windows/Simutrans-Extended.exe
That link should in fact always work at any time to get the latest windows nightly if Im not mistaken.

Offline fam621

Re: All info in signal window
« Reply #99 on: April 10, 2017, 11:37:08 AM »
Thank you so much Ves, it works!

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #100 on: April 10, 2017, 11:48:11 AM »
May I ask what link that you were using that was giving you an incorrect version and where you found that link? I shall have to remove it in order not to confuse others in the future.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #101 on: April 10, 2017, 02:59:25 PM »
Incorrect version.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #102 on: April 10, 2017, 04:26:25 PM »
You wrote that you downloaded the incorrect version from the Bridgewater-Brunel site. May I ask where on that site that you found an incorrect version? I ask so that I can remove it to stop this from happening again.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline fam621

Re: All info in signal window
« Reply #103 on: April 10, 2017, 05:29:41 PM »
Bridgewater Brunel

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15682
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: All info in signal window
« Reply #104 on: April 10, 2017, 05:59:23 PM »
That makes no sense - I was asking for where on that site that you found the incorrect link, so responding with the name of the whole site does not assist. Which specific link did you follow that gave you the wrong version?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.