All pastes #730079 Raw Edit

Someone

public text v1 · immutable
·published 2007-10-08 21:17 UTC
rendered paste body
static ID_INLINE float _vmf(intptr_t x)
{
	union {
		intptr_t l;
		float f;
	} t;
	t.l = x;
	return t.f;
}

#define	VMF(x)	_vmf(args[x])

// in syscall
case CG_R_DRAWSTRETCHPIC:
	re.DrawStretchPic( VMF(1), VMF(2), VMF(3), VMF(4), VMF(5), VMF(6), VMF(7), VMF(8), args[9] );