Table of Contents

Namespace PopcorningGuineaPig.Engine.Services

Classes

AppliedGraphics

Last values ApplySettings(ISettings, Game) actually pushed live. Brightness is drawn every frame from Game before EndDrawing.

AssetRegistry
AudioEngine

Singleton that owns the OwnAudioSharp lifecycle and the single AudioMixer. All audio playback goes through this one instance.

DiscordService
FontCodepoints

Codepoints baked into a Raylib font atlas. The set is the characters the game actually draws (localization strings, labels, typed text) plus ASCII, so a locale font does not carry every CJK and Hangul codepoint.

InputService

Concrete implementation of the input service. Manages input contexts, bindings, and command execution through a command pattern system.

LocaleFont

Locale font with the CJK atlas AssetRegistry already built. LoadFont(string) packs ASCII only, so Hangul, kana, and Han draw as '?'.

MockP2PNetworkingService
RenderTexturePool

Bounded pool of Raylib_cs.RenderTexture2D instances keyed by (width, height, format). Returning a render texture parks it in the pool (up to the per-key retention bound) so the next Acquire(int, int) with the same key reuses the GPU handle instead of paying the Raylib.LoadRenderTexture + Raylib.UnloadRenderTexture churn.

Settings
SettingsService
SoundPlayer
SteamP2PNetworkingService
TilemapRenderer

Service for rendering tilemaps using Raylib-cs. Provides efficient tilemap rendering with layer support and view culling.

Structs

AssetCounts

Snapshot of how many assets are currently registered in each category. Returned by GetAssetCounts() for diagnostic use.

AudioOutputDeviceOption

One playback device for settings UI / persistence.

PeerLink

Interfaces

IAssetRegistry
IDiscordService
IInputService

Service interface for handling input through a command pattern system. Supports context-based input management, key binding, and runtime configuration.

IP2PNetworkingService
ISettings
ISettingsService
ISoundPlayer

Enums

AssetType