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
<?xml version="1.0"?> | |
<storage> | |
<version>1</version> | |
<image> | |
<name>stellarisheader</name> | |
<extension>jpg</extension> | |
<path>https://www.wasd.pt/wp-content/uploads/2016/05/</path> | |
<version>1</version> | |
</image> | |
<video> |
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
public class GameObjectManager : MonoBehaviour, ISerializationCallbackReceiver | |
{ | |
private static GameObjectManager _instance; | |
public static GameObjectManager Instance { get { return _instance; } } | |
public List<GameObjectList> gameObjects; //public list so it can be accessed in inspector | |
private Dictionary<GameObject, Texture2D> gameObjectDictionary; //pricate list for use |
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
namespace Spline_Engine.Splines | |
{ | |
class NURBS : Interfaces.SplineInterface | |
{ | |
//step size for drawing | |
private double increment = 0.01; | |
private int degree = 1; | |
public void Draw(Canvas panel, List<Vector3> points, Guid uid) | |
{ |
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
namespace IngameScript | |
{ | |
partial class Program : MyGridProgram | |
{ | |
private static string INGOTS = "ingots"; | |
private static string COMPONENTS = "components"; | |
private static string INFORMATION_PANEL = "storage_information"; | |
private static string TRASH_REMOVEL = "Trash"; | |
private static string typeId_Ingots = "MyObjectBuilder_Ingot"; |
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 Sandbox.Game.EntityComponents; | |
using Sandbox.ModAPI.Ingame; | |
using Sandbox.ModAPI.Interfaces; | |
using SpaceEngineers.Game.ModAPI.Ingame; | |
using System.Collections.Generic; | |
using System.Collections; | |
using System.Linq; | |
using System.Text; | |
using System; | |
using VRage.Collections; |
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
short * sendrequest_1_svc(param *para, struct svc_req *req){ | |
char* req_addr = inet_ntoa(req->rq_xprt->xp_raddr.sin_addr); | |
l_sub* ptr = sub_list; | |
while(ptr != NULL){ | |
if(strcmp(ptr.ip,req_addr)){ | |
if(check_session(ptr,para)!=1){ | |
response = INVALID_SESSION; | |
return &response; | |
} |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <rpc/rpc.h> | |
#include "pub_sub.h" | |
int main() | |
{ | |
CLIENT *cl; | |
char topic[TOPLEN]; |
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
@b0time = 120 | |
@b0cost = 30 | |
@b0effect = 1 | |
@b0upkeep = 0.5 | |
@b1time = 210 | |
@b1cost = 60 | |
@b1effect = 2 | |
@b1upkeep = 1 |
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
/* | |
* File: myls.h | |
* Author: dennis | |
* | |
* Created on December 16, 2017, 3:44 PM | |
*/ | |
#ifndef MYLS_H | |
#define MYLS_H |
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
/* | |
* File: mythread.h | |
* Author: dennis | |
* | |
* Created on November 29, 2017, 2:18 PM | |
*/ | |
#ifndef MYTHREAD_H | |
#define MYTHREAD_H |
NewerOlder