diff --git a/code/__defines/misc.dm b/code/__defines/misc.dm index fec17087641..c63b1fb54d5 100644 --- a/code/__defines/misc.dm +++ b/code/__defines/misc.dm @@ -78,12 +78,7 @@ #define COLOR_RED_LIGHT "#FF3333" #define COLOR_DEEP_SKY_BLUE "#00e1ff" -<<<<<<< HEAD - -#define CLIENT_FROM_VAR(I) (ismob(I) ? I:client : (istype(I, /client) ? I : null)) -======= #define CLIENT_FROM_VAR(I) (ismob(I) ? I:client : (isclient(I) ? I : null)) ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) // Shuttles. diff --git a/code/defines/procs/announce.dm b/code/defines/procs/announce.dm index 2ef33895826..c68acc43a46 100644 --- a/code/defines/procs/announce.dm +++ b/code/defines/procs/announce.dm @@ -49,7 +49,6 @@ Log(message, message_title) datum/announcement/proc/Message(message as text, message_title as text) -<<<<<<< HEAD global_announcer.autosay("[message_title]: [message]", announcer ? announcer : ANNOUNCER_NAME) datum/announcement/minor/Message(message as text, message_title as text) @@ -63,40 +62,6 @@ datum/announcement/priority/command/Message(message as text, message_title as te datum/announcement/priority/security/Message(message as text, message_title as text) global_announcer.autosay("[message_title]: [message]", ANNOUNCER_NAME) -======= - for(var/mob/M in player_list) - if(!istype(M,/mob/new_player) && !isdeaf(M)) - to_chat(M, "

[title]

") - to_chat(M, "[message]") - if (announcer) - to_chat(M, " -[html_encode(announcer)]") - -datum/announcement/minor/Message(message as text, message_title as text) - to_world("[message]") - -datum/announcement/priority/Message(message as text, message_title as text) - to_world("

[message_title]

") - to_world("[message]") - if(announcer) - to_world(" -[html_encode(announcer)]") - to_world("
") - -datum/announcement/priority/command/Message(message as text, message_title as text) - var/command - command += "

[command_name()] Update

" - if (message_title) - command += "

[message_title]

" - - command += "
[message]
" - command += "
" - for(var/mob/M in player_list) - if(!istype(M,/mob/new_player) && !isdeaf(M)) - to_chat(M, command) - -datum/announcement/priority/security/Message(message as text, message_title as text) - to_world("[message_title]") - to_world("[message]") ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) datum/announcement/proc/NewsCast(message as text, message_title as text) if(!newscast) diff --git a/code/game/machinery/requests_console.dm b/code/game/machinery/requests_console.dm index 9fa1bed9f94..d3eec4057a9 100644 --- a/code/game/machinery/requests_console.dm +++ b/code/game/machinery/requests_console.dm @@ -177,7 +177,6 @@ var/list/obj/machinery/requests_console/allConsoles = list() message_log += "Message sent to [recipient]
[message]" else audible_message(text("[bicon(src)] *The Requests Console beeps: 'NOTICE: No server detected!'"),,4) -<<<<<<< HEAD //Handle printing if (href_list["print"]) @@ -188,8 +187,6 @@ var/list/obj/machinery/requests_console/allConsoles = list() var/obj/item/weapon/paper/R = new(src.loc) R.name = "[department] Message" R.info = "

[department] Requests Console

