diff --git a/src/deh_tables.c b/src/deh_tables.c index df818c094..37040eb2b 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -4963,6 +4963,11 @@ struct int_const_s const INT_CONST[] = { {"BT_DRIFT",BT_DRIFT}, {"BT_BRAKE",BT_BRAKE}, {"BT_ATTACK",BT_ATTACK}, + {"BT_LOOKBACK",BT_LOOKBACK}, + {"BT_RESPAWN",BT_RESPAWN}, + {"BT_VOTE",BT_VOTE}, + {"BT_EBRAKEMASK",BT_EBRAKEMASK}, // Macro button + {"BT_SPINDASHMASK",BT_SPINDASHMASK}, // Macro button {"BT_LUAA",BT_LUAA}, // Lua customizable {"BT_LUAB",BT_LUAB}, // Lua customizable {"BT_LUAC",BT_LUAC}, // Lua customizable diff --git a/src/lua_playerlib.c b/src/lua_playerlib.c index 8bd5821db..aa8352be3 100644 --- a/src/lua_playerlib.c +++ b/src/lua_playerlib.c @@ -294,6 +294,8 @@ static int player_get(lua_State *L) lua_pushinteger(L, plr->gateBoost); else if (fastcmp(field,"gatesound")) lua_pushinteger(L, plr->gateSound); + else if (fastcmp(field,"startboost")) + lua_pushinteger(L, plr->startboost); else if (fastcmp(field,"aizdriftstraft")) lua_pushinteger(L, plr->aizdriftstrat); else if (fastcmp(field,"aizdriftextend")) @@ -856,6 +858,8 @@ static int player_set(lua_State *L) plr->gateBoost = luaL_checkinteger(L, 3); else if (fastcmp(field,"gatesound")) plr->gateSound = luaL_checkinteger(L, 3); + else if (fastcmp(field,"startboost")) + plr->startboost = luaL_checkinteger(L, 3); else if (fastcmp(field,"aizdriftstraft")) plr->aizdriftstrat = luaL_checkinteger(L, 3); else if (fastcmp(field,"aizdrifttilt"))