Results 1 to 20 of 47

Thread: In-game Clock

Hybrid View

  1. #1

    Default Re: In-game Clock

    Quote Originally Posted by Akrion View Post
    Essentially:

    time_t rawTime = time(NULL);
    string localTimeStr = asctime(localtime(&rawTime));


    You can compress it down to just 1 line even but its not really worth the decreased readability.
    I knew it was something like that, but ... it has been 12 years+ since I studied C++ in highschool, so I couldn't remember the exact syntax. I knew it involved invoking a system variable, and loading its contents into a string (which could easily be called anytime in any window).

  2. #2

    Default Re: In-game Clock

    I will say it would be nice to be able to, at the very least (in regards to the mini-map idea) have a basic-UI map window that is handled separately from the main map window.
    Avatar is of my character Akrion, snipped from Hrae's Hoard of Creatures by the excellent moss loving artist Nambroth. <3

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •