mirror of
https://github.com/Ratstail91/Hearts.git
synced 2025-11-28 18:14:30 +11:00
Switched copyright to the zlib license
This commit is contained in:
@@ -1,9 +1,29 @@
|
||||
/* File Name: audio_manager.cpp
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 21/6/2011
|
||||
* Version: 3, Stable
|
||||
* Description: The AudioManager class, used to manage sounds and music.
|
||||
* Date (dd/mm/yyyy): 21/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The AudioManager class, used to manage sounds and music.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: audio_manager.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 21/6/2011
|
||||
* Version: 3, Stable
|
||||
* Description: The AudioManager class, used to manage sounds and music.
|
||||
* Date (dd/mm/yyyy): 21/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The AudioManager class, used to manage sounds and music.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_AUDIOMANAGER_H_
|
||||
#define KR_KAGE_AUDIOMANAGER_H_
|
||||
|
||||
/* Version information */
|
||||
#define AUDIOMANAGER_VERSION_MAJOR 3
|
||||
#define AUDIOMANAGER_VERSION_MINOR 0
|
||||
#define AUDIOMANAGER_VERSION_PATCH 0
|
||||
#define AUDIOMANAGER_VERSION "3.0.0"
|
||||
#define AUDIOMAANGER_VERSION_STRING "KAGE::AudioManager Version 3, Stable"
|
||||
|
||||
#include "SDL_mixer.h"
|
||||
#include "named_manager.h"
|
||||
#include "sound.h"
|
||||
|
||||
@@ -1,9 +1,29 @@
|
||||
/* File Name: base_engine.cpp
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 9/7/2011
|
||||
* Version: 3.2.2, Stable
|
||||
* Description: The BaseEngine class, a Simple DirectMedia Layer (SDL) based all purpose 2D game engine.
|
||||
* Date (dd/mm/yyyy): 09/07/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The BaseEngine class, a Simple DirectMedia Layer (SDL) based all purpose 2D game engine.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: base_engine.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 9/7/2011
|
||||
* Version: 3.2.2, Stable
|
||||
* Description: The BaseEngine class, a Simple DirectMedia Layer (SDL) based all purpose 2D game engine.
|
||||
* Date (dd/mm/yyyy): 09/07/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The BaseEngine class, a Simple DirectMedia Layer (SDL) based all purpose 2D game engine.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_BASEENGINE_H_
|
||||
#define KR_KAGE_BASEENGINE_H_
|
||||
|
||||
/* Version information */
|
||||
#define BASEENGINE_VERSION_MAJOR 3
|
||||
#define BASEENGINE_VERSION_MINOR 2
|
||||
#define BASEENGINE_VERSION_PATCH 2
|
||||
#define BASEENGINE_VERSION "3.2.2"
|
||||
#define BASEENGINE_VERSION_STRING "KAGE::BaseEngine Version 3.2.2, Stable"
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
namespace KAGE {
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: card.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include "card.h"
|
||||
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: card.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_CARD_H_
|
||||
#define KR_CARD_H_
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: card_list.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include <iostream>
|
||||
#include <time.h>
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: card_list.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_CARDLIST_H_
|
||||
#define KR_CARDLIST_H_
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: deck.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include <iostream>
|
||||
#include "deck.h"
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: deck.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_DECK_H_
|
||||
#define KR_DECK_H_
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: hearts_engine.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
/* File Name: hearts_engine.cpp
|
||||
* Author: Kayne Ruse
|
||||
* Date: ...
|
||||
* Version: ...
|
||||
* Description: ...
|
||||
* Date (dd/mm/yyyy): ...
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include <iostream>
|
||||
#include "hearts_engine.h"
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: hearts_engine.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: ...
|
||||
* Version: ...
|
||||
* Description: ...
|
||||
* Date (dd/mm/yyyy): ...
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_HEARTSENGINE_H_
|
||||
#define KR_HEARTSENGINE_H_
|
||||
|
||||
@@ -1,9 +1,29 @@
|
||||
/* File Name: image.cpp
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 20/6/2011
|
||||
* Version: 3.1.0, Stable
|
||||
* Description: The Image class, a wrapper for SDL_Surface and other drawing functionality.
|
||||
* Date (dd/mm/yyyy): 20/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Image class, a wrapper for SDL_Surface and other drawing functionality.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: image.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 20/6/2011
|
||||
* Version: 3.1.0, Stable
|
||||
* Description: The Image class, a wrapper for SDL_Surface and other drawing functionality.
|
||||
* Date (dd/mm/yyyy): 20/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Image class, a wrapper for SDL_Surface and other drawing functionality.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_IMAGE_H_
|
||||
#define KR_KAGE_IMAGE_H_
|
||||
|
||||
/* Version information */
|
||||
#define IMAGE_VERSION_MAJOR 3
|
||||
#define IMAGE_VERSION_MINOR 1
|
||||
#define IMAGE_VERSION_PATCH 0
|
||||
#define IMAGE_VERSION "3.1.0"
|
||||
#define IMAGE_VERSION_STRING "KAGE::Image Version 3.1.0, Stable"
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
namespace KAGE {
|
||||
|
||||
@@ -1,9 +1,29 @@
|
||||
/* File Name: image_manager.cpp
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 20/6/2011
|
||||
* Version: 4, Stable
|
||||
* Description: The Image Manager creates, organises and cleans up the Images in the game.
|
||||
* Date (dd/mm/yyyy): 20/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Image Manager creates, organises and cleans up the Images in the game.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: image_manager.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 20/6/2011
|
||||
* Version: 4, Stable
|
||||
* Description: The Image Manager creates, organises and cleans up the Images in the game.
|
||||
* Date (dd/mm/yyyy): 20/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Image Manager creates, organises and cleans up the Images in the game.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_IMAGEMANAGER_H_
|
||||
#define KR_KAGE_IMAGEMANAGER_H_
|
||||
|
||||
/* Version information */
|
||||
#define IMAGEMANAGER_VERSION_MAJOR 4
|
||||
#define IMAGEMANAGER_VERSION_MINOR 0
|
||||
#define IMAGEMANAGER_VERSION_PATCH 0
|
||||
#define IMAGEMANAGER_VERSION "4.0.0"
|
||||
#define IMAGEMANAGER_VERSION_STRING "KAGE::ImageManager Version 4, Stable"
|
||||
|
||||
#include "named_manager.h"
|
||||
#include "image.h"
|
||||
|
||||
|
||||
@@ -1,9 +1,29 @@
|
||||
/* File Name: music.cpp
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 21/6/2011
|
||||
* Version: 1.0.1, Stable
|
||||
* Description: The Music class, a wrapper for Mix_Music and other sound functionality.
|
||||
* Date (dd/mm/yyyy): 21/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Music class, a wrapper for Mix_Music and other sound functionality.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: music.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 21/6/2011
|
||||
* Version: 1.0.1, Stable
|
||||
* Description: The Music class, a wrapper for Mix_Music and other sound functionality.
|
||||
* Date (dd/mm/yyyy): 21/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Music class, a wrapper for Mix_Music and other sound functionality.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_MUSIC_H_
|
||||
#define KR_KAGE_MUSIC_H_
|
||||
|
||||
/* Version information */
|
||||
#define MUSIC_VERSION_MAJOR 1
|
||||
#define MUSIC_VERSION_MINOR 0
|
||||
#define MUSIC_VERSION_PATCH 1
|
||||
#define MUSIC_VERSION "1.0.1"
|
||||
#define MUSIC_VERSION_STRING "KAGE::Music Version 1.0.1, Stable"
|
||||
|
||||
#include "SDL_mixer.h"
|
||||
|
||||
namespace KAGE {
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: named_manager.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 21/6/2011
|
||||
* Version: 1.0.1, Stable
|
||||
* Description: The NamedManager template class acts as a parent for all of Kage's managers.
|
||||
* Date (dd/mm/yyyy): 21/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The NamedManager template class acts as a parent for all of Kage's managers.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_NAMEDMANAGER_H_
|
||||
#define KR_KAGE_NAMEDMANAGER_H_
|
||||
|
||||
/* Version information */
|
||||
#define NAMEDMANAGER_VERSION_MAJOR 1
|
||||
#define NAMEDMANAGER_VERSION_MINOR 0
|
||||
#define NAMEDMANAGER_VERSION_PATCH 1
|
||||
#define NAMEDMANAGER_VERSION "1.0.1"
|
||||
#define NAMEDMANAGER_VERSION_STRING "KAGE::Manager Version 1.0.1, Stable"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: player.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include "player.h"
|
||||
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: player.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_PLAYER_H_
|
||||
#define KR_PLAYER_H_
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: player_ai.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 6/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 06/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include <iostream>
|
||||
#include "player_ai.h"
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: player_ai.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 6/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 06/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_PLAYERAI_H_
|
||||
#define KR_PLAYERAI_H_
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: player_user.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include "player_user.h"
|
||||
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: player_user.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 5/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 05/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_PLAYERUSER_H_
|
||||
#define KR_PLAYERUSER_H_
|
||||
|
||||
@@ -1,9 +1,29 @@
|
||||
/* File Name: sound.cpp
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 13/6/2011
|
||||
* Version: 1, Stable
|
||||
* Description: The Sound class, a wrapper for Mix_Chunk and other sound functionality.
|
||||
* Date (dd/mm/yyyy): 13/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Sound class, a wrapper for Mix_Chunk and other sound functionality.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
@@ -1,21 +1,34 @@
|
||||
/* File Name: sound.h
|
||||
* Copyright: (c) Kayne Ruse, all rights reserved.
|
||||
* Author: Kayne Ruse
|
||||
* Date: 13/6/2011
|
||||
* Version: 1, Stable
|
||||
* Description: The Sound class, a wrapper for Mix_Chunk and other sound functionality.
|
||||
* Date (dd/mm/yyyy): 13/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* The Sound class, a wrapper for Mix_Chunk and other sound functionality.
|
||||
* Part of the KAGE Game Engine.
|
||||
*/
|
||||
#ifndef KR_KAGE_SOUND_H_
|
||||
#define KR_KAGE_SOUND_H_
|
||||
|
||||
/* Version information */
|
||||
#define SOUND_VERSION_MAJOR 1
|
||||
#define SOUND_VERSION_MINOR 0
|
||||
#define SOUND_VERSION_PATCH 0
|
||||
#define SOUND_VERSION "1.0.0"
|
||||
#define SOUND_VERSION_STRING "KAGE::Sound Version 1, Stable"
|
||||
|
||||
#include "SDL_mixer.h"
|
||||
|
||||
namespace KAGE {
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: table.cpp
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 9/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 09/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#include "table.h"
|
||||
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
/* File Name: table.h
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
* This file is part of Hearts.
|
||||
*
|
||||
* Hearts 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.
|
||||
*
|
||||
* Hearts 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 Hearts. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Kayne Ruse
|
||||
* Date: 9/6/2011
|
||||
* Version:
|
||||
* Description: Designed for Project Hearts, 4th try.
|
||||
* Date (dd/mm/yyyy): 09/06/2011
|
||||
* Copyright: (c) Kayne Ruse 2011, 2012
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
* arising from the use of this software.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely, subject to the following restrictions:
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
* Description:
|
||||
* Designed for Project Hearts, 4th try.
|
||||
*/
|
||||
#ifndef KR_TABLE_H_
|
||||
#define KR_TABLE_H_
|
||||
|
||||
33
README.md
33
README.md
@@ -1,6 +1,6 @@
|
||||
# Project Hearts version 1.0, 22nd June 2011
|
||||
|
||||
#### Introduction
|
||||
## Introduction
|
||||
|
||||
This project is over 1 1/2 years old, so it doesn't reflect my current programming skills. Regardless, it's a pretty good demonstration of my development. From the KAGE engine, you can see what my thought processes at the time were, and you can probably guess that this evolved into my [Codebase](https://github.com/Ratstail91/Codebase). This has a sound system, and some aspects are different, but it's not a terrible start. I<>ve also included all of the unused modules including NetworkManager, which aren<65>t used here, but are simply part of KAGE.
|
||||
|
||||
@@ -10,37 +10,30 @@ Finally, my biggest mistake I believe, was that I made the KAGE engine closed so
|
||||
|
||||
I don<6F>t consider this project complete, since it<69>s still missing a score display and a card passing button, but the scores are shown in the console window (stdout) and the F1 button compensates for a lack of graphical buttons. I<>d like to remake this, using the existing game logic to rely on my current Codebase version. If I do, I<>ll release the modified version under the zlib license.
|
||||
|
||||
#### Instructions
|
||||
## Instructions
|
||||
|
||||
Drop the "rsc" folder into the same directory as the executable
|
||||
To select a card, click on it
|
||||
To pass three cards at the start of the round, select them and press F1
|
||||
To speed up the wait after a round, press F1
|
||||
|
||||
#### License
|
||||
## Copyright
|
||||
|
||||
Built using Simple DirectMedia Layer (SDL) API. See http://www.libsdl.org for more information.
|
||||
Copyright (c) Kayne Ruse 2011, 2012, 2013
|
||||
|
||||
Built using Kayne's All-purpose Game Engine (KAGE). See KAGE documentation for more information (no longer available).
|
||||
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
|
||||
|
||||
Programming by Kayne Ruse
|
||||
Freeware Graphics
|
||||
Freeware Audio
|
||||
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||
|
||||
Hearts 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.
|
||||
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.
|
||||
|
||||
Hearts 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.
|
||||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Hearts. If not, see http://www.gnu.org/licenses/.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
#### References
|
||||
## Contact information
|
||||
|
||||
Blog: http://kr-studios.tumblr.com/
|
||||
ratstail91@yahoo.com.au
|
||||
http://kr-studios.tumblr.com/
|
||||
http://www.facebook.com/krgamestudios
|
||||
Oldest known version: https://dl.dropbox.com/u/46669050/Hearts%20by%20Kayne%20Ruse.rar
|
||||
|
||||
Reference in New Issue
Block a user