README
1
2progs.dat compiler/decompiler for Hexen2 by Eric Hobbs. Read the author's
3dcc.txt file for usage/details.
4
5Run "dhcc -h" to see the tool's command line options.
6
7Probably only interesting due to its decompiler facility. There may be a
8few very old and rare mods out there which can only be compiled by dhcc,
9too, such as the HexenC code of "Project Peanut".
10
11I put this here mostly for reference, but it is really useful due to its
12decompiler facility.
13
14If you ever intend to use dhcc to actually compile hcode, know that it was
15created at a time when the official hcc had not been released, therefore it
16has its own issues. Here are its differences from official hcc:
17
18- doesn't know about switch statements (can't decompile them, either)
19- doesn't use/understand unions, uses its own "alias" instead
20- uses random instead of randomv
21- uses AdvanceThinktime(entity,float) instead of thinktime entity:float
22- uses "|=" instead of "(+)"
23- uses "^=" instead of "(-)"
24- uses "x->y" instead of "x[y]" for array elements
25
26(This isn't a complete and accurate list, but a list of things that just
27came to my mind...)
28
29