This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CSS Reset | |
@import "reset.less"; | |
// Core variables and mixins | |
@import "variables.less"; | |
@import "mixins.less"; | |
// Grid system and page structure | |
@import "scaffolding.less"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Nuvis; | |
public class MyNewWorker : WorkerBase | |
{ | |
public override void Execute() | |
{ | |
// you can use softStop to see if a | |
// stop command was passed to the worker | |
// signaling that it needs to shutdown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Nuvis; | |
using Nuvis.Mongo; | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
MyWorker worker = new MyWorker(new MongoWorkerRepository(), | |
new MongoWorkerCommandRepository()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RequiredIfAttribute : ValidationAttribute, IClientValidatable | |
{ | |
private RequiredAttribute _innerAttribute = new RequiredAttribute(); | |
public string DependentProperty { get; set; } | |
public object TargetValue { get; set; } | |
public RequiredIfAttribute(string dependentProperty, object targetValue) | |
{ | |
this.DependentProperty = dependentProperty; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<validation validateIntegratedModeConfiguration="false" /> | |
<modules runAllManagedModulesForAllRequests="true" /> | |
<staticContent> | |
<mimeMap fileExtension=".woff" | |
mimeType="application/x-font-woff" /> | |
</staticContent> | |
</system.webServer> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[UnrealEd.EditorEngine] | |
+EditPackages=UTGame | |
+EditPackages=UTGameContent | |
+EditPackages=VicGame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Engine.GameInfo] | |
DefaultGame=VicGame.VicGame | |
DefaultServerGame=VicGame.VicGame | |
PlayerControllerClassName=VicGame.VicPlayerController | |
GameDifficulty=+1.0 | |
MaxPlayers=32 | |
DefaultGameType="VicGame.VicGame" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VicPlayerCamera extends Camera; | |
var Vector CamOffset; | |
var float CameraZOffset; | |
var float CameraScale, CurrentCameraScale; /** multiplier to default camera distance */ | |
var float CameraScaleMin, CameraScaleMax; | |
function UpdateViewTarget(out TViewTarget OutVT, float DeltaTime) | |
{ | |
local vector HitLocation, HitNormal; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VicPlayerController extends GamePlayerController; | |
defaultproperties | |
{ | |
CameraClass=class'VicGame.VicPlayerCamera' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VicPawn extends Pawn; | |
var DynamicLightEnvironmentComponent LightEnvironment; | |
defaultproperties | |
{ | |
WalkingPct=+0.4 | |
CrouchedPct=+0.4 | |
BaseEyeHeight=38.0 | |
EyeHeight=38.0 |