Changeset 515

Show
Ignore:
Timestamp:
04/13/08 12:24:58 (9 months ago)
Author:
LeoD
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src

    • Property svn:ignore set to
      .objs
      windefend.depend
      windefend.layout
      defend.map
  • trunk/src/defend/Loop.d

    r514 r515  
    3636            // Fibers are used so that the function can return to the main loop, 
    3737            // but the function's stack is still alive. Kind of like a closure. 
    38             auto fiber = new Fiber(func, 1024 * 100); 
     38            auto fiber = new Fiber(func, 1024 * 100); // Hopefully 100k are enough stack 
    3939             
    4040            auto memoryUsage = getMemoryUsage(); 
  • trunk/src/defend/objects/types/Sheep.d

    r490 r515  
    3838        return cast(ObjectTypeInfo)ti; 
    3939    }); 
    40      
    41 /+  typeRegister.addLoader("elephant", 
    42     { 
    43         auto ti = new UnitTypeInfo; 
    44          
    45         with(ti) 
    46         { 
    47             model = "data/models/elephant/low.obj"; 
    48             miniPic = "data/minipics/sheep.png"; 
    49             parentType = "unit"; 
    50             posOffset = vec3(0, 1, 0); 
    51             scale = vec3(1); 
    52             developmentSteps = 200; 
    53             properties[GameObject.Property.MaxLife] = 5000; 
    54             properties[Unit.Property.MovementSpeed] = 57; 
    55         } 
    56          
    57         return cast(ObjectTypeInfo)ti; 
    58     });+/ 
    5940}