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
using UnityEngine; | |
using System.Collections; | |
public class MovingScriptNew : MonoBehaviour { | |
public float horizontalSpeed = 4; | |
public float verticalSpeed = 2; | |
private float verticalMovement; | |
private float playerHorizontalMovement; | |
private Rigidbody myRigidbody; |
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
using UnityEngine; | |
using System.Collections; | |
public class MovingScriptNew : MonoBehaviour { | |
public float horizontalSpeed = 4; | |
public float verticalSpeed = 2; | |
private float verticalMovement; | |
private float playerHorizontalMovement; | |
private Rigidbody myRigidbody; |
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
enum KeyPressSurfaces | |
{ | |
KEY_PRESS_SURFACE_DEFAULT, | |
KEY_PRESS_SURFACE_UP, | |
KEY_PRESS_SURFACE_DOWN, | |
KEY_PRESS_SURFACE_LEFT, | |
KEY_PRESS_SURFACE_RIGHT, | |
KEY_PRESS_SURFACE_TOTAL | |
}; | |
KEY_PRESS_SURFACE_DEFAULT = someValue |
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
#Originally created by AdrianV and can be found here: https://gist.github.com/AdrianV/5774141 | |
#Modified by me, hcorion to add sdl2 support and bring it up to speed with version 0.14.2 of Nim (nim-lang.org). | |
import math | |
import sequtils | |
import sdl2 | |
import times | |
const | |
width = 1280 |
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
import strutils | |
let vars = ["ACC", "BAK", "NIL"] | |
proc isNumber*(input: string): bool = | |
for i in 0..input.len-1: | |
if not input[i].isDigit: | |
return false | |
return true |
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
let spritePal* {.codegenDecl: "$# $# __attribute__((aligned(4)))".} : array[4, uint16] = | |
[(uint16)0x001E,0x7FFF,0x03E0,0x7C1F] |
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
cmake_minimum_required(VERSION 2.8.12) | |
# uncomment next line if you want to build with GDB stub | |
# add_definitions(-DWITH_GDB_DEBUGGER) | |
set(ASMJIT_STATIC TRUE) | |
if (NOT CMAKE_BUILD_TYPE) | |
message(STATUS "No build type selected, default to Release") | |
set(CMAKE_BUILD_TYPE "Release") |
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
diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt | |
index a2c2de58..a634d9e2 100644 | |
--- a/rpcs3/CMakeLists.txt | |
+++ b/rpcs3/CMakeLists.txt | |
@@ -2,10 +2,18 @@ cmake_minimum_required(VERSION 2.8.12) | |
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake_modules") | |
set(RES_FILES "") | |
-include(cotire) | |
+find_package(Qt5 REQUIRED COMPONENTS Widgets) |
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
Fixed 0 roots. | |
checking extents | |
Extent back ref already exists for 967000064 parent 0 root 2 | |
ERROR: add_tree_backref failed (extent items tree block): File exists | |
checksum verify failed on 967049216 found 0B40D9AC wanted 00003500 | |
checksum verify failed on 967049216 found 0B40D9AC wanted 00003500 | |
bytenr mismatch, want=967049216, have=889192478 | |
Ok we have overlapping extents that aren't completely covered by each other, this is going to require more careful thought. The extents are [966995968-16384] and [967000064-16384] | |
enabling repair mode | |
Checking filesystem on /dev/sdb2 |
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
[ 14%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/common/arcfind.cpp.o | |
/home/zion/.cache/yay/dolphin-emu-git/src/dolphin-emu/Source/Core/Common/x64CPUDetect.cpp:41:12: error: ambiguating new declaration of ‘u64 _xgetbv(u32)’ | |
static u64 _xgetbv(u32 index) | |
^~~~~~~ | |
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/include/x86intrin.h:74, | |
from /home/zion/.cache/yay/dolphin-emu-git/src/dolphin-emu/Source/Core/Common/Intrinsics.h:30, | |
from /home/zion/.cache/yay/dolphin-emu-git/src/dolphin-emu/Source/Core/Common/x64CPUDetect.cpp:10: | |
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/include/xsaveintrin.h:60:1: note: old declaration ‘long long int _xgetbv(unsigned int)’ | |
_xgetbv (unsigned int __A) | |
^~~~~~~ |
OlderNewer