This file contains 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
$("form").submit (evt) -> | |
form = $(this) | |
form.find("button .btn-danger").prop('disabled',true) | |
if ($('input[name=payment_method]:checked').val() == "credit_card" && $('input[name=credit_card_token]').val().length == 0) | |
evt.preventDefault() | |
$("#credit_card_details").removeClass("has-error") | |
name = $("#credit_card_details .credit_card_name").val().split(" ") | |
$("#credit_card_details .credit_card_first_name").val name.shift() | |
$("#credit_card_details .credit_card_last_name").val name.join(" ") |
This file contains 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
void Player::lookAtFromMouse() { | |
if (m_pCharacter == NULL) return; | |
//o-- Get Mouse Position | |
CEGUI::Vector2f absMouse = CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().getPosition(); | |
CEGUI::Vector2f relativeMouse = CEGUI::CoordConverter::screenToWindow( | |
*CEGUI::System::getSingleton().getDefaultGUIContext().getRootWindow(), | |
absMouse | |
); | |
This file contains 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
void Player::lookAtFromMouse() { | |
if (m_pCharacter == NULL) return; | |
//o-- Get Mouse Position | |
CEGUI::Vector2f absMouse = CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().getPosition(); | |
CEGUI::Vector2f relativeMouse = CEGUI::CoordConverter::screenToWindow( | |
*CEGUI::System::getSingleton().getDefaultGUIContext().getRootWindow(), | |
absMouse | |
); | |
This file contains 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
Build target UEUniversityEditor - Mac | |
ExternalBuildToolExecution UEUniversityEditor\ -\ Mac | |
cd /Users/Shared/UnrealEngine/4.0 | |
export ACTION= | |
export ALTERNATE_GROUP=staff | |
export ALTERNATE_MODE=u+w,go-w,a+rX | |
export ALTERNATE_OWNER=patricknegri | |
export ALWAYS_SEARCH_USER_PATHS=NO |
This file contains 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
function onUseChecked( pUser, iUsed ) | |
{ | |
var iDice1 = RandomNumber( 1, 6 ); | |
var iDice2 = RandomNumber( 1, 6 ); | |
var pName = pUser.name; | |
if( iUsed.container != null ) | |
pUser.EmoteMessage( pName+" rolls the dice and gets a "+iDice1+" and a "+iDice2+"." ); | |
else |
This file contains 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
FName ACharacter::CharacterMovementComponentName(TEXT("CharMoveComp")); | |
... | |
ACharacter::ACharacter(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { | |
... | |
CharacterMovement = PCIP.CreateDefaultSubobject<UCharacterMovementComponent>(this, ACharacter::Char...); | |
if (CharacterMovement) | |
{ | |
CharacterMovement->UpdatedComponent = CapsuleComponent; |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>iugu</title> | |
<!--[if lt IE 9]> | |
<script src="/compat/html5.js"></script> | |
<![endif]--> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" type="text/css" /> |
This file contains 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
Edit | |
Comment Lines 2419=>2422 | |
File: | |
2.69/scripts/addons/io_scene_fbx/export_fbx.py |
This file contains 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
FIPv4Endpoint myServerAddress; | |
FIPv4Endpoint::Parse( FString("23.92.18.101:50010"), &myServerAddress); | |
// FSocket* MySocket = FTcpSocketBuilder().AsNonBlocking().AsReusable().BoundToPort(MyServerPort).Build(); | |
FSocket* MySocket = FTcpSocketBuilder().AsNonBlocking().AsReusable().Build(); | |
MySocket->Connect( myServerAddress.ToInternetAddr() ); | |
This file contains 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
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. | |
#pragma once | |
#include "ModuleManager.h" | |
/** | |
* The public interface to this module | |
*/ |
OlderNewer