From 1fcf2f54c851dde50c1cc7ab0308b2112e300cf7 Mon Sep 17 00:00:00 2001 From: TimePath Date: Thu, 10 Sep 2015 11:30:24 +1000 Subject: [PATCH] Prefer lowercase filenames --- qcsrc/lib/_all.inc | 38 +++++++++++----------- qcsrc/lib/{Accumulate.qh => accumulate.qh} | 0 qcsrc/lib/{Bool.qh => bool.qh} | 0 qcsrc/lib/{Counting.qh => counting.qh} | 2 +- qcsrc/lib/{Cvar.qh => cvar.qh} | 2 +- qcsrc/lib/{Defer.qh => defer.qh} | 2 +- qcsrc/lib/{Draw.qh => draw.qh} | 4 +-- qcsrc/lib/{I18N.qh => i18n.qh} | 2 ++ qcsrc/lib/{Lazy.qh => lazy.qh} | 2 +- qcsrc/lib/{Log.qh => log.qh} | 0 qcsrc/lib/{Math.qh => math.qh} | 0 qcsrc/lib/{Nil.qh => nil.qh} | 0 qcsrc/lib/{OO.qh => oo.qh} | 4 +-- qcsrc/lib/{Player.qh => player.qh} | 2 +- qcsrc/lib/{Progname.qh => progname.qh} | 0 qcsrc/lib/{Registry.qh => registry.qh} | 2 +- qcsrc/lib/{Static.qh => static.qh} | 0 qcsrc/lib/{String.qh => string.qh} | 0 qcsrc/lib/{Struct.qh => struct.qh} | 0 qcsrc/lib/{Vector.qh => vector.qh} | 0 20 files changed, 31 insertions(+), 29 deletions(-) rename qcsrc/lib/{Accumulate.qh => accumulate.qh} (100%) rename qcsrc/lib/{Bool.qh => bool.qh} (100%) rename qcsrc/lib/{Counting.qh => counting.qh} (99%) rename qcsrc/lib/{Cvar.qh => cvar.qh} (97%) rename qcsrc/lib/{Defer.qh => defer.qh} (97%) rename qcsrc/lib/{Draw.qh => draw.qh} (99%) rename qcsrc/lib/{I18N.qh => i18n.qh} (96%) rename qcsrc/lib/{Lazy.qh => lazy.qh} (95%) rename qcsrc/lib/{Log.qh => log.qh} (100%) rename qcsrc/lib/{Math.qh => math.qh} (100%) rename qcsrc/lib/{Nil.qh => nil.qh} (100%) rename qcsrc/lib/{OO.qh => oo.qh} (99%) rename qcsrc/lib/{Player.qh => player.qh} (96%) rename qcsrc/lib/{Progname.qh => progname.qh} (100%) rename qcsrc/lib/{Registry.qh => registry.qh} (98%) rename qcsrc/lib/{Static.qh => static.qh} (100%) rename qcsrc/lib/{String.qh => string.qh} (100%) rename qcsrc/lib/{Struct.qh => struct.qh} (100%) rename qcsrc/lib/{Vector.qh => vector.qh} (100%) diff --git a/qcsrc/lib/_all.inc b/qcsrc/lib/_all.inc index 1b7e61e9a..aa541bd69 100644 --- a/qcsrc/lib/_all.inc +++ b/qcsrc/lib/_all.inc @@ -1,28 +1,28 @@ -#include "Bool.qh" +#include "bool.qh" #include "../warpzonelib/mathlib.qc" -#include "Accumulate.qh" -#include "Counting.qh" -#include "Cvar.qh" -#include "Defer.qh" -#include "Draw.qh" -#include "I18N.qh" -#include "Lazy.qh" -#include "Log.qh" -#include "Math.qh" -#include "Nil.qh" +#include "accumulate.qh" +#include "counting.qh" +#include "cvar.qh" +#include "defer.qh" +#include "draw.qh" +#include "i18n.qh" +#include "lazy.qh" +#include "log.qh" +#include "math.qh" +#include "nil.qh" #include "noise.qc" -#include "OO.qh" +#include "oo.qh" #include "p2mathlib.qc" -#include "Player.qh" +#include "player.qh" #include "prandom.qc" -#include "Progname.qh" -#include "Registry.qh" +#include "progname.qh" +#include "registry.qh" #include "sortlist.qc" -#include "Static.qh" -#include "String.qh" -#include "Struct.qh" +#include "static.qh" +#include "string.qh" +#include "struct.qh" #include "test.qc" #include "urllib.qc" -#include "Vector.qh" +#include "vector.qh" diff --git a/qcsrc/lib/Accumulate.qh b/qcsrc/lib/accumulate.qh similarity index 100% rename from qcsrc/lib/Accumulate.qh rename to qcsrc/lib/accumulate.qh diff --git a/qcsrc/lib/Bool.qh b/qcsrc/lib/bool.qh similarity index 100% rename from qcsrc/lib/Bool.qh rename to qcsrc/lib/bool.qh diff --git a/qcsrc/lib/Counting.qh b/qcsrc/lib/counting.qh similarity index 99% rename from qcsrc/lib/Counting.qh rename to qcsrc/lib/counting.qh index cd0604bf5..81103a51c 100644 --- a/qcsrc/lib/Counting.qh +++ b/qcsrc/lib/counting.qh @@ -1,7 +1,7 @@ #ifndef COUNTING_H #define COUNTING_H -#include "I18N.qh" +#include "i18n.qh" // =============================================== // Time processing and counting functions/macros diff --git a/qcsrc/lib/Cvar.qh b/qcsrc/lib/cvar.qh similarity index 97% rename from qcsrc/lib/Cvar.qh rename to qcsrc/lib/cvar.qh index b2093b13e..1da1f276d 100644 --- a/qcsrc/lib/Cvar.qh +++ b/qcsrc/lib/cvar.qh @@ -1,7 +1,7 @@ #ifndef CVAR_H #define CVAR_H -#include "Static.qh" +#include "static.qh" void RegisterCvars(void(string name, string desc, bool archive, string file) f) { } diff --git a/qcsrc/lib/Defer.qh b/qcsrc/lib/defer.qh similarity index 97% rename from qcsrc/lib/Defer.qh rename to qcsrc/lib/defer.qh index ca626dd7b..2a1361116 100644 --- a/qcsrc/lib/Defer.qh +++ b/qcsrc/lib/defer.qh @@ -1,7 +1,7 @@ #ifndef MENUQC #ifndef DEFER_H #define DEFER_H -#include "OO.qh" +#include "oo.qh" entityclass(Defer); class(Defer) .entity owner; diff --git a/qcsrc/lib/Draw.qh b/qcsrc/lib/draw.qh similarity index 99% rename from qcsrc/lib/Draw.qh rename to qcsrc/lib/draw.qh index 4ca536956..90abcb2d3 100644 --- a/qcsrc/lib/Draw.qh +++ b/qcsrc/lib/draw.qh @@ -2,8 +2,8 @@ #ifndef DRAW_H #define DRAW_H -#include "I18N.qh" -#include "Vector.qh" +#include "i18n.qh" +#include "vector.qh" #include "../client/defs.qh" diff --git a/qcsrc/lib/I18N.qh b/qcsrc/lib/i18n.qh similarity index 96% rename from qcsrc/lib/I18N.qh rename to qcsrc/lib/i18n.qh index ab9aa7d20..87c41cda5 100644 --- a/qcsrc/lib/I18N.qh +++ b/qcsrc/lib/i18n.qh @@ -1,6 +1,8 @@ #ifndef I18N_H #define I18N_H +#include "log.qh" + // translation helpers string prvm_language; diff --git a/qcsrc/lib/Lazy.qh b/qcsrc/lib/lazy.qh similarity index 95% rename from qcsrc/lib/Lazy.qh rename to qcsrc/lib/lazy.qh index fcf065189..f632b38c3 100644 --- a/qcsrc/lib/Lazy.qh +++ b/qcsrc/lib/lazy.qh @@ -1,7 +1,7 @@ #ifndef LAZY_H #define LAZY_H -#include "OO.qh" +#include "oo.qh" CLASS(Lazy, Object) ATTRIB(Lazy, m_get, entity(), func_null); diff --git a/qcsrc/lib/Log.qh b/qcsrc/lib/log.qh similarity index 100% rename from qcsrc/lib/Log.qh rename to qcsrc/lib/log.qh diff --git a/qcsrc/lib/Math.qh b/qcsrc/lib/math.qh similarity index 100% rename from qcsrc/lib/Math.qh rename to qcsrc/lib/math.qh diff --git a/qcsrc/lib/Nil.qh b/qcsrc/lib/nil.qh similarity index 100% rename from qcsrc/lib/Nil.qh rename to qcsrc/lib/nil.qh diff --git a/qcsrc/lib/OO.qh b/qcsrc/lib/oo.qh similarity index 99% rename from qcsrc/lib/OO.qh rename to qcsrc/lib/oo.qh index 96978baf7..88c0ef8a4 100644 --- a/qcsrc/lib/OO.qh +++ b/qcsrc/lib/oo.qh @@ -1,8 +1,8 @@ #ifndef OO_H #define OO_H -#include "Nil.qh" -#include "Registry.qh" +#include "nil.qh" +#include "registry.qh" #ifdef MENUQC #define NULL (null_entity) diff --git a/qcsrc/lib/Player.qh b/qcsrc/lib/player.qh similarity index 96% rename from qcsrc/lib/Player.qh rename to qcsrc/lib/player.qh index 07034a066..f89a3b07a 100644 --- a/qcsrc/lib/Player.qh +++ b/qcsrc/lib/player.qh @@ -2,7 +2,7 @@ #ifndef PLAYER_H #define PLAYER_H -#include "String.qh" +#include "string.qh" #include "../client/main.qh" #include "../common/teams.qh" diff --git a/qcsrc/lib/Progname.qh b/qcsrc/lib/progname.qh similarity index 100% rename from qcsrc/lib/Progname.qh rename to qcsrc/lib/progname.qh diff --git a/qcsrc/lib/Registry.qh b/qcsrc/lib/registry.qh similarity index 98% rename from qcsrc/lib/Registry.qh rename to qcsrc/lib/registry.qh index ca0beae9d..d9317e8cb 100644 --- a/qcsrc/lib/Registry.qh +++ b/qcsrc/lib/registry.qh @@ -1,7 +1,7 @@ #ifndef REGISTRY_H #define REGISTRY_H -#include "OO.qh" +#include "oo.qh" #define REGISTER_INIT(ns, id) [[accumulate]] void Register_##ns##_##id##_init(entity this) #define REGISTER_INIT_POST(ns, id) [[accumulate]] void Register_##ns##_##id##_init_post(entity this) diff --git a/qcsrc/lib/Static.qh b/qcsrc/lib/static.qh similarity index 100% rename from qcsrc/lib/Static.qh rename to qcsrc/lib/static.qh diff --git a/qcsrc/lib/String.qh b/qcsrc/lib/string.qh similarity index 100% rename from qcsrc/lib/String.qh rename to qcsrc/lib/string.qh diff --git a/qcsrc/lib/Struct.qh b/qcsrc/lib/struct.qh similarity index 100% rename from qcsrc/lib/Struct.qh rename to qcsrc/lib/struct.qh diff --git a/qcsrc/lib/Vector.qh b/qcsrc/lib/vector.qh similarity index 100% rename from qcsrc/lib/Vector.qh rename to qcsrc/lib/vector.qh -- 2.39.2