Changeset 865


Ignore:
Timestamp:
Aug 27, 2011, 8:29:44 PM (8 years ago)
Author:
sam
Message:

core: move platform-specific code to specific directories.

Location:
trunk
Files:
4 added
5 edited
9 moved

Legend:

Unmodified
Added
Removed
  • trunk/deushax/deushax.cpp

    r863 r865  
    1818
    1919#include "game.h"
    20 #include "sdlapp.h"
    21 #include "sdlinput.h"
     20#include "platform/sdl/sdlapp.h"
     21#include "platform/sdl/sdlinput.h"
    2222#include "debugsprite.h"
    2323
  • trunk/monsterz/android/jni/Android.mk

    r744 r865  
    2020include $(LOCAL_PATH)/$(MONSTERZ_SRC)/Makefile.am
    2121LOCAL_SRC_FILES := \
    22     $(addprefix $(LOL_SRC)/, $(filter-out %.h sdl%, androidapp.cpp $(liblol_a_SOURCES))) \
    23     $(addprefix $(MONSTERZ_SRC)/, $(filter-out %.h sdl%, $(monsterz_SOURCES)))
     22    $(addprefix $(LOL_SRC)/, $(filter-out %.h, platform/android/androidapp.cpp $(liblol_a_SOURCES))) \
     23    $(addprefix $(MONSTERZ_SRC)/, $(filter-out %.h, $(monsterz_SOURCES)))
    2424
    2525include $(BUILD_SHARED_LIBRARY)
  • trunk/monsterz/monsterz.cpp

    r863 r865  
    2525
    2626#if defined __CELLOS_LV2__
    27 #   include "ps3app.h"
    28 #   include "ps3input.h"
     27#   include "platform/ps3/ps3app.h"
     28#   include "platform/ps3/ps3input.h"
    2929#elif defined HAVE_GLES_2X
    3030#   include "eglapp.h"
    3131#else
    32 #   include "sdlapp.h"
    33 #   include "sdlinput.h"
     32#   include "platform/sdl/sdlapp.h"
     33#   include "platform/sdl/sdlinput.h"
    3434#endif
    3535#include "interface.h"
  • trunk/src/Makefile.am

    r864 r865  
    1313    platform.cpp platform.h sprite.cpp sprite.h \
    1414    \
    15     sdlapp.cpp sdlapp.h sdlinput.cpp sdlinput.h \
    16     \
    1715    eglapp.cpp eglapp.h \
    1816    \
    19     ps3app.cpp ps3app.h ps3input.cpp ps3input.h \
     17    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
     18    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h \
     19    \
     20    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
     21    platform/ps3/ps3input.cpp platform/ps3/ps3input.h \
    2022    \
    2123    shader/shader.cpp shader/shader.h \
  • trunk/src/platform/ps3/ps3app.cpp

    • Property svn:keywords set to Id
  • trunk/src/platform/ps3/ps3app.h

    • Property svn:keywords set to Id
  • trunk/src/platform/ps3/ps3input.cpp

    • Property svn:keywords set to Id
  • trunk/src/platform/ps3/ps3input.h

    • Property svn:keywords set to Id
  • trunk/src/platform/sdl/sdlapp.cpp

    r864 r865  
    1919#include "core.h"
    2020#include "lolgl.h"
    21 #include "sdlapp.h"
     21#include "platform/sdl/sdlapp.h"
    2222
    2323namespace lol
  • trunk/test/debug/quad.cpp

    r863 r865  
    2121
    2222#if defined __CELLOS_LV2__
    23 #   include "ps3app.h"
     23#   include "platform/ps3/ps3app.h"
    2424#elif defined HAVE_GLES_2X
    2525#   include "eglapp.h"
    2626#else
    27 #   include "sdlapp.h"
    28 #   include "sdlinput.h"
     27#   include "platform/sdl/sdlapp.h"
     28#   include "platform/sdl/sdlinput.h"
    2929#endif
    3030
Note: See TracChangeset for help on using the changeset viewer.