Commit a5b3f01b authored by gerstrong@gmail.com's avatar gerstrong@gmail.com

Code cleanups, improved README

parent 3f641a83
......@@ -290,7 +290,6 @@ How to compile it under Ubuntu:
* Create an empty build Dir: mkdir -p CGeniusBuild
* Extract my source code into the "CGeniusSrc" directory.
* cd CGeniusSrc
* cd CGeniusBuild
* Run "cmake ../CGeniusSrc".
* Run "make".
......@@ -311,7 +310,6 @@ How to compile it under Fedora:
SDL2_image-devel SDL2_mixer-devel
* Extract my source code into the "CGeniusSrc" directory.
* cd CGeniusSrc
* mkdir -p CGeniusBuild
* cd CGeniusBuild
* Run "cmake ../CGeniusSrc".
......@@ -330,7 +328,6 @@ Compiling CG on any Linux/UNIX (other than Ubuntu or Fedora):
* You need to install the "SDL_mixer", "SDL_image", "SDL", "curl", "boost" and
"Mesa/OpenGL" development libraries to get it to compile successfully.
* Extract my source code into the "CGeniusSrc" directory .
* cd CGeniusSrc
* mkdir -p CGeniusBuild
* cd CGeniusBuild
* Run "cmake ../CGeniusSrc".
......
......@@ -127,7 +127,6 @@ public:
TouchButton mPogoButton;
TouchButton mStatusButton;
#if SDL_VERSION_ATLEAST(2, 0, 0)
std::set< SDL_FingerID > mFingerSet;
#endif
......
#ifndef __NUMBERCONTROL_H__
#define __NUMBERCONTROL_H__
#ifndef NUMBERCONTROL_H
#define NUMBERCONTROL_H
#include <widgets/GsNumberControl.h>
......@@ -24,4 +24,4 @@ public:
void processRender(const GsRect<float> &RectDispCoordFloat);
};
#endif // __NUMBERCONTROL_H__
#endif // NUMBERCONTROL_H
......@@ -21,7 +21,7 @@ const int A_EAGLE_STUNNED = 10;
const int WALK_SPEED = 34;
const int FLY_SPEED = 34;
const int CHANCETOFLY = 50;
const int CHANCETOSTAND = 50;
//const int CHANCETOSTAND = 50;
CBlueBird::CBlueBird(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y) :
CGalaxySpriteObject(pmap, foeID, x, y, 0),
......
......@@ -30,7 +30,7 @@ enum AMPTONACTIONS
constexpr int CSF_DISTANCE_TO_FOLLOW = 6<<CSF;
//constexpr int CSF_DISTANCE_TO_FOLLOW = 6<<CSF;
constexpr int WALK_SPEED = 25;
constexpr int SLIDE_SPEED = 25;
......@@ -39,8 +39,8 @@ constexpr int UMOUNT_TIME = 30;
constexpr int TIME_UNTIL_SHOOT = 500;
constexpr int mAmptonOffset = 0x21DC;
constexpr int mShikadiMasterOffset = 0x2B6C; // For Yeti shoot sprite (Keen 9)
//constexpr int mAmptonOffset = 0x21DC;
//constexpr int mShikadiMasterOffset = 0x2B6C; // For Yeti shoot sprite (Keen 9)
......
......@@ -29,14 +29,14 @@ public:
void processStunned() override;
int checkSolidD( int x1, int x2, int y2, const bool push_mode );
int checkSolidD( int x1, int x2, int y2, const bool push_mode ) override;
void process();
void process() override;
/**
* What happens if the slug gets touched by another object
*/
void getTouchedBy(CSpriteObject &theObject);
void getTouchedBy(CSpriteObject &theObject) override;
private:
int mTimer = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment