Two Company Colours GUI (Work In Progress)

Get help, info, news and advice about the Transport Tycoon Deluxe patch.

Moderator: TTDPatch Moderators

User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

Hi All,

Major Progress update.
I have finished the bulk of the gui, a few things remain but they are optional.
I have added all the code needed to make the tab's work, both checkboxes and dropdown menus.

I just need patchman to finish or help me finish the remapping subroutine.
The gui seems to work with what I've managed to get working. But my understanding of how to check certain things is limited.

Also, I'm thinking about including support for sets to place a icon for the tab (tab that that set applies to). Hopefully I can get this to have 2cc remapping on it. But, I'll see how it goes.

[edit] Attached the Screenshot...

Anyways, Enjoy the Screenshot.
And Comments as always are very welcome.

~ Lakie
Attachments
Two Company Colours Gui Finished.png
Two Company Colours Gui Finished.png (770.65 KiB) Viewed 714 times
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Post by Rob »

WoW. :shock:

Looks awesome.
Can't wait to have this implemented in.
There is only one thing, which is probably only me, but the x's in the checkboxes give me the feeling that those are disabled rather then enabled.
I think a v shaped checkmark would look better.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

Or perhaps you could keep the X, but use a green X for enabled and a red X for disabled.
Additional Livery Set
Official TT-Jewel Staite FanClub
User avatar
Aegir
Tycoon
Tycoon
Posts: 2884
Joined: 09 Feb 2004 10:02
Contact:

Post by Aegir »

I think it's fine as is. Excellent work, Lakie. Excellent.
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
User avatar
3iff
Tycoon
Tycoon
Posts: 1094
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Post by 3iff »

Looks fantastic.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Looks fantastic indeed. About the x: make it white instead of black ;).
User avatar
Menno
Tycoon
Tycoon
Posts: 1190
Joined: 05 Feb 2005 14:35
Location: Netherlands, Utrecht

Post by Menno »

Very nice! And I agree with Hyronymus...
*hmz*
Mek
TTDPatch Developer
TTDPatch Developer
Posts: 417
Joined: 13 Apr 2004 13:35
Location: Eindhoven, Netherlands
Contact:

Post by Mek »

Hyronymus wrote:Looks fantastic indeed. About the x: make it white instead of black ;).
i think making the checkboxes sunked rather than raised will look better..
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Mek wrote:
Hyronymus wrote:Looks fantastic indeed. About the x: make it white instead of black ;).
i think making the checkboxes sunked rather than raised will look better..
Sunken, MeK ;). Sunken and white :P.
User avatar
Prebral
Traffic Manager
Traffic Manager
Posts: 141
Joined: 20 May 2005 13:22
Location: Prague
Contact:

Post by Prebral »

Great!
Will there be also 2 company color support for static features (stations...)? On the other side...using the global scheme is probably enough for stations.
User avatar
Bastiaan
Chairman
Chairman
Posts: 781
Joined: 12 Feb 2004 19:34
Location: Zwolle (NL)
Contact:

Post by Bastiaan »

Very cool! Great work! :shock:
Image
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

I don't think it will be expanded to stations and such, I think it's a fine choice as it is.
Becides you need something to identify the real company!

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
Prebral
Traffic Manager
Traffic Manager
Posts: 141
Joined: 20 May 2005 13:22
Location: Prague
Contact:

Post by Prebral »

Lakie wrote:I don't think it will be expanded to stations and such, I think it's a fine choice as it is.
Becides you need something to identify the real company!

~ Lakie
True. I have thought about replacing colors of station signs as they have changed in time without affecting company color. But I can live without it, this new feature is cool even in its current form.
User avatar
George
Tycoon
Tycoon
Posts: 4362
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Lakie wrote:Hi All, Major Progress update...
Any chance for sprite 3097? :bow: :bow:
Image Image Image Image
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

Final Version for A69 has been finished.

Things to add for the stable (Beta series).
- Support for Grf Tab Icons
- Default XMU to it's default type X if XMU doesn't have a special Scheme (eg DMU, would use Diesel, if no DMU colour Scheme).
- Add support to recolour the sprite drawn onto the Company Window.

Better becareful what you say, George, a sprite cannot have mappings. However the drawn sprite can.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
George
Tycoon
Tycoon
Posts: 4362
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Lakie wrote:Better becareful what you say, George, a sprite cannot have mappings. However the drawn sprite can.
I hope you understood me. So, would it be possible to apply 2CC to that sprite, that is displayed in main company window?
Image Image Image Image
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Possibly, but it wouldn't be useful. That sprite has no CC greens. Without any CC-greens, the 2CC color mappings don't do anything that the 1CC mappings don't.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Obviously George would (and I think does) override with somethings that does use 2CC, and I think that'd be useful. It shouldn't be too hard to do, anyway.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

George, is that not what point 3 on my list is?
Although it should say 2cc remappings to the sprite drawn on the company window.

btw, the second item on my list has been done.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
George
Tycoon
Tycoon
Posts: 4362
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Lakie wrote:George, is that not what point 3 on my list is?
Although it should say 2cc remappings to the sprite drawn on the company window.
if it means 2cc, than yes.
Image Image Image Image
Post Reply

Return to “General TTDPatch”

Who is online

Users browsing this forum: No registered users and 18 guests