mirror of
https://github.com/love2d/love.git
synced 2026-08-21 13:09:56 +02:00
Fixed broken love.cpp.
This commit is contained in:
@@ -75,6 +75,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "font", "font\font.vcproj",
|
||||
{0A2BDA60-43BB-4837-921A-2E4955FD8AEC} = {0A2BDA60-43BB-4837-921A-2E4955FD8AEC}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "love", "love.vcproj", "{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
@@ -141,6 +143,10 @@ Global
|
||||
{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.Build.0 = Release|Win32
|
||||
{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
+16
-24
@@ -1,12 +1,4 @@
|
||||
/**
|
||||
* @mainpage LOVE
|
||||
* @section sec-intro Introduction
|
||||
*
|
||||
* LOVE is a free 2D game "engine" which allows you to create games in
|
||||
* Lua primarily, but increasingly in C as well.
|
||||
*
|
||||
* @section sec-license License
|
||||
*
|
||||
* Copyright (c) 2006-2009 LOVE Development Team
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
@@ -17,13 +9,13 @@
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* -# The origin of this software must not be misrepresented; you must not
|
||||
* 1. The origin of this software must not be misrepresented; you must not
|
||||
* claim that you wrote the original software. If you use this software
|
||||
* in a product, an acknowledgment in the product documentation would be
|
||||
* appreciated but is not required.
|
||||
* -# Altered source versions must be plainly marked as such, and must not be
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
* -# This notice may not be removed or altered from any source distribution.
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
// SDL
|
||||
@@ -58,19 +50,19 @@
|
||||
#include "resources/resources.h"
|
||||
|
||||
static const luaL_Reg modules[] = {
|
||||
{ "love.audio", luaopen_love_audio },
|
||||
{ "love.event", luaopen_love_event },
|
||||
{ "love.filesystem", luaopen_love_filesystem },
|
||||
{ "love.font", luaopen_love_font },
|
||||
{ "love.graphics", luaopen_love_graphics },
|
||||
{ "love.image", luaopen_love_image },
|
||||
{ "love.joystick", luaopen_love_joystick },
|
||||
{ "love.keyboard", luaopen_love_keyboard },
|
||||
{ "love.mouse", luaopen_love_mouse },
|
||||
{ "love.native", luaopen_love_native },
|
||||
{ "love.physics", luaopen_love_physics },
|
||||
{ "love.sound", luaopen_love_sound },
|
||||
{ "love.timer", luaopen_love_timer },
|
||||
{ "love.audio", love::audio::luaopen_love_audio },
|
||||
{ "love.event", love::event::sdl::luaopen_love_event },
|
||||
{ "love.filesystem", love::filesystem::physfs::luaopen_love_filesystem },
|
||||
{ "love.font", love::font::freetype::luaopen_love_font },
|
||||
{ "love.graphics", love::graphics::opengl::luaopen_love_graphics },
|
||||
{ "love.image", love::image::luaopen_love_image },
|
||||
{ "love.joystick", love::joystick::sdl::luaopen_love_joystick },
|
||||
{ "love.keyboard", love::keyboard::sdl::luaopen_love_keyboard },
|
||||
{ "love.mouse", love::mouse::sdl::luaopen_love_mouse },
|
||||
{ "love.native", love::native::tcc::luaopen_love_native },
|
||||
{ "love.physics", love::physics::box2d::luaopen_love_physics },
|
||||
{ "love.sound", love::sound::luaopen_love_sound },
|
||||
{ "love.timer", love::timer::sdl::luaopen_love_timer },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user