How wend4r/sourcesdk works
This repository is a Source SDK: C++ interfaces and runtime modules for building and integrating games with the Source engine, rather than a standalone game. The broad workflow is game or plugin code using SDK contracts to interact with engine services and domain systems such as entities, networking, and Counter-Strike bots. The tree and source index also show Steam/GC, matchmaking, sound, and foundational utility capabilities. The README is empty, and many modules are represented only by interfaces or index references, so the graph shows only documented or indexed dependencies.
Main entry points: interfaces.h Interface registry · platform.h Platform layer · tier1 SDK containers · vector.h Math vectors
Components 23
SDK Contracts
- Interface registry
public/interfaces/interfaces.h - Engine API
public/isource2engine.h - Engine launcher
common/IRunGameEngine.h - Matchmaking API
public/matchmaking - Sound API
public/engine/IEngineSound.h - Application system
public/appframework/iappsystem.h
Game Runtime
- Entity system
entity2 - Pulse context
entity2/entitypulsecallcontext.cpp - Bot manager
game/server/cstrike15/bot/bot_manager.h - Counter-Strike bots
game/server/cstrike15/bot/cs_bot_manager.h - Bot timers
game/server/cstrike15/bot/cs_bot_timers.h - Network messages
networksystem/networkmessages.cpp
Platform Services
- GC client
public/gcsdk/gcclient.h - Shared-object cache
public/gcsdk/gcclient_sharedobjectcache.h - Steam API
public/steam/steam_api_common.h - Remote storage
public/steam/isteamremotestorage.h
Core Foundation
- Platform layer
public/tier0/platform.h - Base types
public/tier0/basetypes.h - Debug utilities
public/tier0/dbg.h - Math vectors
public/mathlib/vector.h - SDK containers
public/tier1 - KeyValues3
public/tier1/keyvalues3.h
Other components
- Game code
Connections 21
- Game code → Interface registry: uses contracts
- Interface registry → Platform layer: includes
public/interfaces/interfaces.h - Engine API → Application system: extends
public/isource2engine.h - Engine API → Interface registry: uses interfaces
- Pulse context → KeyValues3: uses values
- Pulse context → Math vectors: uses vectors
entity2/entitypulsecallcontext.cpp - Counter-Strike bots → Bot manager: extends manager
game/server/cstrike15/bot/cs_bot_manager.h - Counter-Strike bots → Bot timers: uses timers
game/server/cstrike15/bot/cs_bot_manager.h - Bot manager → Bot timers: uses timers
game/server/cstrike15/bot/bot_manager.h - GC client → Shared-object cache: notifies cache
public/gcsdk/gcclient.h - GC client → Steam API: uses Steam
public/gcsdk/gcclient.h - Remote storage → Steam API: uses common API
public/steam/isteamremotestorage.h - Matchmaking API → Interface registry: uses interface base
- Sound API → Interface registry: uses interfaces
public/engine/IEngineSound.h - Platform layer → Base types: defines platform types
- Math vectors → Platform layer: uses platform layer
public/mathlib/vector.h - Math vectors → Base types: uses base types
public/mathlib/vector.h - SDK containers → Platform layer: uses platform layer
public/tier1/utlvector.h - SDK containers → Debug utilities: uses diagnostics
public/tier1/utlvector.h - SDK containers → Base types: uses base types
public/tier1/utllinkedlist.h - Application system → Interface registry: uses interface base
public/appframework/iappsystem.h