mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 10:51:10 +00:00
An Improved Quake C Compiler
The previous code swapped not just the fields' contents themselves, but also field positions within several of the structs, resulting in a non-working progs.dat when compiled on big endian (ppc in my case). Swapping on a field-by-field basis now. Also: * Addresses weird swap size requests (30+ bytes in one case) * Take a guess at the right way to log a weird swap request before dying * Fix swap array length scaling * Rename the main swap function to reflect its native->little-endian purpose. Figued that was okay because progs.dat is required to be always little-endian... * Add a non-array version of the swap function for convenience |
||
---|---|---|
distro | ||
doc | ||
misc | ||
msvc | ||
syntax | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
ansi.c | ||
ast.c | ||
ast.h | ||
AUTHORS | ||
BSDmakefile | ||
CHANGES | ||
code.c | ||
conout.c | ||
correct.c | ||
exec.c | ||
fold.c | ||
fs.c | ||
ftepp.c | ||
gmqcc.h | ||
gmqcc.ini.example | ||
hash.c | ||
include.mk | ||
INSTALL | ||
intrin.c | ||
ir.c | ||
ir.h | ||
lexer.c | ||
lexer.h | ||
LICENSE | ||
main.c | ||
Makefile | ||
msvc.c | ||
opts.c | ||
opts.def | ||
pak.c | ||
parser.c | ||
parser.h | ||
platform.h | ||
PORTING | ||
README | ||
stat.c | ||
test.c | ||
TODO | ||
utf8.c | ||
util.c |
GMQCC: An improved Quake C compiler For licensing: see the LICENSE file. For installation notes: see the INSTALL file. For a list of authors: see the AUTHORS file. For a list of changes: see the CHANGES file. For documentation: See the manpages, or visit the documentation online at http://graphitemaster.github.com/gmqcc/doc.html For syntax highlighting description files, or information regarding how to install them: See the README in syntax directory For description on porting GMQCC to other platforms, or information on how to approach porting GMQCC to more 'exotic' platforms: See the PORTING file.