Skip to content

Commit

Permalink
add license info and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Dayagi committed Feb 11, 2013
1 parent f7a9c3a commit 18d8af8
Show file tree
Hide file tree
Showing 26 changed files with 269 additions and 37 deletions.
12 changes: 10 additions & 2 deletions Emitter_Abstract.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Abstract.h - an emitter interface
* Release into public domain.
* Emitter_Abstract.h - an abstract emitter class
*/

#ifndef emitter_abstract_h
Expand Down
12 changes: 10 additions & 2 deletions Emitter_Fire.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Fire.cpp - emit particles from one side
* Release into public domain.
* Emitter_Fire.cpp - emit particles to simulate fire
*/

#include "Emitter_Fire.h"
Expand Down
12 changes: 10 additions & 2 deletions Emitter_Fire.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Fire.h - a fire emitter
* Release into public domain.
* Emitter_Fire.h - emit particles to simulate fire
*/

#ifndef emitter_fire_h
Expand Down
10 changes: 9 additions & 1 deletion Emitter_Fixed.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Fixed.cpp - emit a particle with the same parameters each time
* Release into public domain.
*/

#include "Emitter_Fixed.h"
Expand Down
10 changes: 9 additions & 1 deletion Emitter_Fixed.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Fixed.h - emit a particle with the same parameters each time
* Release into public domain.
*/

#ifndef emitter_fixed_h
Expand Down
10 changes: 9 additions & 1 deletion Emitter_Fountain.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Fountain.cpp - a fountain of particles
* Release into public domain.
*/

#include "Emitter_Fountain.h"
Expand Down
10 changes: 9 additions & 1 deletion Emitter_Fountain.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Fountain.h - a fountain of particles
* Release into public domain.
*/

#ifndef emitter_fountain_h
Expand Down
12 changes: 10 additions & 2 deletions Emitter_Side.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Side.cpp - emit particles from one side
* Release into public domain.
* Emitter_Side.cpp - emit particles from one side of the box
*/

#include "Emitter_Side.h"
Expand Down
12 changes: 10 additions & 2 deletions Emitter_Side.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Side.h - a rainning emitter
* Release into public domain.
* Emitter_Side.h - emit particles from one side of the box
*/

#ifndef emitter_side_h
Expand Down
10 changes: 9 additions & 1 deletion Emitter_Spin.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Spin.cpp - a spinning emitter
* Release into public domain.
*/

#include "Emitter_Spin.h"
Expand Down
10 changes: 9 additions & 1 deletion Emitter_Spin.h
@@ -1,7 +1,15 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Emitter_Spin.h - a spinning emitter
* works well with 36 particles
* Release into public domain.
*/

#ifndef emitter_spin_h
Expand Down
14 changes: 12 additions & 2 deletions PartMatrix.cpp
@@ -1,5 +1,15 @@
/**
* PartMatrix.cpp particle system to an RGB matrix renderer

/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* PartMatrix.cpp renders a particle system to an RGB matrix
*/

#include "PartMatrix.h"
Expand Down
11 changes: 10 additions & 1 deletion PartMatrix.h
@@ -1,5 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/**
* PartMatrix.h particle system to an RGB matrix renderer
* PartMatrix.h renders a particle system to an RGB matrix
*/

#ifndef part_matrix_h
Expand Down
13 changes: 11 additions & 2 deletions ParticleSys.cpp
@@ -1,7 +1,16 @@
/*
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* ParticleSys.cpp - generic particle system class
* Release into public domain.
*/

#include "ParticleSys.h"

ParticleSys::ParticleSys(byte num, Particle_Abstract particles[], Emitter_Abstract *emitter)
Expand Down
10 changes: 9 additions & 1 deletion ParticleSys.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* ParticleSys.h - generic particle system class
* Release into public domain.
*/

#ifndef p_system_h
Expand Down
12 changes: 10 additions & 2 deletions Particle_Abstract.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* particle.h - generic particle class
* Release into public domain.
* particle.h - abstract particle class
*/

#ifndef particle_abstract_h
Expand Down
12 changes: 10 additions & 2 deletions Particle_Attractor.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Particle_Attractor.cpp - attractor particle
* Release into public domain.
* Particle_Attractor.cpp - particle with an attractor
*/

#include "Particle_Attractor.h"
Expand Down
12 changes: 10 additions & 2 deletions Particle_Attractor.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Particle_Attractor.h - standard particle
* Release into public domain.
* Particle_Attractor.h - particle with an attractor
*/

#ifndef particle_attractor_h
Expand Down
12 changes: 10 additions & 2 deletions Particle_Bounce.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* particle.cpp - generic particle class
* Release into public domain.
* particle.cpp - a particle that bounces off the "box" walls
*/

#include "Particle_Bounce.h"
Expand Down
12 changes: 10 additions & 2 deletions Particle_Bounce.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Particle_Bounce.h - bouncing particle
* Release into public domain.
* Particle_Bounce.h - a particle that bounces off the "box" walls
*/

#ifndef particle_bounce_h
Expand Down
12 changes: 10 additions & 2 deletions Particle_Std.cpp
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* particle.cpp - generic particle class
* Release into public domain.
* particle.cpp - standard particle, dies when out of bounds
*/

#include "Particle_Std.h"
Expand Down
12 changes: 10 additions & 2 deletions Particle_Std.h
@@ -1,6 +1,14 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

/*
* Particle_Std.h - standard particle
* Release into public domain.
* Particle_Std.h - standard particle, dies when out of bounds
*/

#ifndef particle_std_h
Expand Down
9 changes: 9 additions & 0 deletions PsConstants.h
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2013 Gilad Dayagi. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/

//some constants
//matrix pixels
#ifndef PS_PIXELS_X
Expand Down

0 comments on commit 18d8af8

Please sign in to comment.