Dynamic annotations

Development of artwork, requests, suggestions, samples, or if you have artwork to offer. Primarily for the artists.
Post Reply
Message
Author
User avatar
Bromstarzan
Dyson Forest
Posts: 206
Joined: Sun Feb 28, 2016 9:56 pm
Location: Sweden

Dynamic annotations

#1 Post by Bromstarzan »

I've been suggesting this before and would just like to elaborate on it since I feel FO needs this feature (compare AI war).

Heres's the feature explained with isllustrations:

If you right-click on a system (in the galaxy map) a pop-up notebook appears and you are allowed to enter freetext. Example below.

Image

When done, an icon indicates that you have a note about that system.

Image

When you left-click on the "note" icon or right click on that same system, you bring upp the annotation for viewing/editing.

Image
In this example, I added a related issue to check the pedia for Gyshade species (since they are nearby, etc. etc.)

Motivation: It brings your thoughts/plans right down to the galaxy map and helps you recapitulate your intentions between saved game sessions when life consits of other things happening at Earth. :mrgreen:

Also, it saves the rainforest by using less papers to scribble on :D

Any comments? Is it doable, I have no idea how hard this would be to implemet.
| i7 7700K [email protected] | GTX 1080 Ti | RAM: 32GB | PSU: 750w | W10 x64 | 2xAcer1920x1080 |

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dynamic annotations

#2 Post by Geoff the Medio »

Bromstarzan wrote:Any comments? Is it doable...
It's a good idea, and it's been suggested (or similar) numerous times. eg: https://github.com/freeorion/freeorion/issues/590

User avatar
Bromstarzan
Dyson Forest
Posts: 206
Joined: Sun Feb 28, 2016 9:56 pm
Location: Sweden

Re: Dynamic annotations

#3 Post by Bromstarzan »

Yep, sorry for not informing myself :mrgreen: .
So it is not just me then - good. Question is, who will do it and when/how? Priority list?
I know there's tons of other to-do's on the list. Wish I knew more on C++/python.
Who whould I talk to regarding dialog boxes?
| i7 7700K [email protected] | GTX 1080 Ti | RAM: 32GB | PSU: 750w | W10 x64 | 2xAcer1920x1080 |

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dynamic annotations

#4 Post by Geoff the Medio »

Bromstarzan wrote:Question is, who will do it and when/how?
No idea.
Priority list?
Whatever any individual feels like working on.
Who whould I talk to regarding dialog boxes?
What about them?

User avatar
Bromstarzan
Dyson Forest
Posts: 206
Joined: Sun Feb 28, 2016 9:56 pm
Location: Sweden

Re: Dynamic annotations

#5 Post by Bromstarzan »

Geoff the Medio wrote:
Bromstarzan wrote:Question is, who will do it and when/how?
No idea.
Good answer to a stupid question. Conclusion: I should do it :lol:
Priority list?
Whatever any individual feels like working on.
Again, thanks for responding the obvious (I think I was floating high on the consumer clouds for a while :lol:)
Who whould I talk to regarding dialog boxes?
What about them?
I mean, the mechanics to incoorporate richt-click-notebook boxes. I guess there's just nobody in charge for these specific functions, right? I'll see what I can do with my limited scripting knowledge.

Thanks Geoff for swift reply.
| i7 7700K [email protected] | GTX 1080 Ti | RAM: 32GB | PSU: 750w | W10 x64 | 2xAcer1920x1080 |

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dynamic annotations

#6 Post by Geoff the Medio »

Bromstarzan wrote:
Who whould I talk to regarding dialog boxes?
What about them?
I mean, the mechanics to incoorporate richt-click-notebook boxes.
Something like this: https://github.com/freeorion/freeorion/ ... on.cpp#L97 but actually in here: https://github.com/freeorion/freeorion/ ... .cpp#L4756

You'd also need to set up the NotepadWnd or similar with a mutable CUIMultiEdit or similar in it, and then respond to edits / clicking Done by storing the entered information in the client UI state, and then also add the indicator icons on the map and create some clickable icons next to system icons when there is a note saved...

User avatar
em3
Vacuum Dragon
Posts: 630
Joined: Sun Sep 25, 2011 2:51 pm

Re: Dynamic annotations

#7 Post by em3 »

These notes will also need to be stored in saved game state, right?
https://github.com/mmoderau
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dynamic annotations

#8 Post by Geoff the Medio »

em3 wrote:These notes will also need to be stored in saved game state, right?
Yes, I meant that that should be happening with the "client UI state" the info would saved in, as happens here: https://github.com/freeorion/freeorion/ ... .cpp#L1378

User avatar
em3
Vacuum Dragon
Posts: 630
Joined: Sun Sep 25, 2011 2:51 pm

Re: Dynamic annotations

#9 Post by em3 »

Geoff the Medio wrote:Yes, I meant that that should be happening with the "client UI state" the info would saved in, as happens here: https://github.com/freeorion/freeorion/ ... .cpp#L1378
Sweet. :D
https://github.com/mmoderau
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556

Post Reply