eb0a6f74e6
The integer arithmetic of #if/#elif that a pack's .properties files and, later, its GLSL preprocessor share: defined X and defined(X), decimal, hexadecimal and octal literals, the C operators with C precedence, macros expanded to their values (a macro is not expanded inside its own expansion), and an identifier that is not a macro read as 0. A bad condition says why. The standard macros that need no renderer: MC_VERSION, from the pinned version by the documented rule (26.3 is 260300), and the system's MC_OS_*. Nothing uses it yet: players see no change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
415 B
TOML
15 lines
415 B
TOML
[package]
|
|
name = "horizon-shaders"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version = "1.85"
|
|
description = "Shader packs (the shaders/ folder format): reading packs, their .properties and .lang files, and later their GLSL"
|
|
|
|
[dependencies]
|
|
horizon-core = { path = "../horizon-core" }
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
|
|
[lints]
|
|
workspace = true
|