------------------------------------------------------------------------ r3955 | helixhorned | 2013-07-13 14:05:01 -0700 (Sat, 13 Jul 2013) | 1 line Clean up some player.c code. ------------------------------------------------------------------------ r3954 | helixhorned | 2013-07-13 14:04:59 -0700 (Sat, 13 Jul 2013) | 4 lines Lunatic: rework weapondata_t __newindex handling for the sound members. Also, in test.elua, add a currently failing must-fail test (i.e. it wrongly succeeds where it should not!). ------------------------------------------------------------------------ r3953 | helixhorned | 2013-07-13 14:04:57 -0700 (Sat, 13 Jul 2013) | 1 line Lunatic: revamp sector changing/updating functions of sprites. ------------------------------------------------------------------------ r3952 | helixhorned | 2013-07-13 14:04:55 -0700 (Sat, 13 Jul 2013) | 5 lines game.c: read sprites-on-screen count for DNDEBUG at end of G_DoSpriteAnimations. Because that function might have inserted tsprites itself, e.g. for the fake floor shadow. Also add one "spritesortcnt < MAXSPRITESONSCREEN" bound check in legacy ROR code. ------------------------------------------------------------------------ r3951 | helixhorned | 2013-07-13 14:04:53 -0700 (Sat, 13 Jul 2013) | 1 line Lunatic: create game Lua state just before EVENT_NEWGAME, not in G_EnterLevel(). ------------------------------------------------------------------------ r3950 | helixhorned | 2013-07-13 14:04:52 -0700 (Sat, 13 Jul 2013) | 1 line Factor out repeated few-liner into G_NewGame_EnterLevel(), misc. cleanup. ------------------------------------------------------------------------ r3949 | helixhorned | 2013-07-13 14:04:50 -0700 (Sat, 13 Jul 2013) | 3 lines LunaCON: add -ftrapv, -fwrapv opts, providing trapping/wrapping arith semantics. Currently only for multiplication. ------------------------------------------------------------------------ r3948 | helixhorned | 2013-07-13 14:04:49 -0700 (Sat, 13 Jul 2013) | 3 lines Lunatic: call G_ShowView() using the Lua C API and not through the FFI. G_ShowView() may call events. Ouch! ------------------------------------------------------------------------ r3947 | helixhorned | 2013-07-13 14:04:47 -0700 (Sat, 13 Jul 2013) | 5 lines In DNCOORDS display, show execution time in ms for all actors (G_MoveActors). Smoothed using an exponential moving average... with a time constant of 1 sec if I didn't miscalculate things. Also, split BYTEVERSION_JF into Lunatic and non-Lua. ------------------------------------------------------------------------ r3946 | helixhorned | 2013-07-13 14:04:45 -0700 (Sat, 13 Jul 2013) | 4 lines Lunatic: output timing results to CSV file, don't time unreg'd events/actors. The base name is taken from the environment variable LUNATIC_TIMING_BASEFN, which is suffixed with .actors.csv and .events.csv. ------------------------------------------------------------------------ r3945 | helixhorned | 2013-07-13 14:04:43 -0700 (Sat, 13 Jul 2013) | 3 lines LunaCON: add forgotted "screensound" to keyword list in con_lang.lua. Also, fix 'spriteflags' directive. ------------------------------------------------------------------------ r3944 | helixhorned | 2013-07-13 14:04:41 -0700 (Sat, 13 Jul 2013) | 1 line CON: Add predefined labels MAXSPRITES, MAXSTATUS and MAX_WEAPONS. ------------------------------------------------------------------------ r3943 | helixhorned | 2013-07-13 14:04:38 -0700 (Sat, 13 Jul 2013) | 1 line LunaCON: implement 'tossweapon'. ------------------------------------------------------------------------