FreeOrion

Forums for the FreeOrion project
It is currently Tue Oct 17, 2017 6:00 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Dynamic annotations
PostPosted: Wed Sep 28, 2016 9:58 am 
Offline
Dyson Forest
User avatar

Joined: Sun Feb 28, 2016 9:56 pm
Posts: 202
Location: Sweden
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 2600K quad@3.40Ghz | GTX 560 Ti | RAM: 16GB | PSU: 750w | W7 x64 | LG1680x1050+Acer 1280x1024 |


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 10:25 am 
Online
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 11998
Location: Munich
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


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 10:33 am 
Offline
Dyson Forest
User avatar

Joined: Sun Feb 28, 2016 9:56 pm
Posts: 202
Location: Sweden
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 2600K quad@3.40Ghz | GTX 560 Ti | RAM: 16GB | PSU: 750w | W7 x64 | LG1680x1050+Acer 1280x1024 |


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 10:35 am 
Online
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 11998
Location: Munich
Bromstarzan wrote:
Question is, who will do it and when/how?
No idea.
Quote:
Priority list?
Whatever any individual feels like working on.
Quote:
Who whould I talk to regarding dialog boxes?
What about them?


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 10:50 am 
Offline
Dyson Forest
User avatar

Joined: Sun Feb 28, 2016 9:56 pm
Posts: 202
Location: Sweden
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:
Quote:
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:)
Quote:
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 2600K quad@3.40Ghz | GTX 560 Ti | RAM: 16GB | PSU: 750w | W7 x64 | LG1680x1050+Acer 1280x1024 |


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 11:18 am 
Online
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 11998
Location: Munich
Bromstarzan wrote:
Quote:
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...


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 11:23 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
These notes will also need to be stored in saved game state, right?

_________________
[...] 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


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 11:38 am 
Online
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 11998
Location: Munich
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


Top
 Profile  
 
 Post subject: Re: Dynamic annotations
PostPosted: Wed Sep 28, 2016 11:54 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
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

_________________
[...] 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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group