diff --git a/.gitattributes b/.gitattributes
index 1c17e6c8..af61d31a 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -7,8 +7,6 @@
# Vim doesn't like CRLF, even on Windows
*.vim eol=lf
-# Bison doesn't like CRLF
-external/*/share/bison/* eol=lf
# Source files should be normalised in the repository
*.c eol=lf
diff --git a/build/msbuild/lol.rules.props b/build/msbuild/lol.rules.props
index e56efd18..6d416a98 100644
--- a/build/msbuild/lol.rules.props
+++ b/build/msbuild/lol.rules.props
@@ -15,7 +15,7 @@
$(IntDir)/%(Directory)/
- $(SolutionDir)\..\src;$(SolutionDir)\..\src\bullet;$(SolutionDir)\..\tools\lolunit;$(PegtlIncludes);$(ImguiIncludes);$(FlexIncludes);$(BtPhysIncludes);%(AdditionalIncludeDirectories)
+ $(SolutionDir)\..\src;$(SolutionDir)\..\src\bullet;$(SolutionDir)\..\tools\lolunit;$(PegtlIncludes);$(ImguiIncludes);$(BtPhysIncludes);%(AdditionalIncludeDirectories)
$(GlIncludes);$(SdlIncludes);$(FfmpegIncludes);$(AssimpIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)
$(GlIncludes);$(SdlIncludes);$(FfmpegIncludes);$(AssimpIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)
NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
diff --git a/build/msbuild/lol.vars.props b/build/msbuild/lol.vars.props
index 1317a7fd..e33baacd 100644
--- a/build/msbuild/lol.vars.props
+++ b/build/msbuild/lol.vars.props
@@ -4,10 +4,6 @@
$(SolutionDir)\..\external
-
- $(ExternalDir)\flex-2.5.35
- $(FlexDir)\include
-
$(ExternalDir)\pegtl-0.32
$(PegtlDir)\include
@@ -115,8 +111,6 @@
$(ExternalDir)
- $(FlexDir)
- $(FlexIncludes)
$(PegtlDir)
$(PegtlIncludes)
$(ImguiDir)
diff --git a/configure.ac b/configure.ac
index 33840df4..1fdfc673 100644
--- a/configure.ac
+++ b/configure.ac
@@ -286,28 +286,6 @@ LOL_CHECK_OPENGL
LOL_CHECK_SDL
-dnl Use Flex's FlexLexer.h or ours?
-ac_cv_my_have_flexlexer_h="no"
-AC_LANG_PUSH(C++)
-AC_CHECK_HEADERS(FlexLexer.h,
- dnl Ensure that FlexLexer::yleng is of type int, and not size_t like
- dnl on recent Apple systems. It would break all our existing code.
- [AC_MSG_CHECKING(for FlexLexer.h validity)
- AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([#include
- class Foo : public FlexLexer
- {
- Foo() { int &test = yyleng; }
- };],
- [])],
- [AC_MSG_RESULT(yes)
- ac_cv_my_have_flexlexer_h="yes"],
- [AC_MSG_RESULT(no)])])
-AC_LANG_POP(C++)
-if test "x${ac_cv_my_have_flexlexer_h}" = "xno"; then
- LOL_CFLAGS="$LOL_CFLAGS -I\$(top_srcdir)/external/flex-2.5.35/include"
-fi
-
dnl Use pegtl? Yes, always
if true; then
diff --git a/doc/samples/meshviewer.cpp b/doc/samples/meshviewer.cpp
index 1fb53f9e..83fe610b 100644
--- a/doc/samples/meshviewer.cpp
+++ b/doc/samples/meshviewer.cpp
@@ -18,7 +18,6 @@
#include
#include "scenesetup.h"
-#include "meshviewer.h"
using namespace lol;
diff --git a/doc/samples/nacl_phystest.cpp b/doc/samples/nacl_phystest.cpp
index fd30bec8..88b976cb 100644
--- a/doc/samples/nacl_phystest.cpp
+++ b/doc/samples/nacl_phystest.cpp
@@ -26,7 +26,7 @@ int gNumObjects = 64;
Nacl_PhysTest::Nacl_PhysTest(bool editor)
{
/* Register an input controller for the keyboard */
- m_controller = new Controller("Default", KEY_MAX, 0);
+ m_controller = new Controller("Default");
m_controller->GetKey(KEY_MOVE_FORWARD).Bind("Keyboard", "Up");
m_controller->GetKey(KEY_MOVE_BACK).Bind("Keyboard", "Down");
m_controller->GetKey(KEY_MOVE_LEFT).Bind("Keyboard", "Left");
@@ -76,7 +76,7 @@ void Nacl_PhysTest::TickGame(float seconds)
{
WorldEntity::TickGame(seconds);
- if (m_controller->GetKey(KEY_QUIT).IsReleased())
+ if (m_controller->IsKeyReleased(KEY_QUIT))
Ticker::Shutdown();
}