This commit is contained in:
Dakedres 2024-04-22 13:34:09 -06:00
parent 58eddad5a5
commit 7beecbfe01
4 changed files with 13 additions and 97 deletions

1
.gitignore vendored

@ -3,6 +3,7 @@ node_modules/
# Development
view/import/
temp
# Misc
.vscode/

32
dist/xash.dev.js vendored

@ -1,32 +0,0 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./src/index.js":
/*!**********************!*\
!*** ./src/index.js ***!
\**********************/
/***/ (() => {
eval("console.log('Hello, World!')\n\n//# sourceURL=webpack://xash93d/./src/index.js?");
/***/ })
/******/ });
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ var __webpack_exports__ = {};
/******/ __webpack_modules__["./src/index.js"]();
/******/
/******/ })()
;

@ -1,11 +1,13 @@
cd subrepo/Xash3D-Emscripten
cp
client.js
icon.png
menu.js
mods.js
server.js
xash.html.mem
xash.js
#!/bin/sh
../../view/import/
mkdir view/import
cd subrepo/Xash3D-Emscripten || exit
cp \
client.js \
icon.png \
menu.js \
mods.js \
server.js \
xash.html.mem \
xash.js \
../../view/import/

@ -1,55 +0,0 @@
:root {
--mod-height: 36px;
}
html {
/* im not gonna write a preprocessor for the css so i'm refrencing an element here */
background: #333 var(--trame);
background-size: 4px;
background-repeat: repeat;
}
.mod {
display: flex;
padding: 1px;
box-sizing: content-box;
height: var(--mod-height)
}
.mod .info {
border-right: 1px solid #666;
flex: 1;
align-self: center;
margin: 2px 0 2px 5px;
}
.info h4 {
font-size: 16px;
margin: 0
}
.mod .button {
width: var(--mod-height);
height: var(--mod-height);
box-sizing: content-box;
background-image: var(--xash3d-play);
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: center;
}
.button:before {
content: " ";
float: left;
padding-top: 100%;
}
.mod .button:active {
opacity: .6;
}
.version-info {
color: #555;
text-align: center;
height: 16px;
}