From: Rudolf Polzer Date: Fri, 27 Aug 2010 08:35:06 +0000 (+0200) Subject: Merge branch 'master' into divVerent/crypto2 X-Git-Tag: xonotic-v0.1.0preview~125^2~59 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=12fe42d7f5037b53c863189c0ff45ab19042a339;hp=93b2b357082ec5abb160b6cd1be7261d995ccd28 Merge branch 'master' into divVerent/crypto2 --- diff --git a/all b/all index 32cf72ee..f4fcb8f8 100755 --- a/all +++ b/all @@ -919,9 +919,10 @@ case "$cmd" in force=true fi for d in $repos; do - enter "$d0/$d" verbose + verbose cd "$d0/$d" if $force; then - verbose git checkout-index -fa + verbose git reset --hard + #redundant# verbose git checkout-index -fa fi case "$d" in .) diff --git a/misc/logos/icons_icns/Xonotic.icns b/misc/logos/icons_icns/Xonotic.icns index 4129b9fc..7fda0305 100644 Binary files a/misc/logos/icons_icns/Xonotic.icns and b/misc/logos/icons_icns/Xonotic.icns differ diff --git a/misc/logos/icons_ico/xonotic_128.ico b/misc/logos/icons_ico/xonotic_128.ico index 7b64c4df..c5889032 100644 Binary files a/misc/logos/icons_ico/xonotic_128.ico and b/misc/logos/icons_ico/xonotic_128.ico differ diff --git a/misc/logos/icons_ico/xonotic_16.ico b/misc/logos/icons_ico/xonotic_16.ico index 77fd48fe..e6047f9c 100644 Binary files a/misc/logos/icons_ico/xonotic_16.ico and b/misc/logos/icons_ico/xonotic_16.ico differ diff --git a/misc/logos/icons_ico/xonotic_22.ico b/misc/logos/icons_ico/xonotic_22.ico new file mode 100644 index 00000000..0b8208ea Binary files /dev/null and b/misc/logos/icons_ico/xonotic_22.ico differ diff --git a/misc/logos/icons_ico/xonotic_24.ico b/misc/logos/icons_ico/xonotic_24.ico index 2b3d8d5d..6dc45574 100644 Binary files a/misc/logos/icons_ico/xonotic_24.ico and b/misc/logos/icons_ico/xonotic_24.ico differ diff --git a/misc/logos/icons_ico/xonotic_256.ico b/misc/logos/icons_ico/xonotic_256.ico index 632d5a9e..8ee2236d 100644 Binary files a/misc/logos/icons_ico/xonotic_256.ico and b/misc/logos/icons_ico/xonotic_256.ico differ diff --git a/misc/logos/icons_ico/xonotic_32.ico b/misc/logos/icons_ico/xonotic_32.ico index bd5407e2..b470163c 100644 Binary files a/misc/logos/icons_ico/xonotic_32.ico and b/misc/logos/icons_ico/xonotic_32.ico differ diff --git a/misc/logos/icons_ico/xonotic_48.ico b/misc/logos/icons_ico/xonotic_48.ico index 9f82051d..7cf932a8 100644 Binary files a/misc/logos/icons_ico/xonotic_48.ico and b/misc/logos/icons_ico/xonotic_48.ico differ diff --git a/misc/logos/icons_ico/xonotic_512.ico b/misc/logos/icons_ico/xonotic_512.ico deleted file mode 100644 index 3e13491b..00000000 Binary files a/misc/logos/icons_ico/xonotic_512.ico and /dev/null differ diff --git a/misc/logos/icons_ico/xonotic_64.ico b/misc/logos/icons_ico/xonotic_64.ico index f9113474..a1d99e89 100644 Binary files a/misc/logos/icons_ico/xonotic_64.ico and b/misc/logos/icons_ico/xonotic_64.ico differ diff --git a/misc/logos/icons_png/xonotic_128.png b/misc/logos/icons_png/xonotic_128.png index 0d3847cb..231b398e 100644 Binary files a/misc/logos/icons_png/xonotic_128.png and b/misc/logos/icons_png/xonotic_128.png differ diff --git a/misc/logos/icons_png/xonotic_16.png b/misc/logos/icons_png/xonotic_16.png index 6521710b..da27c138 100644 Binary files a/misc/logos/icons_png/xonotic_16.png and b/misc/logos/icons_png/xonotic_16.png differ diff --git a/misc/logos/icons_png/xonotic_22.png b/misc/logos/icons_png/xonotic_22.png index 3037e3cb..f237f1bd 100644 Binary files a/misc/logos/icons_png/xonotic_22.png and b/misc/logos/icons_png/xonotic_22.png differ diff --git a/misc/logos/icons_png/xonotic_24.png b/misc/logos/icons_png/xonotic_24.png index 1b07ffc9..5d71d8d4 100644 Binary files a/misc/logos/icons_png/xonotic_24.png and b/misc/logos/icons_png/xonotic_24.png differ diff --git a/misc/logos/icons_png/xonotic_256.png b/misc/logos/icons_png/xonotic_256.png index 699cf502..3581eaf3 100644 Binary files a/misc/logos/icons_png/xonotic_256.png and b/misc/logos/icons_png/xonotic_256.png differ diff --git a/misc/logos/icons_png/xonotic_32.png b/misc/logos/icons_png/xonotic_32.png index a5df3839..a62affb4 100644 Binary files a/misc/logos/icons_png/xonotic_32.png and b/misc/logos/icons_png/xonotic_32.png differ diff --git a/misc/logos/icons_png/xonotic_48.png b/misc/logos/icons_png/xonotic_48.png index 70677c32..244ead9f 100644 Binary files a/misc/logos/icons_png/xonotic_48.png and b/misc/logos/icons_png/xonotic_48.png differ diff --git a/misc/logos/icons_png/xonotic_512.png b/misc/logos/icons_png/xonotic_512.png index 7e3d6367..43ca8fba 100644 Binary files a/misc/logos/icons_png/xonotic_512.png and b/misc/logos/icons_png/xonotic_512.png differ diff --git a/misc/logos/icons_png/xonotic_64.png b/misc/logos/icons_png/xonotic_64.png index 48381cb9..198651a4 100644 Binary files a/misc/logos/icons_png/xonotic_64.png and b/misc/logos/icons_png/xonotic_64.png differ diff --git a/misc/logos/icons_xpm/xonotic_32.xpm b/misc/logos/icons_xpm/xonotic_32.xpm index 0903e109..cdd7f441 100644 --- a/misc/logos/icons_xpm/xonotic_32.xpm +++ b/misc/logos/icons_xpm/xonotic_32.xpm @@ -2,126 +2,126 @@ static char * xonotic_32_xpm[] = { "32 32 92 1", " c None", -". c #01070B", -"+ c #150400", -"@ c #000A12", -"# c #0E0805", -"$ c #1B0500", -"% c #000D19", -"& c #250700", -"* c #220800", -"= c #00101F", -"- c #2C0900", -"; c #0C1118", -"> c #14100D", -", c #101114", -"' c #021528", -") c #320B00", -"! c #1D120D", -"~ c #390B03", -"{ c #400A01", -"] c #3B0D00", -"^ c #0A172F", -"/ c #440D00", -"( c #231713", -"_ c #091D34", -": c #051F3F", -"< c #2B190D", -"[ c #30180D", -"} c #38160B", -"| c #141E29", -"1 c #201D22", -"2 c #0A2544", -"3 c #332018", -"4 c #551804", -"5 c #461D0A", -"6 c #0A284F", -"7 c #052956", -"8 c #3A2113", -"9 c #501E05", -"0 c #142A40", -"a c #452115", -"b c #0E2F4F", -"c c #442717", -"d c #10325A", -"e c #602309", -"f c #093467", -"g c #00376F", -"h c #003A66", -"i c #5A2912", -"j c #482D29", -"k c #113B75", -"l c #163C6A", -"m c #443436", -"n c #643013", -"o c #5B321C", -"p c #712D10", -"q c #6C2F0F", -"r c #2C3F53", -"s c #1B4573", -"t c #174983", -"u c #244A73", -"v c #7A3C1A", -"w c #5E4140", -"x c #6A402B", -"y c #863F1B", -"z c #235394", -"A c #265482", -"B c #285489", -"C c #8E461E", -"D c #994619", -"E c #914826", -"F c #53556B", -"G c #8C4C28", -"H c #2F5D99", -"I c #2462A6", -"J c #475E79", -"K c #316295", -"L c #3F6892", -"M c #A65524", -"N c #2A6DB7", -"O c #4D6B91", -"P c #3373B4", -"Q c #3C72AD", -"R c #4673AA", -"S c #337AC8", -"T c #397AC2", -"U c #417EC0", -"V c #4A81BD", -"W c #6386AF", -"X c #5C89BB", -"Y c #7396C1", -"Z c #87AACF", -"` c #91BBE2", +". c #000509", +"+ c #0F0303", +"@ c #150400", +"# c #1B0400", +"$ c #010C14", +"% c #220700", +"& c #010F1A", +"* c #250700", +"= c #2B0900", +"- c #011321", +"; c #310A03", +"> c #001628", +", c #330B00", +"' c #390B03", +") c #400A01", +"! c #3C0E00", +"~ c #051A31", +"{ c #331103", +"] c #430D00", +"^ c #4D1002", +"/ c #0A1F36", +"( c #141E29", +"_ c #451A07", +": c #082743", +"< c #0A273F", +"[ c #4F1D08", +"} c #5B1B07", +"| c #182C3F", +"1 c #0C2F51", +"2 c #5D2409", +"3 c #65240A", +"4 c #562812", +"5 c #4D2C1B", +"6 c #0D3A65", +"7 c #662A06", +"8 c #722D0F", +"9 c #743101", +"0 c #2C3F53", +"a c #77310A", +"b c #1A4673", +"c c #7C3908", +"d c #683D29", +"e c #733B1E", +"f c #823A03", +"g c #214C76", +"h c #8B3E18", +"i c #8F410D", +"j c #963F11", +"k c #604D4A", +"l c #255A88", +"m c #255A9B", +"n c #295B8F", +"o c #9F4610", +"p c #984A17", +"q c #255EA5", +"r c #1761B1", +"s c #9A4A21", +"t c #A54C15", +"u c #475E79", +"v c #346399", +"w c #A2511E", +"x c #3E6792", +"y c #5C6272", +"z c #266BBB", +"A c #2271BD", +"B c #4D6C8F", +"C c #3C6FA5", +"D c #B15A26", +"E c #3472BA", +"F c #3373B4", +"G c #3479C1", +"H c #4178AE", +"I c #287ED1", +"J c #347CCA", +"K c #387FC7", +"L c #4380C1", +"M c #3A84D2", +"N c #5489C0", +"O c #488CD4", +"P c #648AB7", +"Q c #628DB2", +"R c #678DBA", +"S c #5691CC", +"T c #748CA8", +"U c #5F9AD7", +"V c #6D99CC", +"W c #74A4DA", +"X c #81A4C9", +"Y c #7AACDC", +"Z c #8DBCE9", +"` c #98C2EA", " ", -" ========== ", -" :0'==%%%%%%=='0: ", -" dOb'%%%%%%%%%%'bOd ", -" LW:^=%%%@@@@%%%=^:WL ", -" LY6'%%@@@@@@@@@@@%'6YL ", -" AZ6^%@@@@@@@@.,,,,,%'6ZA ", -" s`s^=@@@@@...>(8Gcxx31_s`s ", -" fYY:=%@@@...>(oGy4ye4Ex12YYf ", -" BZB^%@@@...![C4{{{{{{{{4yv3,%:UAI ", -" NAN:%@.!aD/]]]]]]]]pv[!>@%:NAN ", -" SsN:@,(oy4D]~~~~~~pn*#..@%:NsS ", -"fTlS:;(nDyMe))))))]v*#...@%:SlTf", -"gTlT21vDnvpe))))))p[##...@%:TlTg", -" ThPd183nDvq------q<#....@=7PhT ", -" SdBz_;>[8n]------n[#....@^zBdS ", -" IsbT6=.>,;_IsbKg ", -" gT22Pd1ci*********&ii831dP22Tg ", -" zu2bTw5$$$$$$$$$$$$*5ixUb2uz ", -" gT__0Vw)$$$$$$$$$$$$}wV0__Tg ", -" tK___QFa*++++++++*aFQ___Kt ", -" Iu'''uQOj}++++}jOQu'''uI ", -" kNu====0KRa##aRK0====uNk ", -" kIL%%%%%0O**O0%%%%%LIk ", -" tVr@@@@OmmO@@@@rVt ", -" gHXJ|.;YY;.|JXHg ", -" ggRXWYYWXRgg ", -" ff "} +" ", +" E E ", +" AUG EUA ", +" SW WS ", +" SY YS ", +" LZr rZL ", +" E`E cwcppc E`E ", +" YW pwh}h3}sp WY ", +" GXL w8hD8^3swD LXG ", +" VR is^]8h^ai9 RV ", +" zxS p8]]]]]]Dpptf Sxz ", +" JlO t}))))))))}io OlJ ", +" MgJ fo]!!!!!!!!8o JgM ", +" MbI ih}t!''''''8i IbM ", +" K6M ijht3,,,,,,!i M6K ", +" K6K otffa3;;;;;;a9 K6K ", +" K6Fq f ftia======a rF6K ", +" M1nz f!======a An1M ", +" Ib1K a*******29 K1bI ", +" rv1bJ c[%%%%%%%%a9 Jb1vr ", +" K::Fq c7%%%%%%%%%*2a9 mF::K ", +" Ag:1Le_############%_2eH1:gA ", +" K//:Hd{############{dH://K ", +" zv~~/Ck[%@@@@@@@@%[kC/~~vz ", +" Jg>>>gCy4!@++@!4yCg>>>gJ ", +" Jg---- + inkscape:export-xdpi="30" + inkscape:export-ydpi="30"> - - - - - - - + stdDeviation="0.79447464" + id="feGaussianBlur3636" /> + + + image/svg+xml - Xonotic Icon + 2010 @@ -241,19 +220,15 @@ - + style="fill:#174f8f;fill-opacity:1;stroke:#175faf;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter3634)" /> + style="fill:#5f1f00;fill-opacity:1;stroke:#6f2f00;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter3621)" + sodipodi:nodetypes="cccccccsccccccccccc" /> w/2) fx -= w; if(fy > h/2) fy -= h; + /* these must have the same sign as fx and fy (so ffx*fx + ffy*fy is nonzero), otherwise do not matter */ + /* it basically decides how artifacts are distributed */ + ffx = fx; + ffy = fy; #ifdef C99 if(fx||fy) - freqspace1[(w*y+x)] = _Complex_I * (fx * freqspace1[(w*y+x)] + fy * freqspace2[(w*y+x)]) / (fx*fx + fy*fy) / TWO_PI; + freqspace1[(w*y+x)] = _Complex_I * (ffx * freqspace1[(w*y+x)] + ffy * freqspace2[(w*y+x)]) / (ffx*fx + ffy*fy) / TWO_PI; else freqspace1[(w*y+x)] = 0; #else if(fx||fy) { save = freqspace1[(w*y+x)][0]; - freqspace1[(w*y+x)][0] = -(fx * freqspace1[(w*y+x)][1] + fy * freqspace2[(w*y+x)][1]) / (fx*fx + fy*fy) / TWO_PI; - freqspace1[(w*y+x)][1] = (fx * save + fy * freqspace2[(w*y+x)][0]) / (fx*fx + fy*fy) / TWO_PI; + freqspace1[(w*y+x)][0] = -(ffx * freqspace1[(w*y+x)][1] + ffy * freqspace2[(w*y+x)][1]) / (ffx*fx + ffy*fy) / TWO_PI; + freqspace1[(w*y+x)][1] = (ffx * save + ffy * freqspace2[(w*y+x)][0]) / (ffx*fx + ffy*fy) / TWO_PI; } else { @@ -235,9 +241,9 @@ void hmap_to_nmap(unsigned char *map, int w, int h, int src_chan, double scale) fftw_complex *imgspace2 = fftw_malloc(w*h * sizeof(fftw_complex)); fftw_complex *freqspace1 = fftw_malloc(w*h * sizeof(fftw_complex)); fftw_complex *freqspace2 = fftw_malloc(w*h * sizeof(fftw_complex)); - fftw_plan i12f1 = fftw_plan_dft_2d(w, h, imgspace1, freqspace1, FFTW_FORWARD, FFTW_ESTIMATE); - fftw_plan f12i1 = fftw_plan_dft_2d(w, h, freqspace1, imgspace1, FFTW_BACKWARD, FFTW_ESTIMATE); - fftw_plan f22i2 = fftw_plan_dft_2d(w, h, freqspace2, imgspace2, FFTW_BACKWARD, FFTW_ESTIMATE); + fftw_plan i12f1 = fftw_plan_dft_2d(h, w, imgspace1, freqspace1, FFTW_FORWARD, FFTW_ESTIMATE); + fftw_plan f12i1 = fftw_plan_dft_2d(h, w, freqspace1, imgspace1, FFTW_BACKWARD, FFTW_ESTIMATE); + fftw_plan f22i2 = fftw_plan_dft_2d(h, w, freqspace2, imgspace2, FFTW_BACKWARD, FFTW_ESTIMATE); for(y = 0; y < h; ++y) for(x = 0; x < w; ++x) diff --git a/misc/tools/rebrand-darkplaces-engine.sh b/misc/tools/rebrand-darkplaces-engine.sh index 9c785ff4..0e911bb3 100755 --- a/misc/tools/rebrand-darkplaces-engine.sh +++ b/misc/tools/rebrand-darkplaces-engine.sh @@ -10,6 +10,7 @@ userdirname=darkplaces icon_icns=Darkplaces.app/Contents/Resources/Darkplaces.icns icon_ico=darkplaces.ico icon_xpm=darkplaces.xpm +icons_tga= if [ -z "$1" ] || [ x"$1" = x"--help" ]; then echo "Usage: $0 brandfile binaries..." @@ -64,8 +65,17 @@ for EXECUTABLE in "$@"; do if $uses_xpm; then cp "$icon_xpm" "$t/darkplaces-icon.xpm" + cnt= + for i in $icons_tga; do + convert "$i" "$t/darkplaces-icon$cnt.tga" + if [ -z "$cnt" ]; then + cnt=2 + else + cnt=$(($cnt+1)) + fi + done cd "$t" - zip -9r darkplaces-this.zip darkplaces-icon.xpm + zip -9r darkplaces-this.zip darkplaces-icon* cd "$d" fi diff --git a/misc/tools/xonotic.brand b/misc/tools/xonotic.brand index 14ac4fc2..af1ed9ec 100644 --- a/misc/tools/xonotic.brand +++ b/misc/tools/xonotic.brand @@ -7,3 +7,4 @@ userdirname=xonotic icon_icns="$d0/misc/logos/icons_icns/xonotic.icns" icon_ico="$d0/misc/logos/icons_ico/xonotic_64.ico" icon_xpm="$d0/misc/logos/icons_xpm/xonotic_32.xpm" +icons_tga="$d0/misc/logos/icons_png/xonotic_64.png $d0/misc/logos/icons_png/xonotic_16.png $d0/misc/logos/icons_png/xonotic_22.png $d0/misc/logos/icons_png/xonotic_24.png $d0/misc/logos/icons_png/xonotic_32.png $d0/misc/logos/icons_png/xonotic_48.png $d0/misc/logos/icons_png/xonotic_128.png $d0/misc/logos/icons_png/xonotic_256.png $d0/misc/logos/icons_png/xonotic_512.png"