diff --git a/.gitignore b/.gitignore
index 754b7124..97aa43f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,6 +44,10 @@ build/
*.out
*.app
+# Projects and Solutions
+*.vcxproj
+*.sln
+
# CMake
CMakeCache.txt
CMakeFiles
@@ -96,6 +100,10 @@ src/libraries/external/boost_*
*.ipdb
*.iobj
*.filters
+*.idb
# sapphire version
src/servers/Server_Common/Version\.cpp
+
+# edit and continue files
+/enc_temp_folder
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 5a08c891..6c5c62cd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,17 +6,19 @@ before_install:
- sudo apt-get update
- sudo apt-get install -y software-properties-common
- sudo apt-get update
- - sudo apt-get install gcc-4.9 g++-4.9 gcc-4.9-multilib g++-4.9-multilib cmake3 -y
+ - sudo apt-get install gcc-7 g++-7 gcc-7-multilib g++-7-multilib cmake3 -y
- sudo apt-get install libboost-dev libboost-all-dev libmysqlclient-dev -y
- - sudo apt-get install libmysqlcppconn-dev -y
+ - sudo apt-get install libmysqlcppconn-dev -y
+
compiler:
- - gcc
+ - g++
# Build steps
script:
+ - g++ --version
- mkdir build
- cd build
- - cmake .. -DSAPPHIRE_BOOST_VER="1.54.0" -DCMAKE_CXX_COMPILER=g++-4.9 -DCMAKE_C_COMPILER=gcc-4.9 && make -j 3
+ - cmake .. -DSAPPHIRE_BOOST_VER="1.54.0" -DCMAKE_CXX_COMPILER=g++-7 && make -j 3
- cd ..
- bash sql_import.sh
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d9e90ef2..997abb3d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,4 +65,4 @@ add_subdirectory("src/tools/exd_common_gen")
add_subdirectory("src/tools/exd_struct_gen")
add_subdirectory("src/tools/exd_struct_test")
add_subdirectory("src/tools/quest_parser")
-
+add_subdirectory("src/tools/pcb_reader")
diff --git a/bin/config/settings_zone.xml b/bin/config/settings_zone.xml
index fee76340..b1ab6081 100644
--- a/bin/config/settings_zone.xml
+++ b/bin/config/settings_zone.xml
@@ -25,6 +25,6 @@
<<<Welcome to Sapphire>>>
This is a very good server
You can change these messages by editing MotDArray in config/settings_zone.xml
-
+
diff --git a/bin/web/assets/css/global.css b/bin/web/assets/css/global.css
index de6b97e4..290a0199 100644
--- a/bin/web/assets/css/global.css
+++ b/bin/web/assets/css/global.css
@@ -1,18 +1,21 @@
-body{
- font-family:Verdana;
- font-size:10pt;
- line-height:14pt;
- height:100%;
- background-image:url(../../assets/img/background.png);
- background-color:#282828;
+html {
+ min-height: 100%;
}
-div.contentContainer{
+body {
+ font-family: Meiryo, Verdana, sans-serif;
+ font-size: 12px;
+ line-height: 14px;
+ height: 100%;
+ overflow: hidden;
+}
+
+.contentContainer{
width:50%;
float:left;
}
-div.info{
+.info{
width:320px;
height:100%;
margin-left:auto;
@@ -22,7 +25,7 @@ div.info{
background-color:lightgrey;
}
-div.infoFooter{
+.infoFooter{
width:400px;
margin-left:auto;
margin-right:auto;
@@ -135,3 +138,26 @@ p.pageSubTitle{
margin:0 auto;
}
+.commit-history {
+ padding-left: 20px;
+}
+
+.commit-history li a {
+ color: #fff;
+}
+
+.commit-history li a:hover {
+ color: #bbb;
+}
+
+.s-left-half {
+ overflow-y: auto;
+}
+
+.s-link-badge {
+ font-size: 15px;
+}
+
+h2 {
+ font-size: 19px;
+}
\ No newline at end of file
diff --git a/bin/web/assets/css/styles.css b/bin/web/assets/css/styles.css
index 0d03eddc..5e8f52ec 100644
--- a/bin/web/assets/css/styles.css
+++ b/bin/web/assets/css/styles.css
@@ -1,5 +1,138 @@
-div#TopDiv{
- padding:10px;
+.s-logo {
+ padding: 25px 65px 15px 65px;
+}
+
+.s-logo > img {
+ width: 100%;
+}
+
+/*
+ Consider using vh?
+*/
+.s-left-half {
+ left: 0;
+ background: #232326;
+ /* box-shadow: inset -4px 0px 4px -3px #1a1a1ab3; */
+ color: white;
+}
+
+.s-right-half {
+ right: 0;
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00233B', endColorstr='#090915',GradientType=0 );
+ background: linear-gradient(#00233B 0%, #090915 100%);
+ border-left: 6px solid #16161b;
+ padding: 0;
+}
+
+.s-full-split {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ float: left;
+ z-index: 10;
+}
+
+.s-login-box {
+ background: #16161b;
+ position: relative;
+ z-index: 15;
+ padding: 0;
+ overflow: hidden;
+ width: 100%;
+ float: none;
+}
+
+.s-login-box-form {
+ padding: 0 35px 8px 25px;
+ overflow: hidden;
+}
+
+.s-login-input-wrapper {
+ color: white;
+ display: block;
+ width: 100%;
+ margin-bottom: 15px;
+ font-weight: normal;
+ font-size: 14px;
+ color: #fff;
+}
+
+.s-login-input-wrapper > input {
+ background: #444;
+ border: 0;
+ border-bottom: 3px solid #595959;
+ padding: 7px 0 7px 7px;
+ width: 100%;
+ margin-top: 8px;
+ font-size: 13.5px;
+ color: white;
+}
+
+.s-login-input-wrapper > input:focus {
+ border-color: #1868C2;
+}
+
+.s-login-input-wrapper > input:active {
+ border-color: #1868C2;
+}
+
+.s-login-input-wrapper > input:hover {
+ border-color: #1868C2;
+}
+
+.btn.btn-default {
+ border: 0;
+ color: white;
+ border-radius: 0;
+ font-weight: normal;
+ text-shadow: none;
+ box-shadow: none;
+ border-color: #1868C2;
+ color: white !important;
+}
+
+
+.s-login-btn {
+ width: 150px;
+ background: #0e6bc9;
+ right: -7px; /* ugh. refer to padding-left on input above - more bounding box issues... */
+ position: relative;
+}
+
+.s-login-btn:hover {
+ width: 150px;
+ background: #3593f2;
+}
+
+.s-acc-btn {
+ width: 100%;
+ background: #3B3B3B;
+ padding: 5px 0;
+ margin-top: 4px;
+}
+
+.s-acc-btn:hover {
+ background: #6b6b6b;
+}
+
+.s-error-text {
+ color: #ff3333;
+ margin: 3px;
+}
+
+.s-gears {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ width: 35%;
+ max-width: 350px;
+ overflow: hidden;
+}
+
+.s-gears > img {
+ width: 100%;
+ position: relative;
+ bottom: -40px;
}
img{
@@ -12,8 +145,39 @@ h2.text-center{
color:#fff;
}
-h1.text-center{
- color:#FFF;
+.s-login-call{
+ color: #fff;
+ margin-top: 15px;
+ font-size: 20px;
+}
+
+.s-link-badge-wrapper {
+ clear: both;
+
+}
+
+.s-link-badge {
+ background: #fff;
+ line-height: 48px;
+ text-indent: 55px;
+ display: inline-block;
+ padding: 0;
+ font-size: 17px;
+ margin-top: 25px;
+ color: white;
+ border-bottom: 3px solid #43348D;
+ margin-bottom: 15px;
+}
+
+.s-link-badge-discord {
+ background: #7082E1 url("../img/fa-discord-icon.png") 10px 7px no-repeat;
+ margin-right: 60px; /* Ideally we'd just use pull-right with the last col-xs-5 but IE7 bounding box render??? */
+}
+
+.s-link-badge-github {
+ background: #fff url("../img/github-icon.png") 10px 7px no-repeat;
+ color: #333;
+ border-bottom-color: #808080;
}
div.login-card{
@@ -30,11 +194,7 @@ input.input-sm{
margin-right:auto;
}
-div#Conttwo.container{
- display:block;
- width:300px;
- background-color:rgba(17, 17, 17, 0.77);
-}
+
div#Split{
padding:2px;
diff --git a/bin/web/assets/img/fa-discord-icon.png b/bin/web/assets/img/fa-discord-icon.png
new file mode 100644
index 00000000..0c3aede3
Binary files /dev/null and b/bin/web/assets/img/fa-discord-icon.png differ
diff --git a/bin/web/assets/img/github-icon.png b/bin/web/assets/img/github-icon.png
new file mode 100644
index 00000000..28716639
Binary files /dev/null and b/bin/web/assets/img/github-icon.png differ
diff --git a/bin/web/assets/img/graffletopia-gears.png b/bin/web/assets/img/graffletopia-gears.png
new file mode 100644
index 00000000..466a5625
Binary files /dev/null and b/bin/web/assets/img/graffletopia-gears.png differ
diff --git a/bin/web/assets/img/sapphire_logo.png b/bin/web/assets/img/sapphire_logo.png
index a7970d0c..56827cd8 100644
Binary files a/bin/web/assets/img/sapphire_logo.png and b/bin/web/assets/img/sapphire_logo.png differ
diff --git a/bin/web/assets/img/sapphire_logo_resize.png b/bin/web/assets/img/sapphire_logo_resize.png
new file mode 100644
index 00000000..f0cd9a2d
Binary files /dev/null and b/bin/web/assets/img/sapphire_logo_resize.png differ
diff --git a/bin/web/createUser.html b/bin/web/createUser.html
index 5d73e5d2..fe9398e0 100644
--- a/bin/web/createUser.html
+++ b/bin/web/createUser.html
@@ -23,7 +23,7 @@
var parsed = JSON.parse(response);
window.external.Boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost);
}catch(err){
- document.getElementById("Error").innerHTML = "Create User failed.";
+ document.getElementById("Error").innerHTML = "User creation failed.";
}
}
}
@@ -46,25 +46,55 @@
-
- 
-
-
-
Create Account
-
Username:
-
|
-
-
Password:
-
|
-
-
-
-
-
+
+
+
Github stuff here soon!
+
+
+
+

+
+
+
+

+
+
+
+