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
$ nm Sphinx.elf | grep @@GLIBC_ | sort -t@ -k3,3 | |
U abort@@GLIBC_2.0 | |
U abs@@GLIBC_2.0 | |
U acosf@@GLIBC_2.0 | |
U asinf@@GLIBC_2.0 | |
U __assert_fail@@GLIBC_2.0 | |
U atan2f@@GLIBC_2.0 | |
U atanf@@GLIBC_2.0 | |
U atol@@GLIBC_2.0 | |
U chdir@@GLIBC_2.0 |
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
int gButton | |
//*=============================================================================================== | |
//* WaitSay - Used in OnContext to wait until the current message has be dismissed by the user | |
//*=============================================================================================== | |
defproc WaitSay | |
int Said | |
Said = 0 | |
while Said = 0 |
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
03000000790000000600000010010000,NGS Phantom---LNX,a:b2,b:b3,x:b0,y:b1,back:b8,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b6,righttrigger:b7,platform:Linux, | |
03000000790000000600000007010000,NGS Phantom---MAC,a:b2,b:b3,x:b0,y:b1,back:b8,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b6,righttrigger:b7,platform:Mac OS X, | |
03000000790000000600000000000000,NGS Phantom---WIN,a:b2,b:b3,x:b0,y:b1,back:b8,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a4,lefttrigger:b6,righttrigger:b7,platform:Windows, |
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 3.0.2) | |
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6" CACHE STRING "Minimum OS X deployment version") # <- add this | |
set(CMAKE_OSX_ARCHITECTURES i386 x86_64 CACHE STRING "Minimum") # <- and this | |
PROJECT(OpenAL) | |
... | |
option(ALSOFT_EMBED_HRTF_DATA "Embed the HRTF data files (increases library footprint)" ON) # <- disabled by default |
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
//------------------------------------------------ | |
//--- 010 Editor v7.0.2 Binary Template | |
// | |
// File: XLS Shared String Table pseudo-parser | |
// Authors: Swyter | |
// Version: | |
// Purpose: | |
// Category: | |
// File Mask: | |
// ID Bytes: |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <link.h> | |
extern char _init, _end; | |
size_t base_addr, base_end, reloc; | |
void test() |
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
Lifesaver answer from a knowledgeable Hg master: | |
https://stackoverflow.com/questions/19215571/add-a-parent-to-the-original-changeset-in-mercurial | |
We have: | |
A---B---C---D---E---F | |
X---Y---Z | |
We want: |
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
// IRP information: 0x00, Direction: FDO -> PDO | |
// URB bus id: 3 | |
// Device address: 1 | |
// Endpoint: 0x01, Direction: OUT | |
// URB transfer type: URB_INTERRUPT (0x01) | |
// Packet Data Length: 7 | |
7-byte interrupt messages: | |
Leftover Capture Data: 51000000b60000 |
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
# S T A R W A R S C O N Q U E S T M O D U L E S Y S T E M | |
# / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | |
# By Taleworlds, HokieBT, MartinF and Swyter - Do not use/copy without permission | |
from header_common import * | |
from header_presentations import * | |
from header_mission_templates import * | |
from ID_meshes import * | |
from header_operations import * | |
from header_triggers import * |
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
[quote author=Khamukkamu link=action=profile;u=178899 date=1487510167] | |
Thanks for your reply. Yea, i'm afraid of touching AI cause it can do so much harm. | |
I have another unrelated question, it is more of a 'programming' type of question, cause i really feel like this could be done better/more elegantly: | |
Goal: Don't let the scout camp spawn on water, mountains, river. | |
[spoiler][code] | |
(assign, ":terrain_check", 0), # Check if spawned camp is not in weird terrain | |
(try_for_range, ":iterate", 0, 10), |