[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src math.hxx,1.6,1.7
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src math.hxx,1.6,1.7 |
Date: |
19 Feb 2003 17:17:31 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv17390/src
Modified Files:
math.hxx
Log Message:
- added intesity to snow generator
- misc other stuff
Index: math.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/math.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- math.hxx 19 Feb 2003 09:50:36 -0000 1.6
+++ math.hxx 19 Feb 2003 17:16:59 -0000 1.7
@@ -63,6 +63,12 @@
return double(rand()) / (RAND_MAX+1.0);
}
+inline
+bool rand_bool()
+{
+ return rand()%2 == 0;
+}
+
} // namespace Math
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src math.hxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/data/levels/playable desert4.xml,1.1,1.2 desert6-grumbel.xml,1.1,1.2 snow10-grumbel.xml,1.1,1.2 snow9-grumbel.xml,1.1,1.2
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs liquid_obj.cxx,1.4,1.5 liquid_obj.hxx,1.4,1.5 surface_background_obj.cxx,1.7,1.8
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/data/levels/playable desert4.xml,1.1,1.2 desert6-grumbel.xml,1.1,1.2 snow10-grumbel.xml,1.1,1.2 snow9-grumbel.xml,1.1,1.2
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs liquid_obj.cxx,1.4,1.5 liquid_obj.hxx,1.4,1.5 surface_background_obj.cxx,1.7,1.8
- Index(es):