Skip to content

Instantly share code, notes, and snippets.

View elix22's full-sized avatar
🇮🇱
I stand with Israel

Eli Aloni elix22

🇮🇱
I stand with Israel
View GitHub Profile
@elix22
elix22 / NakamaClient.cs
Created June 22, 2021 14:23
Nakama client , custom certificate validation of self signed server certificate
using Urho;
using System;
using System.Threading.Tasks;
using Nakama;
namespace NakamaNetworking
{
public class NakamaClient
{
@elix22
elix22 / Dog.cs
Created November 1, 2020 17:12 — forked from zwcloud/Dog.cs
An example on embedding Mono runtime in C/C++.
using System;
public class Dog
{
static public void Type()
{
Console.WriteLine("a Dog!");
}
public void Bark()
{
@elix22
elix22 / UIOption.cpp
Created April 22, 2020 06:09 — forked from PredatorMF/UIOption.cpp
Urho3D UIOption
#include "ui_option.h"
#include <Urho3D/Core/Context.h>
#include <Urho3D/Resource/ResourceCache.h>
#include <Urho3D/UI/UI.h>
#include <Urho3D/UI/Text.h>
#include <Urho3D/UI/UIEvents.h>
#include <Urho3D/Input/InputEvents.h>
namespace Urho3D {
@elix22
elix22 / asPEEK.cpp
Created April 9, 2020 05:26 — forked from JSandusky/asPEEK.cpp
asPEEK debugger: add `friend class asPEEK` as needed for access to `Script`' and `ScriptFile` internals
/*
Copyright (c) 2012 Muhammed Ikbal Akpaca
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
/*
The MIT License (MIT)
Copyright (c) 2016 Yehonatan Ballas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vulkan/vulkan.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_Vulkan.h>
typedef struct {
SDL_Window *SDLWindow;
SDL_Renderer *SDLRenderer;
@elix22
elix22 / sdl-metal-example.m
Created July 10, 2018 07:16 — forked from slime73/sdl-metal-example.m
SDL + Metal example
/**
* This software is in the public domain. Where that dedication is not recognized,
* you are granted a perpetual, irrevokable license to copy and modify this file
* as you see fit.
*
* Requires SDL 2.0.4.
* Devices that do not support Metal are not handled currently.
**/
#import <UIKit/UIKit.h>
@elix22
elix22 / ImGuiBindings.cpp
Created January 24, 2018 14:12 — forked from JSandusky/ImGuiBindings.cpp
Urho3D DearImGui
#include "../Precompiled.h"
#include "../AngelScript/Addons.h"
#include "../AngelScript/Script.h"
#include "../Math/Color.h"
#include "../Math/Vector2.h"
#include "../Math/Vector3.h"
#include "../Math/Vector4.h"
#include <AngelScript\angelscript.h>
@elix22
elix22 / UrhoExporter.cs
Created June 21, 2017 23:52 — forked from gleblebedev/UrhoExporter.cs
Unity to Urho3D scene convertor
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.SceneManagement;
@elix22
elix22 / MultiLineEdit.cpp
Created March 30, 2017 02:54 — forked from danhambleton/MultiLineEdit.cpp
Simple multiple line editor for Urho.
//
// Copyright (c) 2008-2015 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//