Commit: 83aacc042b4b51ec67643dffcb3956f2fdaa79db

Author: Giel van Schijndel <[email protected]>
Date:   Sat Oct  9 16:54:09 2010 +0200

Get rid of unused constant TRIG_DEGREES

Signed-off-by: Giel van Schijndel <[email protected]>

 lib/framework/trig.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/lib/framework/trig.h b/lib/framework/trig.h
index a913e18..7233b5b 100644
--- a/lib/framework/trig.h
+++ b/lib/framework/trig.h
@@ -34,9 +34,6 @@ extern "C"
 {
 #endif //__cplusplus
 
-/* The number of units around a full circle */
-#define TRIG_DEGREES   360
-
 /* Initialise the Trig tables */
 extern bool trigInitialise(void);
 


-------------------------

Commit: a8fdd2c06838ff5de5ac6d135aac5793277cca6e

Author: Giel van Schijndel <[email protected]>
Date:   Sat Oct  9 17:30:53 2010 +0200

trig: declare all trigonometric functions as pure

Mark the prototypes of all (fixed point) trigonometric functions as
pure.  This declares that these functions don't have any side-effects.

Signed-off-by: Giel van Schijndel <[email protected]>

 lib/framework/trig.h |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)


-------------------------

Commit: d6c7690f02922708af5a36c7f9ad3d0b0d0c8458

Author: Giel van Schijndel <[email protected]>
Date:   Sat Oct  9 17:33:45 2010 +0200

trig: don't #include "math_ext.h" as trig.h doens't use it

Signed-off-by: Giel van Schijndel <[email protected]>

 lib/framework/trig.h |    1 -
 src/difficulty.c     |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)


-------------------------


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to