mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-28 15:55:51 +00:00
Constify some things, no functional changes
This commit is contained in:
parent
20ee050c7b
commit
5410028906
2 changed files with 13 additions and 15 deletions
|
@ -23,19 +23,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include "Avatar.h"
|
||||
#include "../BBGE/AfterEffect.h"
|
||||
|
||||
float strengthSeparation = 1;
|
||||
float strengthAlignment = 0.8;
|
||||
float strengthAvoidance = 1;
|
||||
float strengthCohesion = 0.5;
|
||||
|
||||
float avoidanceDistance = 128;
|
||||
float separationDistance = 128;
|
||||
float minUrgency = 5;//0.05;
|
||||
float maxUrgency = 10;//0.1;
|
||||
float maxSpeed = 400; // 1
|
||||
float maxChange = maxSpeed*maxUrgency;
|
||||
|
||||
float velocityScale = 1;
|
||||
const float strengthSeparation = 1;
|
||||
const float strengthAlignment = 0.8f;
|
||||
const float strengthAvoidance = 1;
|
||||
const float strengthCohesion = 0.5f;
|
||||
|
||||
const float avoidanceDistance = 128;
|
||||
const float separationDistance = 128;
|
||||
const float minUrgency = 5;//0.05;
|
||||
const float maxUrgency = 10;//0.1;
|
||||
const float maxSpeed = 400; // 1
|
||||
const float maxChange = maxSpeed*maxUrgency;
|
||||
|
||||
const float velocityScale = 1;
|
||||
|
||||
|
||||
SchoolFish::SchoolFish(const std::string &texname) : FlockEntity()
|
||||
|
|
|
@ -53,8 +53,6 @@ namespace WorldMapRenderNamespace
|
|||
|
||||
std::vector<Quad *> tiles;
|
||||
|
||||
std::vector<Quad *> particles;
|
||||
|
||||
Quad *activeQuad=0, *lastActiveQuad=0, *originalActiveQuad=0;
|
||||
Quad *lastVisQuad=0, *visQuad=0;
|
||||
WorldMapTile *lastVisTile=0;
|
||||
|
|
Loading…
Reference in a new issue