Compare commits
No commits in common. "3ceabd50ebd4dc0c186701af37e6d2fe4731c861" and "a4e158930dfd7a212ec53156d5b93b3361ca152a" have entirely different histories.
3ceabd50eb
...
a4e158930d
|
@ -1,23 +0,0 @@
|
||||||
#include "heads_up_display.h"
|
|
||||||
|
|
||||||
void HeadsUpDisplay::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void HeadsUpDisplay::enter_tree() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void HeadsUpDisplay::_notification(int what) {
|
|
||||||
if (Engine::get_singleton()->is_editor_hint()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch (what) {
|
|
||||||
default:
|
|
||||||
return;
|
|
||||||
case NOTIFICATION_ENTER_TREE:
|
|
||||||
enter_tree();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void HeadsUpDisplay::set_reticle_visibility(bool visible) {
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
#ifndef HEADS_UP_DISPLAY_H
|
|
||||||
#define HEADS_UP_DISPLAY_H
|
|
||||||
|
|
||||||
#include "scene/gui/control.h"
|
|
||||||
|
|
||||||
class HeadsUpDisplay : public Control {
|
|
||||||
GDCLASS(HeadsUpDisplay, Control);
|
|
||||||
static void _bind_methods();
|
|
||||||
void on_child_entered(Node *node);
|
|
||||||
void enter_tree();
|
|
||||||
protected:
|
|
||||||
void _notification(int what);
|
|
||||||
|
|
||||||
public:
|
|
||||||
void set_reticle_visibility(bool visible);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Control *reticle{ nullptr };
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // !HEADS_UP_DISPLAY_H
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="1.3229166mm"
|
|
||||||
height="1.3229166mm"
|
|
||||||
viewBox="0 0 1.3229166 1.3229166"
|
|
||||||
version="1.1"
|
|
||||||
id="svg1"
|
|
||||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
|
||||||
sodipodi:docname="reticle.svg"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview1"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#999999"
|
|
||||||
borderopacity="1"
|
|
||||||
inkscape:showpageshadow="2"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pagecheckerboard="0"
|
|
||||||
inkscape:deskcolor="#d1d1d1"
|
|
||||||
inkscape:document-units="mm"
|
|
||||||
inkscape:zoom="234.44399"
|
|
||||||
inkscape:cx="2.6872089"
|
|
||||||
inkscape:cy="1.8511884"
|
|
||||||
inkscape:window-width="2540"
|
|
||||||
inkscape:window-height="1394"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="layer1" />
|
|
||||||
<defs
|
|
||||||
id="defs1" />
|
|
||||||
<g
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1">
|
|
||||||
<circle
|
|
||||||
style="fill:#ffffff;fill-opacity:1;stroke-width:0;stroke-linecap:round;stroke-linejoin:round"
|
|
||||||
id="path1"
|
|
||||||
cx="0.66145831"
|
|
||||||
cy="0.66145831"
|
|
||||||
r="0.66121006" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.4 KiB |
|
@ -1,43 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://dc26l1ync7env"
|
|
||||||
path="res://.godot/imported/reticle.svg-8e7aee022e128e073b099001e1733742.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://assets/gui/reticle.svg"
|
|
||||||
dest_files=["res://.godot/imported/reticle.svg-8e7aee022e128e073b099001e1733742.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/uastc_level=0
|
|
||||||
compress/rdo_quality_loss=0.0
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/channel_remap/red=0
|
|
||||||
process/channel_remap/green=1
|
|
||||||
process/channel_remap/blue=2
|
|
||||||
process/channel_remap/alpha=3
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
svg/scale=1.0
|
|
||||||
editor/scale_with_editor_scale=false
|
|
||||||
editor/convert_colors_with_editor_theme=false
|
|
Loading…
Reference in a new issue