diff --git a/packages/crosshairs/cube_outline.png b/packages/crosshairs/cube_outline.png new file mode 100644 index 0000000000..7ff69dc837 Binary files /dev/null and b/packages/crosshairs/cube_outline.png differ diff --git a/packages/crosshairs/default_outline.png b/packages/crosshairs/default_outline.png new file mode 100644 index 0000000000..d567adc922 Binary files /dev/null and b/packages/crosshairs/default_outline.png differ diff --git a/packages/crosshairs/dot_outline.png b/packages/crosshairs/dot_outline.png new file mode 100644 index 0000000000..d3d37f31f0 Binary files /dev/null and b/packages/crosshairs/dot_outline.png differ diff --git a/packages/crosshairs/dot_wide_outline.png b/packages/crosshairs/dot_wide_outline.png new file mode 100644 index 0000000000..701bfbfa54 Binary files /dev/null and b/packages/crosshairs/dot_wide_outline.png differ diff --git a/packages/crosshairs/lines_outline.png b/packages/crosshairs/lines_outline.png new file mode 100644 index 0000000000..1b659d072e Binary files /dev/null and b/packages/crosshairs/lines_outline.png differ diff --git a/packages/crosshairs/o_dot_outline.png b/packages/crosshairs/o_dot_outline.png new file mode 100644 index 0000000000..ddf90ceaa0 Binary files /dev/null and b/packages/crosshairs/o_dot_outline.png differ diff --git a/packages/crosshairs/o_outline.png b/packages/crosshairs/o_outline.png new file mode 100644 index 0000000000..45ba0dac59 Binary files /dev/null and b/packages/crosshairs/o_outline.png differ diff --git a/packages/crosshairs/o_x_outline.png b/packages/crosshairs/o_x_outline.png new file mode 100644 index 0000000000..9e0cde8587 Binary files /dev/null and b/packages/crosshairs/o_x_outline.png differ diff --git a/packages/crosshairs/red_dot_outline.png b/packages/crosshairs/red_dot_outline.png new file mode 100644 index 0000000000..d46ee602c8 Binary files /dev/null and b/packages/crosshairs/red_dot_outline.png differ diff --git a/packages/crosshairs/star_outline.png b/packages/crosshairs/star_outline.png new file mode 100644 index 0000000000..9d9688d381 Binary files /dev/null and b/packages/crosshairs/star_outline.png differ diff --git a/packages/crosshairs/teammate_outline.png b/packages/crosshairs/teammate_outline.png new file mode 100644 index 0000000000..d076b6b71b Binary files /dev/null and b/packages/crosshairs/teammate_outline.png differ diff --git a/packages/crosshairs/tri_dot_outline.png b/packages/crosshairs/tri_dot_outline.png new file mode 100644 index 0000000000..12daedb149 Binary files /dev/null and b/packages/crosshairs/tri_dot_outline.png differ diff --git a/packages/crosshairs/tri_outline.png b/packages/crosshairs/tri_outline.png new file mode 100644 index 0000000000..8bec08880a Binary files /dev/null and b/packages/crosshairs/tri_outline.png differ diff --git a/packages/crosshairs/wide_outline.png b/packages/crosshairs/wide_outline.png new file mode 100644 index 0000000000..2ab91afb32 Binary files /dev/null and b/packages/crosshairs/wide_outline.png differ diff --git a/packages/crosshairs/x-dot_outline.png b/packages/crosshairs/x-dot_outline.png new file mode 100644 index 0000000000..849673d324 Binary files /dev/null and b/packages/crosshairs/x-dot_outline.png differ diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index e9bdbd55ae..75eafb7bd7 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -168,7 +168,7 @@ Texture *loadcrosshairtexture(const char *c) { defformatstring(p)("packages/crosshairs/%s", behindpath(c)); Texture *crosshair = textureload(p, 3); - if(crosshair==notexture) crosshair = textureload("packages/crosshairs/default.png", 3); + if(crosshair==notexture) crosshair = textureload("packages/crosshairs/default_outline.png", 3); return crosshair; } @@ -181,8 +181,8 @@ void loadcrosshair(const char *type, const char *filename) else { // "loadcrosshair reset" does exactly that filename = "default.png"; - crosshairs[CROSSHAIR_TEAMMATE] = loadcrosshairtexture("teammate.png"); - crosshairs[CROSSHAIR_SCOPE] = loadcrosshairtexture("red_dot.png"); + crosshairs[CROSSHAIR_TEAMMATE] = loadcrosshairtexture("teammate_outline.png"); + crosshairs[CROSSHAIR_SCOPE] = loadcrosshairtexture("red_dot_outline.png"); } } else if(strchr(type, '.')) @@ -216,7 +216,7 @@ void drawcrosshair(playerent *p, int n, color *c, float size) if(!crosshair) { crosshair = crosshairs[CROSSHAIR_DEFAULT]; - if(!crosshair) crosshair = crosshairs[CROSSHAIR_DEFAULT] = loadcrosshairtexture("default.png"); + if(!crosshair) crosshair = crosshairs[CROSSHAIR_DEFAULT] = loadcrosshairtexture("default_outline.png"); } if(crosshair->bpp==32) glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);