From 56da3af83b26c042cc40ab5692c3e81ceed1f0fa Mon Sep 17 00:00:00 2001 From: Michael Schmatz Date: Sat, 25 Oct 2014 17:00:54 -0400 Subject: [PATCH 1/3] Publish "tome:spell-loaded" on spell reloading --- app/views/play/level/tome/SpellView.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/play/level/tome/SpellView.coffee b/app/views/play/level/tome/SpellView.coffee index f1dd39be6..2ac037461 100644 --- a/app/views/play/level/tome/SpellView.coffee +++ b/app/views/play/level/tome/SpellView.coffee @@ -375,6 +375,7 @@ module.exports = class SpellView extends CocoView reloadCode: (cast=true) -> @updateACEText @spell.originalSource @recompile cast + Backbone.Mediator.publish 'tome:spell-loaded', spell: @spell recompileIfNeeded: => @recompile() if @recompileNeeded From 4b62ba95d3837805a5be740fc5743d05842c3ab0 Mon Sep 17 00:00:00 2001 From: George Saines Date: Sat, 25 Oct 2014 15:59:02 -0700 Subject: [PATCH 2/3] making the arrow bigger/more visible --- app/assets/images/level/pointer.png | Bin 6920 -> 15993 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/assets/images/level/pointer.png b/app/assets/images/level/pointer.png index e158b18c4c07a62d618e43a9dac035e2d0981515..af721f6355c30d90739a1570d8eff129b43070df 100644 GIT binary patch literal 15993 zcmZ{LcRZEv|Nn8Ea*V>U!|6B15&hhv9v+poh+wqPCQmo&+FG} zCbgg5e9PWhwN2GJk)aL>wwThcL{`?76WHv_om!mC@N0Q3EkgBsqod=dg)ZNJO&W|$ z`Z_%()YR(>3l(3hvLEw=^2EnuprNZg>1EYlyt5ZSTT2LprhP^Wq|0m{9m-tfx8~pe z{4{HQ+jmgrET0#2mzcy?NIS;XI$yPBF!fP*NFrbD#<)mp`I@8fY+#mxOY8*=%8N?R z`9ZwA(YhwArG8aG*N{;T+3L?W%eNN?-rh|DK_SI*nes**g|1iGo@*BMt3=sT;uF1; zywjatv3|~`O2;5T(4@OUM^)iY^huuHH1@AF9DQR+1yBtNB8Y)mAkx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x%46km<9LLC+~ds}}gjnOCURjZ=-Lr6)|hQ*2!j4P6aNhxkwQa=f^Hy-;g-U&X0?#x z%k}Gd^UcXBeCSm{)Mnxo;4K+RzF4ysfWT=p@Z0bW^2p0koH!q&aSTaG>zF)gk_sOx zLCQtXt>uQnKum~>i(|%&82|*lF#*f=op=nl93_hv2szfRTgQY66ObTN(`cdOC>Ld3 z6>eO+b}axiXU)PjWg^;;VQA?mJR(Qwl10!YhGR#LFmBv9>FzE{4prv8Ws(4Ll4u&U zXV1p9>^=MjzlL`Fk4fShJp%3SCPIz@0|o$iAepPstkwuTimGfyO60Z#BjV#3F(MxF z^Rc}2DjZMeKf##xCdQN9IO3M0Z=c@e<>e_kJcJe&7KX=BNJ}zz?p&Vk-CIaP*En(i zUHtVeaLaM{@L~G&mXSjc>+SHN5=1T9r6rj+Zyvq-^nqjP=!1qxOQN~u(BhsTH#e7F zPdz0h@oZaAg%%PL!c9euBnN>8m@t3-0{XZmAv*`xu#p(Yj&nn-R{W+j2Jz8 z_7I0>Dmhe|w<0#m?je%^9yV+!0R8&)!}7@oIETigr|je35DRht>C@2eYT}mS5JQI! zy@_%tw4k6MZaRwQ5|RkUjvafwMC)9*80U(W7KU4MR?nZr!@EWXWQxL`GtqJCAG6Ui?};h!#~BA<>wzEMB}A;3mtV&;kMi zQQR^~Isn^{;EwutFmb{}o*nS)Z%)42!H^+CIFofo$#IL&{QU#)0xH}nN&Wiu#pP~! zDlWk1tX( zE#)e_Ylk8ghz629@jZE;l|yY5s-9cAu8#oT0wR&e2F$;CN1rJ)6y=FXAqfmL5yb{1 z0aJlYDj^C*954k~2W%5}@t!y;J&ONp4~_)@00006`CIRtL Date: Sat, 25 Oct 2014 16:26:03 -0700 Subject: [PATCH 3/3] Updated how we're sending over spell palette items to iPad app. --- app/styles/play/world-map-view.sass | 3 +++ app/views/play/level/tome/SpellPaletteView.coffee | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/styles/play/world-map-view.sass b/app/styles/play/world-map-view.sass index 36a3de10f..16a93f859 100644 --- a/app/styles/play/world-map-view.sass +++ b/app/styles/play/world-map-view.sass @@ -291,3 +291,6 @@ $gameControlMargin: 30px body:not(.ipad) #world-map-view .level-info-container pointer-events: none + + .old-levels + display: none diff --git a/app/views/play/level/tome/SpellPaletteView.coffee b/app/views/play/level/tome/SpellPaletteView.coffee index 8597d7579..206725c47 100644 --- a/app/views/play/level/tome/SpellPaletteView.coffee +++ b/app/views/play/level/tome/SpellPaletteView.coffee @@ -225,7 +225,9 @@ module.exports = class SpellPaletteView extends CocoView @entryGroups = _.groupBy @entries, (entry) -> itemsByProp[entry.doc.name]?.get('name') ? 'Hero' iOSEntryGroups = {} for group, entries of @entryGroups - iOSEntryGroups[group] = (entry.doc for entry in entries) + iOSEntryGroups[group] = + item: {name: group, imageURL: itemThangTypes[group]?.getPortraitURL()} + props: (entry.doc for entry in entries) Backbone.Mediator.publish 'tome:palette-updated', thangID: @thang.id, entryGroups: JSON.stringify(iOSEntryGroups) addEntry: (doc, shortenize, tabbify, isSnippet=false, item=null, showImage=false) ->