data/fields.qc now tests fieldpointer parameters - requires -std=qcc to build

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-16 16:39:43 +02:00
parent 84bc8f3662
commit bf161e3919

View file

@ -12,11 +12,8 @@ void(entity) kill = #4;
.float memb; .float memb;
.vector memv; .vector memv;
//void(entity a, .float f) printfield = { void(entity a, .float f) printfield = {
// print3("The field is ", ftos(a.f), "\n"); print3("The field is ", ftos(a.f), "\n");
//};
void(entity x) foo = {
print2(ftos(x.mema),"\n");
}; };
void() main = { void() main = {
@ -37,5 +34,5 @@ void() main = {
print3("x = ", ftos(pawn.memv_x), "\n"); print3("x = ", ftos(pawn.memv_x), "\n");
print3("y = ", ftos(pawn.memv_y), "\n"); print3("y = ", ftos(pawn.memv_y), "\n");
print3("z = ", ftos(pawn.memv_z), "\n"); print3("z = ", ftos(pawn.memv_z), "\n");
foo(pawn); printfield(pawn, memv_z);
}; };