Skip to content

Commit

Permalink
Added gpl licence
Browse files Browse the repository at this point in the history
  • Loading branch information
danigm committed Apr 25, 2015
1 parent 098a2aa commit 24ca057
Show file tree
Hide file tree
Showing 7 changed files with 788 additions and 5 deletions.
19 changes: 19 additions & 0 deletions Classes/AppDelegate.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2015 Daniel Garcia <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**/


#include "AppDelegate.h"
#include "IntroScene.h"

Expand Down
19 changes: 19 additions & 0 deletions Classes/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2015 Daniel Garcia <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**/


#ifndef _APP_DELEGATE_H_
#define _APP_DELEGATE_H_

Expand Down
19 changes: 19 additions & 0 deletions Classes/GameScene.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2015 Daniel Garcia <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**/


#include "GameScene.h"
#include <iostream>
#include <cmath>
Expand Down
24 changes: 19 additions & 5 deletions Classes/GameScene.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2015 Daniel Garcia <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**/


#ifndef __GAME_SCENE_H__
#define __GAME_SCENE_H__

Expand All @@ -10,13 +29,8 @@ namespace gravity {
class GameScene : public cocos2d::Layer
{
public:
// there's no 'id' in cpp, so we recommend returning the class instance pointer
static cocos2d::Scene* createScene();

// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
virtual bool init();

// implement the "static create()" method manually
CREATE_FUNC(GameScene);

private:
Expand Down
19 changes: 19 additions & 0 deletions Classes/IntroScene.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2015 Daniel Garcia <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**/


#include "IntroScene.h"
#include "GameScene.h"

Expand Down
19 changes: 19 additions & 0 deletions Classes/IntroScene.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2015 Daniel Garcia <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**/


#ifndef __INTRO_SCENE_H__
#define __INTRO_SCENE_H__

Expand Down
Loading

0 comments on commit 24ca057

Please sign in to comment.