From 089d94ff3a34ef022015bf28db0427497acc67ea Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 28 Jan 2023 20:31:04 +0100 Subject: Updated 7 files and renamed 2 files (automated) --- pages/bitset.inc | 13 ++++++++++--- pages/metadata.inc | 7 +++++++ 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'pages') diff --git a/pages/bitset.inc b/pages/bitset.inc index a777b60..309bab8 100644 --- a/pages/bitset.inc +++ b/pages/bitset.inc @@ -46,7 +46,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc';
0
0
0
-
0
+
0
0
0
0
@@ -164,6 +164,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; let polyamorous2 = binString.substring(19, 20) !== "0"; let alignment1 = binString.substring(20, 24); let alignment2 = binString.substring(25 + 16, 29 + 16); + let sexualFeatures = binString.substring(12, 13) !== "0"; document.getElementById("value-0").value = sharedMemory; document.getElementById("value-1").value = little; @@ -183,6 +184,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; document.getElementById("value-23").checked = polyamorous2; document.getElementById("value-24").value = alignment1; document.getElementById("value-25").value = alignment2; + document.getElementById("value-26").checked = sexualFeatures; setColors(); } @@ -242,6 +244,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; let val23 = document.getElementById("value-23").checked; let val24 = document.getElementById("value-24").value; let val25 = document.getElementById("value-25").value; + let val26 = document.getElementById("value-26").checked; let val0bin = parseInt(val0).toString(2); val0bin = val0bin.length === 1 ? "0" + val0bin : val0bin; @@ -261,7 +264,6 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; let val7bin = "0"; let val8bin = "0"; let val15bin = "0"; - let val19bin = "0"; let val5bin = val5 ? "1" : "0"; let val6bin = val6 ? "1" : "0"; @@ -274,8 +276,9 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; let val21bin = val21 ? "1" : "0"; let val22bin = val22 ? "1" : "0"; let val23bin = val23 ? "1" : "0"; + let val26bin = val26 ? "1" : "0"; - let bin = "0000000000" + val21bin + val20bin + val19bin + val18bin + val17bin + val16bin + val11bin + val22bin + val23bin + val24bin + val0bin + val4bin + val1bin + val5bin + val6bin + val7bin + val8bin + val2bin + val3bin + val25bin + val9bin + val10bin + val15bin; + let bin = "0000000000" + val21bin + val20bin + val26bin + val18bin + val17bin + val16bin + val11bin + val22bin + val23bin + val24bin + val0bin + val4bin + val1bin + val5bin + val6bin + val7bin + val8bin + val2bin + val3bin + val25bin + val9bin + val10bin + val15bin; console.log(bin, parseInt(bin, 2)); @@ -403,6 +406,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; Fictive
+