[Pkg-cli-apps-commits] [SCM] openbve-data branch, master, updated. debian/1.4.0.0+dfsg-1-21-g312b453
Paul Sladen
debian at paul.sladen.org
Tue Jan 17 20:20:41 UTC 2012
The following commit has been merged in the master branch:
commit 312b4538ef76d2393dc982bea5fae63cc2b69a49
Author: Paul Sladen <debian at paul.sladen.org>
Date: Tue Jan 17 21:20:33 2012 +0100
debian/copyright: explicitly mention of scary-sounding 'mask.bin' (thanks to rfs-feedback/hyperair)
diff --git a/debian/copyright b/debian/copyright
index 387fc46..4b88c2e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -220,6 +220,30 @@ Comment:
necessary should a developer wish to make their content available
from the new in-program managed content downloading system.
+Files: Data/mask.bin
+Comment:
+ 'Data/mask.bin' is a raw bitmask used along with 'Data/icon.bmp' for
+ the Window Manager icon setting:
+ .
+ Sdl.SDL_WM_SetIcon(bitmap, mask)
+ .
+ The file is (128 bytes) == (1024 bits) == (32 x 32 bits), in the raw bitmask/
+ bitarray form designed for sending straight to:
+ .
+ http://www.libsdl.org/cgi/docwiki.cgi/SDL_WM_SetIcon
+ .
+ "points to a bitmap with bits set where the corresponding
+ pixel should be visible. The format of the bitmap is
+ as follows: Scanlines come in the usual top-down order.
+ Each scanline consists of (width / 8) bytes, rounded up."
+ .
+ The following Python can be used to print the contents in ASCII-art form:
+ .
+ python -c "import struct; \
+ print ''.join(map(bin,struct.unpack('32I',open('Data/mask.bin') \
+ .read(128)))).replace('0b','\n').replace('0',' ').replace('1','**')"
+
+
Files: debian/*
Copyright: 2009-2012 Paul Sladen
License: permissive
--
openbve-data
More information about the Pkg-cli-apps-commits
mailing list