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
routes.Add(new ServiceRoute("api/v1/test", | |
new NinjectServiceHostFactory(), typeof(TestService))); |
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 System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using PDFBuilder; | |
using iTextSharp.text; | |
namespace SweetApp.Web | |
{ |
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
string cssUrl = Server.MapPath("~/css/contract.css"); | |
return new PdfResult("Contract.pdf", | |
myContractText, | |
new string[] { cssUrl }); |
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 VicGame extends FrameworkGame; | |
defaultproperties | |
{ | |
PlayerControllerClass=class'VicGame.VicPlayerController' | |
DefaultPawnClass=class'VicGame.VicPawn' | |
HUDType=class'VicGame.VicHUD' | |
bDelayedStart=false | |
} |
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 VicHUD extends MobileHUD; | |
defaultproperties | |
{ | |
} |
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 |
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 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
[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
[UnrealEd.EditorEngine] | |
+EditPackages=UTGame | |
+EditPackages=UTGameContent | |
+EditPackages=VicGame |