~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/engine/eCoord.h

  • Committer: Daniel Lee Harple
  • Date: 2011-05-24 02:58:47 UTC
  • mto: (563.48.4 armagetronad)
  • mto: This revision was merged to the branch mainline in revision 731.
  • Revision ID: leeharple@gmail.com-20110524025847-leph6sfotflvmxkg
Fix pedantic warnings when using clang++. Mostly extra semi-colons. Also some void functions returning something, and bools used in place of NULL

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
class eCoord{
35
35
public:
36
36
    REAL x,y;
37
 
    explicit eCoord(REAL X=0,REAL Y=0):x(X),y(Y){};
 
37
    explicit eCoord(REAL X=0,REAL Y=0):x(X),y(Y){}
38
38
 
39
39
    // Calculations:
40
40
    inline bool operator==(const eCoord &a) const;