misleading comment in mapfile.h

misleading comment in mapfile.h

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Frostregen
Posts: 179
Joined: 17 Jul 2007, 00:52

misleading comment in mapfile.h

Post by Frostregen »

The comment

"File offset to minimap (always 1024*1024 dxt1 compresed data with 9 mipmap sublevels)"

is misleading, because it is actually one 1024x1024 image plus 8 sublevels. (9 images in total)

I suggest to change it to:
"File offset to minimap (always 1024*1024 dxt1 compressed data plus 8 mipmap sublevels)"

Attached patchfile does this.
-Frostregen
Attachments
comment_fix.diff
(845 Bytes) Downloaded 16 times
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: misleading comment in mapfile.h

Post by Kloot »

Done.
Frostregen
Posts: 179
Joined: 17 Jul 2007, 00:52

Re: misleading comment in mapfile.h

Post by Frostregen »

thx :)

(though "compresed" ist still spelled wrong ;))
Post Reply

Return to “Engine”