Skip to content

Commit

Permalink
remove logfile - it's useless now
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Aug 12, 2024
1 parent d842bf4 commit c300387
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 84 deletions.
57 changes: 0 additions & 57 deletions include/utility/logfile.hpp

This file was deleted.

2 changes: 0 additions & 2 deletions platform/cafe/include/driver/graphics/StreamBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#include <gx2r/buffer.h>
#include <gx2r/draw.h>

#include "utility/logfile.hpp"

namespace love
{
template<typename T>
Expand Down
2 changes: 0 additions & 2 deletions platform/cafe/source/boot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

#include <sysapp/launch.h>

#include "utility/logfile.hpp"

namespace love
{
// clang-format off
Expand Down
2 changes: 0 additions & 2 deletions platform/cafe/source/driver/audio/SoundChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include "driver/audio/DigitalSound.hpp"
#include "driver/audio/DigitalSoundMix.hpp"

#include "utility/logfile.hpp"

namespace love
{
SoundChannel::SoundChannel() :
Expand Down
2 changes: 0 additions & 2 deletions platform/cafe/source/driver/display/Framebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#include <malloc.h>

#include "utility/logfile.hpp"

namespace love
{
Framebuffer::Framebuffer() : target {}, depth {}, scanBuffer(nullptr), scanBufferSize(0)
Expand Down
2 changes: 0 additions & 2 deletions platform/cafe/source/driver/display/GX2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include <malloc.h>

#include "utility/logfile.hpp"

namespace love
{
#define Keyboard() (Module::getInstance<Keyboard>(Module::M_KEYBOARD))
Expand Down
5 changes: 1 addition & 4 deletions platform/cafe/source/modules/joystick/Joystick.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "modules/joystick/Joystick.hpp"

#include "utility/logfile.hpp"

namespace love
{
Joystick::Joystick(int id) : JoystickBase(id)
Expand Down Expand Up @@ -208,8 +206,7 @@ namespace love
return false;
}

static bool isProControllerDown(const KPADStatus& status,
std::span<Joystick::GamepadButton> buttons)
static bool isProControllerDown(const KPADStatus& status, std::span<Joystick::GamepadButton> buttons)
{
WPADProButton result;

Expand Down
2 changes: 0 additions & 2 deletions platform/cafe/source/modules/joystick/JoystickModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#include <padscore/kpad.h>
#include <vpad/input.h>

#include "utility/logfile.hpp"

namespace love::joystick
{
int getJoystickCount()
Expand Down
2 changes: 0 additions & 2 deletions platform/ctr/source/modules/graphics/Font.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include "modules/graphics/Font.hpp"
#include "modules/graphics/Graphics.tcc"

#include "utility/logfile.hpp"

namespace love
{
Font::Font(Rasterizer* rasterizer, const SamplerState& samplerState) : FontBase(rasterizer, samplerState)
Expand Down
2 changes: 0 additions & 2 deletions platform/ctr/source/modules/joystick/Joystick.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include "modules/joystick/Joystick.hpp"
#include "utility/guid.hpp"

#include "utility/logfile.hpp"

namespace love
{
Joystick::Joystick(int id) : JoystickBase(id)
Expand Down
2 changes: 0 additions & 2 deletions source/modules/filesystem/physfs/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#include <cstring>
#include <physfs.h>

#include <utility/logfile.hpp>

namespace love
{
static bool setupWriteDirectory()
Expand Down
2 changes: 0 additions & 2 deletions source/modules/filesystem/wrap_File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

#include "modules/data/wrap_DataModule.hpp"

#include <utility/logfile.hpp>

using namespace love;

int Wrap_File::getSize(lua_State* L)
Expand Down
6 changes: 3 additions & 3 deletions source/modules/love/love.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ static constexpr std::array<const luaL_Reg, 21> modules =
}};
// clang-format on

#include "utility/logfile.hpp"

const char* love_getVersion()
{
return __LOVE_VERSION__;
Expand Down Expand Up @@ -163,6 +161,7 @@ static int love_atpanic(lua_State* L)
return 0;
}

#if __DEBUG__
static void love_atcpanic()
{
try
Expand All @@ -175,6 +174,7 @@ static void love_atcpanic()
std::exit(EXIT_FAILURE);
}
}
#endif

static void luax_addcompatibilityalias(lua_State* L, const char* module, const char* name, const char* alias)
{
Expand Down Expand Up @@ -276,7 +276,7 @@ int love_initialize(lua_State* L)
* @brief Initializes the console output.
*
* Users will need to use telnet on Windows or netcat on Linux/macOS:
* `telnet/netcat 192.168.x.x 8000`
* `telnet/nc 192.168.x.x 8000`
*/

#define SEND(sockfd, s) send(sockfd, s, strlen(s), 0)
Expand Down

0 comments on commit c300387

Please sign in to comment.