[Ohrrpgce] SVN: teeemcee/9796 Add findrgb(), as using UI cols in Custom is madness. Change mapedit pos

James Paige Bob at hamsterrepublic.com
Wed Nov 29 09:12:32 PST 2017


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?

On Wed, Nov 29, 2017 at 8:43 AM, Ralph Versteegen <teeemcee at gmail.com>
wrote:

> Yep, I wanted to implement that too.
> 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.
>
>
> On 30 November 2017 at 05:16, James Paige <Bob at hamsterrepublic.com> wrote:
>
>> That sounds good to me.
>>
>> We should probably also eventually add the ability to specify slice
>> colors as rgb for in-editor slice collections.
>>
>> On Wed, Nov 29, 2017 at 7:36 AM, <subversion at hamsterrepublic.com> wrote:
>>
>>> teeemcee
>>> 2017-11-29 07:36:46 -0800 (Wed, 29 Nov 2017)
>>> 456
>>> Add findrgb(), as using UI cols in Custom is madness. Change mapedit
>>> position finder colors
>>>
>>> Yes, these colors are now given as RGB triples instead of uicol
>>> constants.
>>> (It was too hard to see the zone minimap over the screen position rect)
>>>
>>> I still think we should have a second UI cols menu with editor colours,
>>> basically for theming, but it would be too much trouble to put
>>> everything there.
>>> But we should definitely stop using in-game UI cols in Custom.
>>> ---
>>> U   wip/allmodex.bas
>>> U   wip/allmodex.bi
>>> U   wip/custom.bas
>>> U   wip/gfx_sdl.bas
>>> U   wip/gfx_sdl2.bas
>>> U   wip/mapsubs.bas
>>> U   wip/whatsnew.txt
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>>
>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20171129/97370dca/attachment.html>


More information about the Ohrrpgce mailing list