Skip to content

Commit 2f21f0a

Browse files
author
Patrick Rye
committed
Doxygen Update
Started work on adding doxygen support, not finished at the moment
1 parent a67348c commit 2f21f0a

File tree

15 files changed

+3124
-335
lines changed

15 files changed

+3124
-335
lines changed

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,35 @@ Cannon-PRIVATE
5959

6060
/RandomCrap/
6161
/SDL2Stuff/
62+
63+
# Build dir
64+
build
65+
build.release
66+
build.debug
67+
build-release
68+
build-debug
69+
debug_build
70+
release_build
71+
/bin
72+
/lib
73+
/install
74+
75+
# Qt cache
76+
CMakeLists.txt.user
77+
CMakeLists.txt.user.*
78+
79+
# IDE project files
80+
*.sublime-project
81+
*.sublime-workspace
82+
83+
# Local config windows
84+
_configure.bat
85+
_open-project.bat
86+
_start-cmake-gui.bat
87+
_start-cmd.bat
88+
89+
# Local config unix
90+
.localconfig
91+
92+
#Doxygen Stuff
93+
/project/doxygen/html/

ChangesLog.md

Lines changed: 331 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,331 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented here.
4+
This project adheres to [Semantic Versioning](http://semver.org/)
5+
6+
## [1.2.5-Beta] - 2015-09-23
7+
### Added
8+
* Doxygen Support
9+
* Doxygen Documentation
10+
* Makefile
11+
12+
### Changed
13+
* Change log format to be markdown
14+
* License format to be markdown
15+
16+
### Removed
17+
* Autoversioning support
18+
* clsCannonball::enableDrag (pointless now, it is just enabled in another function)
19+
20+
21+
## [1.2.4-Beta] - 2015-09-21
22+
### Added
23+
* Cannonballs are now different colors
24+
25+
### Changed
26+
* Ball ID is now set in Screen set
27+
* Unrealistic method added in 1.1.9-Beta can be toggled easier (with define). Its funny to enable and watch even if it doesn't do what it is supposed to
28+
29+
30+
## [1.2.3-Beta] - 2015-09-21
31+
### Added
32+
* Cannonballs are now more transparent the less mass they have
33+
* Namespace Equations to hold equation values
34+
* Ball Path is now drawn on screen (holds so many past points, can be enabled in config file)
35+
36+
### Changed
37+
* Reduced fTimetoSizeRatio from 1.2458 to 0.0124
38+
* Screen background color from White to Black
39+
* Ball color from Black to White
40+
* Pixel color from Black to White
41+
42+
### Removed
43+
* Sky image (replaced with SDL_SetRenderDrawColor)
44+
* My attempt at making parts of the ball image transparent (it wasn't working)
45+
46+
47+
## [1.2.2-Beta] - 2015-09-18
48+
### Fixed
49+
* Mouse line getting thinner the closer to vertical it gets
50+
51+
### Cleaned
52+
* Up a lot of code; made things simpler
53+
54+
### Changed
55+
* All angles are now in radians so I don't have to worry about converting
56+
* Ball radius (and therefore mass) is now proportional to the amount of time you held down the mouse button for.
57+
* Upped default allowable number of cannonballs from 10 to 20
58+
59+
60+
## [1.2.1-Beta] - 2015-09-17
61+
### Fixed
62+
* An issue with mass not being set causing values to being NaN, if drag was not enabled
63+
64+
65+
## [1.2.0-Beta] - 2015-09-17
66+
### Fixed
67+
* The Collision equations a bit more
68+
* Drag update acc would sometimes divide by 0
69+
70+
### Added
71+
* Cannonball now holds its own box
72+
* Keyboard Press events, (Q/ESC to quit, K to kill all balls, and R to stop all motion)
73+
* Friction between the ball and floor / wall
74+
75+
### Updated
76+
* Readme
77+
78+
### Changed
79+
* Attempted to make the code more efficient
80+
* Default Min Velocity from 0.5 to 0.0 (basically disabling it)
81+
* Disabled the Unrealistic method I added in 1.1.9-beta as it did not help.
82+
* Default Collision Method from Elastic to Inelastic
83+
* fMomentumLoss name to fCoefficientRestitution to be named after its real life counter part
84+
85+
86+
## [1.1.9-Beta] - 2015-09-16
87+
### Fixed
88+
* Log file is now cleared at start
89+
90+
### Added
91+
* Cannonballs now keep track of ID for logging purposes
92+
* Clearer Debug Message if a ball was killed because of speed or NaN
93+
* Unrealistic method where velocity is modified with the inverse root of the distance between the points (this was an attempt to prevent the balls from sticking together as they have been)
94+
95+
96+
## [1.1.8-Beta] - 2015-09-16
97+
### Fixed
98+
* You can now properly fire a cannonball in all directions
99+
* Balls that have velocity as NaN will be removed (I should have fixed the equations so this doesn't happen, but just is cause)
100+
101+
### Added
102+
* More collision methods (Inelastic, Elastic, Perfect Inelastic, and No Collisions)
103+
104+
### Improved
105+
* Collision equations
106+
107+
108+
## [1.1.7-Beta] - 2015-09-15
109+
### Fixed
110+
* Bug with mouse keeping old coordinates
111+
* X Fire velocity not being right
112+
113+
### Added
114+
* Collisions
115+
116+
117+
## [1.1.6-Beta] - 2015-09-15
118+
### Fixed
119+
* Y velocity being flipped
120+
* Bug with balls not correctly bouncing at certain velocities
121+
122+
### Added
123+
* Support for adding multiple cannonballs (no collision between them yet)
124+
125+
### Removed
126+
* Ball position updating on debug mode (too many balls)
127+
128+
### Updated
129+
* Ball will now be removed if their velocity drops below a certain value.
130+
131+
### Note
132+
* Currently the array holding multiple cannonball is NOT dynamic I still have to figure that out.
133+
134+
135+
## [1.1.5-Beta] - 2015-09-15
136+
### Added
137+
* Global.h to hold the externs of the globals
138+
* Balls with bounce off of screen edges
139+
140+
### Removed
141+
* Cannon image
142+
143+
### Cleaned
144+
* General code
145+
146+
### Changed
147+
* You add a ball by clicking and dragging then releasing the button. (Only one ball supported at the moment)
148+
* How cannonballs are applied to screen
149+
* Method to add cannonballs
150+
* Drag mode now enabled in config file.
151+
152+
153+
## [1.1.4-Beta] - 2015-09-15
154+
### Fixed
155+
* Some build issues between Windows and Unix
156+
157+
### Added
158+
* Proper quitting by click X on SDL window
159+
160+
161+
## [1.1.3-Beta] - 2015-09-01
162+
### Added
163+
* Cleanup.bat for deleting useless files
164+
* Cannon Image
165+
166+
### Changed
167+
* Log file to print out floating values
168+
169+
170+
## [1.1.2-Beta] - 2015-08-28
171+
### Added
172+
* Config value that holds OS (kinda pointless at the moment; mostly just so I have a reference of how to do this in the future).
173+
174+
### Changed
175+
* Sky picture to be smaller (64x48 instead of 640x480) since I'm embedding so that file size will be smaller.
176+
* Embedded Images as XPMs
177+
178+
### Removed
179+
* All but 1 ball size (since I am now embedding the images it didn't make sense; nor was it really all that useful).
180+
181+
182+
## [1.1.1-Beta] - 2015-08-27
183+
### Fixed
184+
* Various issues on Unix systems
185+
186+
### Added
187+
* SDL Images
188+
* General Linux support
189+
* OS support for default path to images
190+
* Linux Build options
191+
192+
### Changed
193+
* Build options for Windows Versions
194+
* Pictures from BMP to PNG
195+
196+
197+
## [1.1.0-beta] - 2015-08-27
198+
### Fixed
199+
* A few bugs
200+
* Some Debug message appearing when not in debug mode
201+
202+
### Changed
203+
* Deltat is now variable on the time since the last update.
204+
205+
206+
## [1.0.2-Beta] - 2015-08-27
207+
### Fixed
208+
* Several Bugs.
209+
210+
### Removed
211+
* Version info including software status (not working)
212+
* Loading of Images path (was causing issues)
213+
214+
215+
## [1.0.1-Beta] - 2015-08-27
216+
### Added
217+
* Config file
218+
* Software state being added to boilerplate
219+
* Logging of ball location to a file
220+
* Easier way to change images path (config file)
221+
222+
223+
## [1.0.0-Beta] - 2015-08-27
224+
### Added
225+
* Various ball sizes that are pulled when radius is entered
226+
227+
### Removed
228+
* Old sky bitmap
229+
230+
### Notes
231+
* Moved to beta
232+
233+
234+
## [1.1.6-Alpha] - 2015-08-26
235+
### Fixed
236+
* Autoversioning stuff (hopefully)
237+
238+
239+
## [1.1.5-Alpha] - 2015-08-26
240+
### Changed
241+
* Reduced FPS from 120 to 80
242+
243+
244+
## [1.1.4-Alpha] - 2015-08-26
245+
### Fixed
246+
* Bug where loop wouldn't end properly because x/y were uint
247+
248+
### Added
249+
* Debug mode
250+
* Debug messages
251+
252+
### Changed
253+
* Sky.bmp to white picture
254+
* Upped default FPS from 60 to 120
255+
256+
### Removed
257+
* Message about the ball position
258+
259+
260+
## [1.1.3-Alpha] - 2015-08-25
261+
### Added
262+
* Drag mode can now be enabled by user
263+
264+
### Removed
265+
* Wait time message
266+
267+
268+
## [1.1.2-Alpha] - 2015-08-25
269+
### Fixed
270+
* Several bugs
271+
272+
273+
## [1.1.1-Alpha] - 2015-08-25
274+
### Added
275+
* Location Structure
276+
* Other structures to make things nicer
277+
* User now prompted for values.
278+
* Cannonball class
279+
280+
### Cleaned
281+
* main.cpp (only has main now)
282+
283+
### Changed
284+
* Icon.rc merged to boilerplate.rc
285+
286+
### Removed
287+
* Compile.bat (couldn't get it working)
288+
289+
290+
## [1.0.3-Alpha] - 2015-08-25
291+
### Fixed
292+
* Incorrect path format
293+
* Sky now loaded before ball
294+
* Bug with the location of the ball while updating
295+
* Ball position bug
296+
* Physics equation mistake
297+
298+
### Added
299+
* Tick Class
300+
* Console messages about where the program is at.
301+
* Getchar just before program closes
302+
303+
### Changed
304+
* Clean up is now done before error message
305+
* Drag is now off by default
306+
* Ball.bmp picture
307+
308+
309+
## [1.0.2-Alpha] - 2015-08-25
310+
### Added
311+
* Define of image path so people can change it easier
312+
313+
314+
## [1.0.1-Alpha] - 2015-08-25
315+
### Fixed
316+
* SDL Referencing
317+
318+
### Added
319+
* Version.h
320+
* Code Block Support
321+
* Boilerplate.rc
322+
* Skybox
323+
* Windows Class
324+
325+
### Changed
326+
* SDL Stuff to SDL2
327+
328+
329+
## [1.0.0-Alpha] - 2015-08-11
330+
### Notes
331+
* Inital

0 commit comments

Comments
 (0)