<div dir="ltr">Ah, yes. The hint does sound better.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 9:21 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I think it's a lot easier to just use the nearcolor() index_hint argument,  as I mentioned. If the 'hint' color in the master palette has the RGB we're looking for, then it gets used instead of doing a search, so the color indices will be preserved.</div><div>We could even include RGB triples for slices which use a UI color, just in case someone wants  them someday - the UI colors between games might be quite different.<br></div><div><div class="h5"><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 30 November 2017 at 06:12, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Would it be useful for an exported slice collection to include a hash of the master palette, so on import it will know whether to use the stored indexes or fall back to rgbs?<br></div></div><div class="m_-1700295488632531614m_-7708802256625426759HOEnZb"><div class="m_-1700295488632531614m_-7708802256625426759h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 8:43 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yep, I wanted to implement that too.<br></div>In fact, I guess we should always save all colors as RGB triples when you export a .slices file, so that they can be interpreted if you load them into a different game. (The RGB can be in addition to the color index, with the index serving as the nearcolor() hint). It could even be used for normal slice collections too, if you want the colors to remain mostly the same if you change the master palette (especially for all the builtin menu slice collections). So maybe we should have a general bitset for whether to save slice colors by index or by RGB.<div><div class="m_-1700295488632531614m_-7708802256625426759m_-793324184008360716h5"><br><br><div><div><div><div class="gmail_extra"><div class="gmail_quote">On 30 November 2017 at 05:16, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>That sounds good to me.<br><br></div>We should probably also eventually add the ability to specify slice colors as rgb for in-editor slice collections.<br></div><div class="m_-1700295488632531614m_-7708802256625426759m_-793324184008360716m_2160685050777053696HOEnZb"><div class="m_-1700295488632531614m_-7708802256625426759m_-793324184008360716m_2160685050777053696h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 7:36 AM,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2017-11-29 07:36:46 -0800 (Wed, 29 Nov 2017)<br>
456<br>
Add findrgb(), as using UI cols in Custom is madness. Change mapedit position finder colors<br>
<br>
Yes, these colors are now given as RGB triples instead of uicol constants.<br>
(It was too hard to see the zone minimap over the screen position rect)<br>
<br>
I still think we should have a second UI cols menu with editor colours,<br>
basically for theming, but it would be too much trouble to put everything there.<br>
But we should definitely stop using in-game UI cols in Custom.<br>
---<br>
U   wip/allmodex.bas<br>
U   wip/<a href="http://allmodex.bi" rel="noreferrer" target="_blank">allmodex.bi</a><br>
U   wip/custom.bas<br>
U   wip/gfx_sdl.bas<br>
U   wip/gfx_sdl2.bas<br>
U   wip/mapsubs.bas<br>
U   wip/whatsnew.txt<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div>