Lua changes
- Jun 10, 2015
-
-
Yukita Mayako authored
That's supposed to be run once a frame, not once per hook per mobj per frame you moron. If you just run it seven thousand times a frame, of course your framerate will drop.
0af32ee2 -
Yukita Mayako authored
Stupid JTE.
06b82d17 -
Yukita Mayako authored
Dummy, what do you think you're doing? If you just push mobjs and players into Lua all willy- nilly everywhere, you'll wind up generating tons of metatables and stuff you arne't even gonna use! Oh. Thanks me, I'm really smart.
6ac50138 -
Yukita Mayako authored
I can't just say screw it and include the full doomtype.h here (windows.h conflict?) so a small hack here will have to do. :I
120c9c5a -
Yukita Mayako authored
This _should_ solve some significant performance issues Lua experiences. If not, I will be very upset for having wasted so much time and effort. There will be bugs, this kind of thing needs to be thuroughly tested and this is just the first iteration of it.
ecdf3412
-
- May 22, 2015
-
-
Yukita Mayako authored
tmthing must not be set outside of P_MapStart and P_MapEnd or the game will fail a sanity check which ensures that mobj references are not persistent across frames and crash.
f783df71 -
Yukita Mayako authored
This reverts commit 6ee50e80.
c91cd386
-
- May 21, 2015
-
-
Yukita Mayako authored
This fixes a crash if a script tries to use a MapLoad hook to immediately edit the map in some way the moment it finishes loading.
6ee50e80 -
Yukita Mayako authoreddfa8ac7c
-
Yukita Mayako authored
Angles now go from 0 to 0xFFFF (360 degrees == FRACUNIT) instead of using a full UINT32. Lua only has one number type, so signedness gets in the way of using angle_t directly. This handling of angles matches up with how ZDoom ACS scripting and the like does it. I also changed all the integer casts and pushes of fixed_t to their own macro in preperation for possible future seperation.
ef0e61fc
-
- May 20, 2015
-
-
Yukita Mayako authored
EvalMath is for SOC only. It spawns an entirely seperate instance of Lua and requires uppercase-only strings, and it's ability to parse strings to enums is redundant to Lua's _G table (try using _G["MT_BLUECRAWLA"] for instance)
9d36cf37 -
Yukita Mayako authored1e62be15
-