Skip to content

Commit

Permalink
added ipk testing file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sputkin committed Mar 23, 2018
1 parent 7f3651c commit 06629eb
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
endif()
endif()

find_package(SDL2 REQUIRED)
find_package(SDL2_Image REQUIRED)
find_package(SDL2_Mixer REQUIRED)
include_directories(${SDL2_INCLUDE_DIR} ${SDL2_IMAGE_INCLUDE_DIR} ${SDL2_MIXER_INCLUDE_DIR})
#find_package(SDL2 REQUIRED)
#find_package(SDL2_Image REQUIRED)
#find_package(SDL2_Mixer REQUIRED)

include_directories("/usr/include/SDL2")

file(COPY uNext/files DESTINATION .)

Expand Down
4 changes: 2 additions & 2 deletions uNext/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CCore::CCore(void) {

SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_AUDIO);

window = SDL_CreateWindow("uMario - www.LukaszJakowski.pl", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, CCFG::GAME_WIDTH, CCFG::GAME_HEIGHT, SDL_WINDOW_SHOWN);
window = SDL_CreateWindow("uMario - www.LukaszJakowski.pl (ported on webos by Sputkin - https://github.com/Sputkin/uMario_Jakowski)", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, CCFG::GAME_WIDTH, CCFG::GAME_HEIGHT, SDL_WINDOW_SHOWN);

if(window == NULL) {
quitGame = true;
Expand Down Expand Up @@ -373,4 +373,4 @@ void CCore::resetMove() {

Map* CCore::getMap() {
return oMap;
}
}
11 changes: 11 additions & 0 deletions webos_ipk/appinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "com.github.umario.testing",
"version": "0.0.1",
"vendor": "Łukasz Jakowski & ported by Sputkin",
"type": "native",
"main": "uMario",
"title": "uMario (super mario rebuild)",
"icon": "icon.png",
"largeIcon": "largeIcon.png",
"uiRevision": 2
}
Binary file not shown.
Binary file added webos_ipk/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added webos_ipk/largeIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added webos_ipk/uMario
Binary file not shown.

0 comments on commit 06629eb

Please sign in to comment.