CSQC targeted at FTE and similar will have the following definition:
void(vector pos, vector sz, string pic, vector srcpos, vector srcsz, vector rgb, float alpha, optional float drawflag) drawsubpic = #328;
This is used in the newly released Quake Brutalist Jam III.
Unfortunately the last parameter is not optional in DarkPlaces and so the mod will crash when entering a level:
Host_Error: VM_drawsubpic wrong parameter count 7 (8 expected ) !
QuakeC crash report for server:
s22172: LOAD_F self (=entity 534), flags (=.flags), GLOBAL10494
s22173: BITAND_F GLOBAL10494, FL_CLIENT (=8), GLOBAL10494
s22174: NOT_F GLOBAL10494, GLOBAL10494
s22175: AND_F GLOBAL10490, GLOBAL10494, GLOBAL10490
s22176: IFNOT GLOBAL10490, statement 22178
s22177: CALL0 entity_watercheck (=entity_watercheck())
s22178: STORE_F self (=entity 0), GLOBAL4
s22179: CALL1 nextent (=nextent())
SV_Shutdown
CSQC targeted at FTE and similar will have the following definition:
This is used in the newly released Quake Brutalist Jam III.
Unfortunately the last parameter is not optional in DarkPlaces and so the mod will crash when entering a level: