<commit_before>#ifndef EMITTER_H
#define EMITTER_H

#include "vector4d.h"

#define MAX_PARTICLES 8 //@TODO: increase value for release
#define MAX_INITIALIZERS 32
#define MAX_OPERATORS 32

class Particle;
class Renderer;
class Operator;
class Initializer;

class Emitter {
public:
  Emitter(const Vector4D &pos, const Vector4D &vel, float itv = 1., int max = MAX_PARTICLES);
  virtual ~Emitter();

  // These should be called on every animation frame
  virtual void update(float elapsed);
  virtual void draw();

  // Set renderer, initializer and operator objects
  // They will be deallocated on ~Emitter
  void renderer(Renderer* rend);
  bool addInitializer(Initializer* initr);
  bool addOperator(Operator *opr);

protected:
  Vector4D _position;
  Vector4D _velocity; //@NOTE: We shouldn't call this velocity
<commit_msg>Increased particle limit<commit_after>#ifndef EMITTER_H
#define EMITTER_H

#include "vector4d.h"

#define MAX_PARTICLES 1024 //@TODO: increase value for release
#define MAX_INITIALIZERS 32
#define MAX_OPERATORS 32

class Particle;
class Renderer;
class Operator;
class Initializer;

class Emitter {
public:
  Emitter(const Vector4D &pos, const Vector4D &vel, float itv = 1., int max = MAX_PARTICLES);
  virtual ~Emitter();

  // These should be called on every animation frame
  virtual void update(float elapsed);
  virtual void draw();

  // Set renderer, initializer and operator objects
  // They will be deallocated on ~Emitter
  void renderer(Renderer* rend);
  bool addInitializer(Initializer* initr);
  bool addOperator(Operator *opr);

protected:
  Vector4D _position;
  Vector4D _velocity; //@NOTE: We shouldn't call this velocity

{'fraction_non_alphanumeric': 0.08513189448441247, 'fraction_numerical': 0.01498800959232614, 'mean_word_length': 4.856140350877193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '848568', 'n_tokens_mistral': 550, 'n_tokens_neox': 519, 'n_words': 186}