[msg]
" -======= ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) //Handle screen switching if(href_list["setScreen"]) diff --git a/code/modules/client/asset_cache.dm b/code/modules/client/asset_cache.dm index 1f7525ca53b..ef64cd4acd7 100644 --- a/code/modules/client/asset_cache.dm +++ b/code/modules/client/asset_cache.dm @@ -29,23 +29,9 @@ You can set verify to TRUE if you want send() to sleep until the client has the //This proc sends the asset to the client, but only if it needs it. //This proc blocks(sleeps) unless verify is set to false /proc/send_asset(var/client/client, var/asset_name, var/verify = TRUE) -<<<<<<< HEAD - if(!istype(client)) - if(ismob(client)) - var/mob/M = client - if(M.client) - client = M.client - - else - return 0 - - else - return 0 -======= client = CLIENT_FROM_VAR(client) // Will get client from a mob, or accept a client, or return null if(!istype(client)) return 0 ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) if(client.cache.Find(asset_name) || client.sending.Find(asset_name)) return 0 @@ -79,23 +65,9 @@ You can set verify to TRUE if you want send() to sleep until the client has the //This proc blocks(sleeps) unless verify is set to false /proc/send_asset_list(var/client/client, var/list/asset_list, var/verify = TRUE) -<<<<<<< HEAD - if(!istype(client)) - if(ismob(client)) - var/mob/M = client - if(M.client) - client = M.client - - else - return 0 - - else - return 0 -======= client = CLIENT_FROM_VAR(client) // Will get client from a mob, or accept a client, or return null if(!istype(client)) return 0 ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) var/list/unreceived = asset_list - (client.cache + client.sending) if(!unreceived || !unreceived.len) diff --git a/code/modules/vchat/css/ss13styles.css b/code/modules/vchat/css/ss13styles.css index 00c05d865f4..375ebb5d808 100644 --- a/code/modules/vchat/css/ss13styles.css +++ b/code/modules/vchat/css/ss13styles.css @@ -124,10 +124,7 @@ body.inverted { .emote {} .alert {color: #ff0000;} h1.alert, h2.alert {color: #000000;} -<<<<<<< HEAD .nif {} /* VOREStation Add */ -======= ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) /* Game Messages */ @@ -160,11 +157,7 @@ h1.alert, h2.alert {color: #000000;} .soghun {color: #228B22;} .solcom {color: #22228B;} .changeling {color: #800080;} -<<<<<<< HEAD .sergal {color: #0077FF;} -======= -.sergal {color: #0077FF; font-family: "Comic Sans MS";} ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) .birdsongc {color: #CC9900;} .vulpkanin {color: #B97A57;} .enochian {color: #848A33; letter-spacing:-1pt; word-spacing:4pt; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;} diff --git a/code/modules/vchat/js/vchat.js b/code/modules/vchat/js/vchat.js index 22f9f5719dc..634cbbfe90f 100644 --- a/code/modules/vchat/js/vchat.js +++ b/code/modules/vchat/js/vchat.js @@ -152,11 +152,7 @@ function start_vue() { admin: false }, { -<<<<<<< HEAD - matches: ".notice, .adminnotice, .info, .sinister, .cult", -======= matches: ".notice:not(.pm), .adminnotice, .info, .sinister, .cult", ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) becomes: "vc_info", pretty: "Notices", tooltip: "Non-urgent messages from the game and items", @@ -164,11 +160,7 @@ function start_vue() { admin: false }, { -<<<<<<< HEAD - matches: ".critical, .danger, .userdanger, .warning, .italics", -======= matches: ".critical, .danger, .userdanger, .warning:not(.pm), .italics", ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) becomes: "vc_warnings", pretty: "Warnings", tooltip: "Urgent messages from the game and items", @@ -191,7 +183,6 @@ function start_vue() { required: false, admin: false }, -<<<<<<< HEAD //VOREStation Add Start { matches: ".nif", @@ -202,8 +193,6 @@ function start_vue() { admin: false }, //VOREStation Add End -======= ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) { matches: ".pm", becomes: "vc_adminpm", @@ -685,11 +674,7 @@ function start_vue() { hiddenElement.target = '_blank'; hiddenElement.download = filename; hiddenElement.click(); -<<<<<<< HEAD //Probably what will end up getting used -======= - //Probably what will end up getting used ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) } else { var blob = new Blob([textToSave], {type: 'text/html;charset=utf8;'}); saved = window.navigator.msSaveOrOpenBlob(blob, filename); diff --git a/code/modules/vchat/vchat_client.dm b/code/modules/vchat/vchat_client.dm index d52daab2e2e..0e8f0051361 100644 --- a/code/modules/vchat/vchat_client.dm +++ b/code/modules/vchat/vchat_client.dm @@ -103,11 +103,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic owner << browse(file2text("code/modules/vchat/html/vchat.html"), "window=htmloutput") //Check back later -<<<<<<< HEAD spawn(15 SECONDS) -======= - spawn(60 SECONDS) ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) if(!src) return if(!src.loaded) @@ -144,13 +140,10 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic /datum/chatOutput/proc/become_broken() broken = TRUE loaded = FALSE -<<<<<<< HEAD -======= if(!owner) qdel(src) return ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) update_vis() diff --git a/interface/skin.dmf b/interface/skin.dmf index 58d21914650..2892676bcab 100644 --- a/interface/skin.dmf +++ b/interface/skin.dmf @@ -474,12 +474,9 @@ macro "hotkeymode" elem name = "5" command = ".me" -<<<<<<< HEAD elem name = "6" command = "subtle" -======= ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) elem name = "A+REP" command = ".moveleft" @@ -1254,10 +1251,7 @@ window "outputwindow" style = ".system {color:#FF0000;}" max-lines = 0 saved-params = "" -<<<<<<< HEAD -======= enable-http-images = true ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) window "rpane" elem "rpane" @@ -1424,10 +1418,6 @@ window "infowindow" is-default = true saved-params = "" highlight-color = #00aa00 -<<<<<<< HEAD -======= - allow-html = true ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761) on-show = ".winset\"rpane.infob.is-visible=true;rpane.browseb.is-visible=true?rpane.infob.pos=130,0:rpane.infob.pos=65,0 rpane.textb.is-visible=true rpane.infob.is-checked=true rpane.rpanewindow.pos=0,30 rpane.rpanewindow.size=0x0 rpane.rpanewindow.left=infowindow\"" on-hide = ".winset\"rpane.infob.is-visible=false;rpane.browseb.is-visible=true?rpane.browseb.is-checked=true rpane.rpanewindow.left=browserwindow:rpane.textb.is-visible=true rpane.rpanewindow.pos=0,30 rpane.rpanewindow.size=0x0 rpane.rpanewindow.left=\"" diff --git a/vorestation.dme b/vorestation.dme index 2fdb53260af..c8b0c2b9166 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -1654,10 +1654,7 @@ #include "code\modules\catalogue\catalogue_data_vr.dm" #include "code\modules\catalogue\cataloguer.dm" #include "code\modules\catalogue\cataloguer_visuals.dm" -<<<<<<< HEAD:vorestation.dme #include "code\modules\catalogue\cataloguer_vr.dm" -======= ->>>>>>> 715de43... VChat: Redone chat output done in Vue.js (#6761):polaris.dme #include "code\modules\client\asset_cache.dm" #include "code\modules\client\client defines.dm" #include "code\modules\client\client procs.dm"