This file contains hidden or 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 <aiv_opengl.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define STB_IMAGE_IMPLEMENTATION | |
| #include <stb_image.h> | |
| aiv_opengl_context_t context; | |
| GLuint aiv_compile_shader(char *, char *); |
This file contains hidden or 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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.IO; | |
| namespace HttpConcurrentServer |
This file contains hidden or 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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.IO; | |
| namespace HttpConcurrentServer |
This file contains hidden or 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 UnityEngine.TestTools; | |
| using NUnit.Framework; | |
| using System.Collections; | |
| [Category("Components")] | |
| public class PlayerGoesUpTest { | |
| GameObject newGameObject; |
This file contains hidden or 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 <thread> | |
| #include <mutex> | |
| #include <iostream> | |
| #include <list> | |
| #include <condition_variable> | |
| std::mutex mutex; | |
| std::condition_variable cond_var; | |
| thread_local int foo; |
This file contains hidden or 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
| #define _CRT_SECURE_NO_WARNINGS | |
| #include <string> | |
| #include <iostream> | |
| #include <steam_api.h> | |
| class FollowerRetriever | |
| { | |
| public: | |
| void GetFollowersCount() | |
| { |
This file contains hidden or 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
| #define _CRT_SECURE_NO_WARNINGS | |
| #include <string> | |
| #include <iostream> | |
| #include <steam_api.h> | |
| class FollowerRetriever | |
| { | |
| public: | |
| void GetFollowersCount() | |
| { |
This file contains hidden or 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
| System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Steamworks; | |
| using Aiv.Fast2D; | |
| namespace SteamIntegration | |
| { |
This file contains hidden or 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
| SteamAPICall_t asyncCall = SteamFriends.JoinClanChatRoom(CSteamID.Nil); | |
| CallResult<JoinClanChatRoomCompletionResult_t> joinCallback = CallResult<JoinClanChatRoomCompletionResult_t>.Create( | |
| (callback, ioBool) => | |
| { | |
| Debug.Log("clan joined"); | |
| } | |
| ); | |
| joinCallback.Set(asyncCall); |
This file contains hidden or 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 <iostream> | |
| #include <string> | |
| #include <PxPhysicsAPI.h> | |
| using namespace physx; | |
| int main(int argc, char** argv) | |
| { | |
| PxDefaultAllocator allocator; | |
| PxDefaultErrorCallback error_callback; |