For example, this
Code: Select all
class test : actor
{
....
line 15 : DropItem "pistol" 5;
....
line 99: tnt1 q 0 a_chase("", "");
....
line 123: tnt1 q 1 a_playsoundex("BOOM");
}
class another_test : test
{
.....
line 200: damagetype yellow;
.....
line 234: tnmt 4 b ();
.....
line 300: tnt1 q 0 a_jumpif( (momx == 0), "stop_right_there");
.....
}
at first "Line 15, unexpected integer constant; line 200, unknown global identifier yellow", an that all
after fixing this errors and launch again "(line 99, try to jump to undefined state) x 2; line 200, function without prototype must have defined values by hand, or something like this", an that all
and after fixing this "line 123, call to deprecated function a_playsoundex; line 300, call to deprecated variable momx, deprecated since 2.4", and there are, possible, some more.
This is tedious, run - check for errors - fix it, run again - fix "new" errors - run again, continue until there are no errors. I know about -norun command, but you still need to restart gzdoom several times and wait until it load resources before shows "all" errors.
So it would be great if gzdoom would shown all errors at the first time.
I can provide real example of such buggy file, if you want.