wesnoth.theme_items.report_countdown
Moderator: Forum Moderators
wesnoth.theme_items.report_countdown
I need to add some code to this function, but I can't find the original code for it and I don't feel like re-writing it from scratch... Is there something I'm missing? I can make it return time, but that variable is simply miliseconds since the SDL library was initialised... so is there any variable that returns the remaining time a user has in-game? Or is the original code for the function available anywhere? (I can't find it in the source code)
-
- Inactive Developer
- Posts: 503
- Joined: April 24th, 2016, 4:18 pm
Re: wesnoth.theme_items.report_countdown
src/reports.cpp line 1541 in current master
I think this is what you're looking for.
I think this is what you're looking for.
I forked real life and now I'm getting merge conflicts.
Re: wesnoth.theme_items.report_countdown
Thanks, Tad! I've finally managed to get it to work.