diff --git a/assets/DimLumb_4_4_2.obj b/assets/DimLumb_4_4_2.obj new file mode 100644 index 0000000..f85bf9f --- /dev/null +++ b/assets/DimLumb_4_4_2.obj @@ -0,0 +1,33 @@ +# Created by FreeCAD +v -50.799999 50.799999 0.000000 +v -50.799999 -50.799999 0.000000 +v -50.799999 -50.799999 609.599976 +v -50.799999 50.799999 609.599976 +v 50.799999 50.799999 0.000000 +v 50.799999 50.799999 609.599976 +v 50.799999 -50.799999 0.000000 +v 50.799999 -50.799999 609.599976 +vn -1.000000 0.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn 0.000000 1.000000 -0.000000 +vn 1.000000 0.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 0.000000 1.000000 +vn 0.000000 0.000000 1.000000 +f 1//1 2//1 3//1 +f 1//2 3//2 4//2 +f 5//3 1//3 4//3 +f 5//4 4//4 6//4 +f 7//5 5//5 6//5 +f 7//6 6//6 8//6 +f 2//7 7//7 8//7 +f 2//8 8//8 3//8 +f 2//9 5//9 7//9 +f 1//10 5//10 2//10 +f 6//11 3//11 8//11 +f 6//12 4//12 3//12 diff --git a/assets/long-grain-dark.png b/assets/long-grain-dark.png new file mode 100644 index 0000000..e214633 Binary files /dev/null and b/assets/long-grain-dark.png differ diff --git a/assets/long-grain-light.png b/assets/long-grain-light.png new file mode 100644 index 0000000..9513827 Binary files /dev/null and b/assets/long-grain-light.png differ diff --git a/godot/.gitattributes b/godot/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/godot/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/godot/.gitignore b/godot/.gitignore new file mode 100644 index 0000000..4709183 --- /dev/null +++ b/godot/.gitignore @@ -0,0 +1,2 @@ +# Godot 4+ specific ignores +.godot/ diff --git a/godot/icon.svg b/godot/icon.svg new file mode 100644 index 0000000..b370ceb --- /dev/null +++ b/godot/icon.svg @@ -0,0 +1 @@ + diff --git a/godot/icon.svg.import b/godot/icon.svg.import new file mode 100644 index 0000000..b82420b --- /dev/null +++ b/godot/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bgw51etsbiwa5" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/godot/project.godot b/godot/project.godot new file mode 100644 index 0000000..831d2b7 --- /dev/null +++ b/godot/project.godot @@ -0,0 +1,15 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="PlanetMiner-Godot" +config/features=PackedStringArray("4.2", "Forward Plus") +config/icon="res://icon.svg" diff --git a/manual/ManualCover.xcf b/manual/ManualCover.xcf new file mode 100644 index 0000000..9aec8f6 Binary files /dev/null and b/manual/ManualCover.xcf differ diff --git a/manual/manual.aux b/manual/manual.aux new file mode 100644 index 0000000..b640121 --- /dev/null +++ b/manual/manual.aux @@ -0,0 +1,2 @@ +\relax +\gdef \@abspage@last{1} diff --git a/manual/manual.fdb_latexmk b/manual/manual.fdb_latexmk new file mode 100644 index 0000000..89d879a --- /dev/null +++ b/manual/manual.fdb_latexmk @@ -0,0 +1,16 @@ +# Fdb version 4 +["pdflatex"] 1707000532.21738 "manual.tex" "manual.pdf" "manual" 1707000532.68589 2 + "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1248133631 35752 024fb6c41858982481f6968b5fc26508 "" + "/usr/share/texlive/texmf-dist/tex/latex/base/article.cls" 1684972800 20144 7555b7429d80bef287ebb82117811acc "" + "/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo" 1684972800 8448 e0391042ca0932ede1098ae14ada60ba "" + "/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def" 1666901542 30426 f2fb69fcda4dc35ed0b7dee211bce679 "" + "/usr/share/texlive/texmf-dist/web2c/texmf.cnf" 1684972800 40326 aba987258e6d6b6da5dec3a727ea174b "" + "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1695741510.34335 4547801 12750a1f41d88f5207b57129561a9960 "" + "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1706540581 7862978 fdecdc3eb245d10d03b24652f2a7b5cd "" + "manual.aux" 1707000532.63174 32 3985256e7290058c681f74d7a3565a19 "pdflatex" + "manual.tex" 1707000525.0807 126 4933596a9c75aed2d7551cd33130b06c "" + (generated) + "manual.aux" + "manual.log" + "manual.pdf" + (rewritten before read) diff --git a/manual/manual.fls b/manual/manual.fls new file mode 100644 index 0000000..4c08ad3 --- /dev/null +++ b/manual/manual.fls @@ -0,0 +1,40 @@ +PWD /home/sharpe/Documents/projects/planet-miner/manual +INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf +INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf +INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt +INPUT manual.tex +OUTPUT manual.log +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +INPUT ./manual.aux +INPUT manual.aux +INPUT manual.aux +OUTPUT manual.aux +OUTPUT manual.pdf +INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map +INPUT manual.aux +INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb diff --git a/manual/manual.log b/manual/manual.log new file mode 100644 index 0000000..bb1e457 --- /dev/null +++ b/manual/manual.log @@ -0,0 +1,200 @@ +This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/CVE-2023-32700 patched) (preloaded format=xelatex 2024.1.29) 3 FEB 2024 18:25 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**manual.tex +(./manual.tex +LaTeX2e <2022-06-01> patch level 5 +L3 programming layer <2022-12-17> +(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls +Document Class: article 2021/10/04 v1.4n Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option) +) +\c@part=\count181 +\c@section=\count182 +\c@subsection=\count183 +\c@subsubsection=\count184 +\c@paragraph=\count185 +\c@subparagraph=\count186 +\c@figure=\count187 +\c@table=\count188 +\abovecaptionskip=\skip47 +\belowcaptionskip=\skip48 +\bibindent=\dimen140 +) +(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty +(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty +Package: expl3 2022-12-17 L3 programming layer (loader) + +(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def +File: l3backend-xetex.def 2022-10-26 L3 backend support: XeTeX +\g__graphics_track_int=\count189 +\l__pdf_internal_box=\box51 +\g__pdf_backend_object_int=\count190 +\g__pdf_backend_annotation_int=\count191 +\g__pdf_backend_link_int=\count192 +)) +Package: xparse 2022-12-17 L3 Experimental document command parser +) +Package: fontspec 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX + +(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty +Package: fontspec-xetex 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTe +X +\l__fontspec_script_int=\count193 +\l__fontspec_language_int=\count194 +\l__fontspec_strnum_int=\count195 +\l__fontspec_tmp_int=\count196 +\l__fontspec_tmpa_int=\count197 +\l__fontspec_tmpb_int=\count198 +\l__fontspec_tmpc_int=\count199 +\l__fontspec_em_int=\count266 +\l__fontspec_emdef_int=\count267 +\l__fontspec_strong_int=\count268 +\l__fontspec_strongdef_int=\count269 +\l__fontspec_tmpa_dim=\dimen141 +\l__fontspec_tmpb_dim=\dimen142 +\l__fontspec_tmpc_dim=\dimen143 + +(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty +Package: fontenc 2021/04/29 v2.0v Standard LaTeX package +) +(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg))) + +Package fontspec Info: Could not resolve font "Segoe UI Historic/BI" (it +(fontspec) probably doesn't exist). + + +Package fontspec Info: Could not resolve font "Segoe UI Historic/B" (it +(fontspec) probably doesn't exist). + + +Package fontspec Info: Could not resolve font "Segoe UI Historic/I" (it +(fontspec) probably doesn't exist). + + +Package fontspec Info: Font family 'SegoeUIHistoric(0)' created for font +(fontspec) 'Segoe UI Historic' with options +(fontspec) [Ligatures=TeX,Ligatures=TeX]. +(fontspec) +(fontspec) This font family consists of the following NFSS +(fontspec) series/shapes: +(fontspec) +(fontspec) - 'normal' (m/n) with NFSS spec.: <->"Segoe UI +(fontspec) Historic/OT:script=latn;language=dflt;mapping=tex-text;" + +(fontspec) - 'small caps' (m/sc) with NFSS spec.: + + (./manual.aux) +\openout1 = `manual.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 8. +LaTeX Font Info: Trying to load font information for TS1+cmr on input line 8 +. + (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd +File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions +) +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. + +Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid +(fontspec) this). + +\symlegacymaths=\mathgroup4 +LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold' +(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 8. +LaTeX Font Info: Redeclaring math accent \acute on input line 8. +LaTeX Font Info: Redeclaring math accent \grave on input line 8. +LaTeX Font Info: Redeclaring math accent \ddot on input line 8. +LaTeX Font Info: Redeclaring math accent \tilde on input line 8. +LaTeX Font Info: Redeclaring math accent \bar on input line 8. +LaTeX Font Info: Redeclaring math accent \breve on input line 8. +LaTeX Font Info: Redeclaring math accent \check on input line 8. +LaTeX Font Info: Redeclaring math accent \hat on input line 8. +LaTeX Font Info: Redeclaring math accent \dot on input line 8. +LaTeX Font Info: Redeclaring math accent \mathring on input line 8. +LaTeX Font Info: Redeclaring math symbol \colon on input line 8. +LaTeX Font Info: Redeclaring math symbol \Gamma on input line 8. +LaTeX Font Info: Redeclaring math symbol \Delta on input line 8. +LaTeX Font Info: Redeclaring math symbol \Theta on input line 8. +LaTeX Font Info: Redeclaring math symbol \Lambda on input line 8. +LaTeX Font Info: Redeclaring math symbol \Xi on input line 8. +LaTeX Font Info: Redeclaring math symbol \Pi on input line 8. +LaTeX Font Info: Redeclaring math symbol \Sigma on input line 8. +LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 8. +LaTeX Font Info: Redeclaring math symbol \Phi on input line 8. +LaTeX Font Info: Redeclaring math symbol \Psi on input line 8. +LaTeX Font Info: Redeclaring math symbol \Omega on input line 8. +LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 8. +LaTeX Font Info: Redeclaring symbol font `operators' on input line 8. +LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font +(Font) `operators' in the math version `normal' on input line 8. +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) OT1/cmr/m/n --> TU/SegoeUIHistoric(0)/m/n on input line + 8. +LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font +(Font) `operators' in the math version `bold' on input line 8. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) OT1/cmr/bx/n --> TU/SegoeUIHistoric(0)/m/n on input lin +e 8. +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) TU/SegoeUIHistoric(0)/m/n --> TU/SegoeUIHistoric(0)/m/n + on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' +(Font) OT1/cmr/m/it --> TU/SegoeUIHistoric(0)/m/it on input li +ne 8. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' +(Font) OT1/cmr/bx/n --> TU/SegoeUIHistoric(0)/b/n on input lin +e 8. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal' +(Font) OT1/cmss/m/n --> TU/lmss/m/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal' +(Font) OT1/cmtt/m/n --> TU/lmtt/m/n on input line 8. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) TU/SegoeUIHistoric(0)/m/n --> TU/SegoeUIHistoric(0)/b/n + on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmr/bx/it --> TU/SegoeUIHistoric(0)/b/it on input l +ine 8. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' +(Font) OT1/cmss/bx/n --> TU/lmss/b/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' +(Font) OT1/cmtt/m/n --> TU/lmtt/b/n on input line 8. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <12> on input line 9. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 9. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 9. + + +LaTeX Warning: No \author given. + +[1 + +] (./manual.aux) ) +Here is how much of TeX's memory you used: + 2922 strings out of 476864 + 97052 string characters out of 5810745 + 1842979 words of memory out of 6000000 + 23036 multiletter control sequences out of 15000+600000 + 515111 words of font info for 52 fonts, out of 8000000 for 9000 + 1348 hyphenation exceptions out of 8191 + 72i,6n,77p,274b,230s stack positions out of 10000i,1000n,20000p,200000b,200000s + +Output written on manual.pdf (1 page). diff --git a/manual/manual.pdf b/manual/manual.pdf new file mode 100644 index 0000000..6b74561 Binary files /dev/null and b/manual/manual.pdf differ diff --git a/manual/manual.tex b/manual/manual.tex new file mode 100644 index 0000000..2650b4a --- /dev/null +++ b/manual/manual.tex @@ -0,0 +1,12 @@ +\documentclass{article} + +\usepackage{fontspec} +\setmainfont[Ligatures=TeX]{Segoe UI Historic} + +\title{ยท๐‘๐‘ค๐‘จ๐‘ฏ๐‘ง๐‘‘ ๐‘ฅ๐‘ฒ๐‘ฏ๐‘ผ: ๐‘” ๐‘œ๐‘ฉ๐‘ค๐‘จ๐‘’๐‘ฆ๐‘’ ๐‘™๐‘จ๐‘ฏ๐‘›๐‘š๐‘ซ๐‘’} + +\begin{document} +\maketitle + + +\end{document} diff --git a/src/controls.h b/src/controls.h index 41ba43b..267a156 100644 --- a/src/controls.h +++ b/src/controls.h @@ -4,7 +4,7 @@ typedef struct camera { vec3s pos; vec3s dir; - vec3s + vec3s up; } void goForward();