Latest Posts

Topic: Widelands Main line 294

luitzen
Avatar
Topic Opener
Joined: 2017-11-10, 08:36
Posts: 7
Ranking
Pry about Widelands
Posted at: 2017-11-15, 13:20

It says %li seconds. My bet is that's not correct.


Top Quote
Venatrix
Avatar
Joined: 2010-10-05, 19:31
Posts: 447
Ranking
Tribe Member
Location: Germany
Posted at: 2017-11-15, 13:41

Opened as issue on Transifex. Best to ask there directly. face-smile.png


Two is the oddest prime.

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3317
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-11-16, 06:39

li means "long integer". Underlying type is time_t and our compilers have never complained, so it is correct.

time_t

Time type

Alias of a fundamental arithmetic type capable of representing times, as those returned by function time.

For historical reasons, it is generally implemented as an integral value representing the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC (i.e., a unix timestamp). Although libraries may implement this type using alternative time representations.

http://www.cplusplus.com/reference/ctime/time_t/?kw=time_t


Busy indexing nil values

Top Quote