Commit graph

4 commits

Author SHA1 Message Date
Steven Elliott
98770096d3 scripts: Signed ints for grAb in fix-gfx-offsets
The fix-gfx-offsets script incorrectly used unsigned integers (I) when
interpreting grAb chunks, which resulted strange large values that are
close to 2^32 in buildcfg.txt. The fix is to use signed integers (i).
2023-06-17 18:03:20 -04:00
Mike Swanson
6eef9be73a use python3 only for building
Python 2 is very near end-of-life, and Python3-compatible changes to a
few scripts introduced compatibility problems with 2.7 again.  It went
unnoticed for me since my system symlinks "python" to "python3", but
it broke the build on systems where that symlink is still python2.  At
this point in time, I feel it is worth targetting modern Python and
forgetting about 2.7.
2019-09-06 14:43:50 -07:00
Mike Swanson
4701d8f351 Blacken all Python files
Using the black code reformatter, pass it over all our Python files.
This allows for a consistent style across the code base.

Exception: lumps/dmxgus/stats.py, for readability.
2019-09-04 19:36:23 -07:00
NickZ
257781dcd9
scripts: fix-gfx-offsets (#472) 2019-01-01 21:31:03 -08:00