Changeset 515
- Timestamp:
- 04/13/08 12:24:58 (9 months ago)
- Files:
-
- trunk/run/data/models/elephant (deleted)
- trunk/run/data/textures/blood.bmp (added)
- trunk/run/debugServer.bat (added)
- trunk/src (modified) (1 prop)
- trunk/src/defend/Loop.d (modified) (1 diff)
- trunk/src/defend/MiniMap.d (added)
- trunk/src/defend/objects/types/Sheep.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src
- Property svn:ignore set to
.objs
windefend.depend
windefend.layout
defend.map
- Property svn:ignore set to
trunk/src/defend/Loop.d
r514 r515 36 36 // Fibers are used so that the function can return to the main loop, 37 37 // 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 39 39 40 40 auto memoryUsage = getMemoryUsage(); trunk/src/defend/objects/types/Sheep.d
r490 r515 38 38 return cast(ObjectTypeInfo)ti; 39 39 }); 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 });+/59 40 }
