Fixed broken love.cpp.

This commit is contained in:
rude
2009-08-13 21:38:55 +02:00
parent dd420d68a3
commit d164a305c5
2 changed files with 22 additions and 24 deletions
+6
View File
@@ -75,6 +75,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "font", "font\font.vcproj",
{0A2BDA60-43BB-4837-921A-2E4955FD8AEC} = {0A2BDA60-43BB-4837-921A-2E4955FD8AEC} {0A2BDA60-43BB-4837-921A-2E4955FD8AEC} = {0A2BDA60-43BB-4837-921A-2E4955FD8AEC}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "love", "love.vcproj", "{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32 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}.Debug|Win32.Build.0 = Debug|Win32
{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.ActiveCfg = Release|Win32 {0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.ActiveCfg = Release|Win32
{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.Build.0 = 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 EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
+16 -24
View File
@@ -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 * Copyright (c) 2006-2009 LOVE Development Team
* *
* This software is provided 'as-is', without any express or implied * 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 * including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions: * 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 * claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be * in a product, an acknowledgment in the product documentation would be
* appreciated but is not required. * 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. * 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 // SDL
@@ -58,19 +50,19 @@
#include "resources/resources.h" #include "resources/resources.h"
static const luaL_Reg modules[] = { static const luaL_Reg modules[] = {
{ "love.audio", luaopen_love_audio }, { "love.audio", love::audio::luaopen_love_audio },
{ "love.event", luaopen_love_event }, { "love.event", love::event::sdl::luaopen_love_event },
{ "love.filesystem", luaopen_love_filesystem }, { "love.filesystem", love::filesystem::physfs::luaopen_love_filesystem },
{ "love.font", luaopen_love_font }, { "love.font", love::font::freetype::luaopen_love_font },
{ "love.graphics", luaopen_love_graphics }, { "love.graphics", love::graphics::opengl::luaopen_love_graphics },
{ "love.image", luaopen_love_image }, { "love.image", love::image::luaopen_love_image },
{ "love.joystick", luaopen_love_joystick }, { "love.joystick", love::joystick::sdl::luaopen_love_joystick },
{ "love.keyboard", luaopen_love_keyboard }, { "love.keyboard", love::keyboard::sdl::luaopen_love_keyboard },
{ "love.mouse", luaopen_love_mouse }, { "love.mouse", love::mouse::sdl::luaopen_love_mouse },
{ "love.native", luaopen_love_native }, { "love.native", love::native::tcc::luaopen_love_native },
{ "love.physics", luaopen_love_physics }, { "love.physics", love::physics::box2d::luaopen_love_physics },
{ "love.sound", luaopen_love_sound }, { "love.sound", love::sound::luaopen_love_sound },
{ "love.timer", luaopen_love_timer }, { "love.timer", love::timer::sdl::luaopen_love_timer },
{ 0, 0 } { 0, 0 }
}; };