A few FIXME flags for easy grepping
authornemo
Tue, 02 Jun 2009 18:59:13 +0000
changeset 2145 fa43619eb3e7
parent 2144 c76a2f7bd452
child 2146 f70cd51704c1
A few FIXME flags for easy grepping
hedgewars/hwengine.dpr
hedgewars/uAmmos.pas
hedgewars/uGears.pas
hedgewars/uStore.pas
--- a/hedgewars/hwengine.dpr	Tue Jun 02 18:43:00 2009 +0000
+++ b/hedgewars/hwengine.dpr	Tue Jun 02 18:59:13 2009 +0000
@@ -416,7 +416,7 @@
 begin
 WriteLnToConsole('Hedgewars ' + cVersionString + ' engine');
 GetParams;
-// hack in font with support for CJK
+// FIXME -  hack in font with support for CJK
 if (cLocaleFName = 'zh_CN.txt') or (cLocaleFName = 'zh_TW.txt') or (cLocaleFName = 'ja.txt') then
     Fontz:= FontzCJK;
 
--- a/hedgewars/uAmmos.pas	Tue Jun 02 18:43:00 2009 +0000
+++ b/hedgewars/uAmmos.pas	Tue Jun 02 18:59:13 2009 +0000
@@ -65,7 +65,7 @@
 begin
 TryDo(byte(s[0]) = byte(ord(High(TAmmoType)) + 1), 'Invalid ammo scheme (incompatible frontend)', true);
 
-// TEMPORARY hardcoded check on shoppa pending creation of probability editor
+// FIXME - TEMPORARY hardcoded check on shoppa pending creation of probability editor
 substr:= Copy(s,1,15);
 if (substr = '000000990000009') or 
    (substr = '000000990000000') then
@@ -93,7 +93,7 @@
         cnt:= 0;
         Ammoz[a].Probability:= 0 
         end
-    else if shoppa then      // TEMPORARY REMOVE WHEN CRATE PROBABILITY IS ADDED
+    else if shoppa then      // FIXME - TEMPORARY REMOVE WHEN CRATE PROBABILITY IS ADDED
         if cnt <> AMMO_INFINITE then
             begin
             if a = amGirder then
--- a/hedgewars/uGears.pas	Tue Jun 02 18:43:00 2009 +0000
+++ b/hedgewars/uGears.pas	Tue Jun 02 18:59:13 2009 +0000
@@ -1709,7 +1709,7 @@
 
 FollowGear:= nil;
 
-if shoppa then  // TEMPORARY  REMOVE WHEN CRATE PROBABILITY IS ADDED
+if shoppa then  // FIXME -  TEMPORARY  REMOVE WHEN CRATE PROBABILITY IS ADDED
     t:= 7
 else
     t:= getrandom(20);
--- a/hedgewars/uStore.pas	Tue Jun 02 18:43:00 2009 +0000
+++ b/hedgewars/uStore.pas	Tue Jun 02 18:59:13 2009 +0000
@@ -273,7 +273,8 @@
 AddProgress;
 for ii:= Low(TSprite) to High(TSprite) do
 	with SpritesData[ii] do
-        if (not cReducedQuality) or 
+        // FIXME - add a sprite attribute
+        if (not cReducedQuality) or
            ((ii <> sprSky) and (ii <> sprHorizont) and (ii <> sprFlake)) then
 			begin
 			if AltPath = ptNone then