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
(alias) useQuery<{ | |
id: number; | |
userId: number; | |
name: string; | |
description: string; | |
color: string; | |
icon: string; | |
deleted: boolean; | |
createdAt: Date; | |
updatedAt: Date; |
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 db from "@astrojs/db"; | |
import mdx from "@astrojs/mdx"; | |
import node from "@astrojs/node"; | |
import vue from "@astrojs/vue"; | |
import { defineConfig } from "astro/config"; | |
export default defineConfig({ | |
// base: new URL("./", import.meta.url).pathname, | |
integrations: [ | |
db(), |
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 MyGame.Graphics; | |
[Flags] | |
public enum SpriteFlip | |
{ | |
None = 0, | |
FlipVertically = 1, | |
FlipHorizontally = 2, | |
} |
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 System; | |
public abstract class SplitWindow | |
{ | |
private string _leftTitle; | |
private string _rightTitle; | |
private string _dockSpaceId; | |
private Action _drawLeft; | |
private Action _drawRight; | |
public string Title; |
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
#pragma warning disable CS8618 | |
using System.Runtime.InteropServices; | |
using ImGuiNET; | |
using MyGame.Graphics; | |
using SDL2; | |
namespace MyGame.TWImGui; | |
public enum ImGuiFont |
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 GunSmoker.Input; | |
public class InputBinds | |
{ | |
[CVar("p1_gp_index", "Player 1 controller index")] | |
public static int P1ControllerIndex = 0; | |
[CVar("p2_gp_index", "Player 2 controller index")] | |
public static int P2ControllerIndex = 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
name: Actions 😎 | |
on: | |
push: | |
branches: | |
- master | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} |