[Ohrrpgce] SVN: teeemcee/8842 ZoneMap optimisation: keep empty IDmap slots shuffled to the end, so tha

Ralph Versteegen teeemcee at gmail.com
Fri Jun 9 13:13:24 PDT 2017


Argh! It took me a long time to get this change apparently correct.
I'm able to reproduce it. Thank goodness for macros! Hopefully won't be too
difficult to track down.

On 10 June 2017 at 07:44, James Paige <Bob at hamsterrepublic.com> wrote:

> I just had a crash while editing zone 1 in the map editor. I was removing
> a tile from the zone, leaving 4 tiles remaining
>
> Breakpoint 1, 0x08334d40 in fb_End ()
> misc/gdbcmds1.txt:15: Error in sourced command file:
> Invalid type combination in equality test.
> Dumping state
> $1 = 0x838d700 <__fb_errmsg> "\nAborting due to runtime error 7 (null
> pointer access) at line 1103 of loading.rbas::ZONEBITMASKFROMIDMAP()\n\n"
> $2 = {data = 0x84027a8 "gfx_sdl \"SDL 1.2.15 (0 joysticks) Driver:x11\"",
> len = 45, size = 72}
> $3 = {
>   data = 0x8469df0 "music_sdl, SDL_Mixer 1.2.12 (22050Hz, Music
> decoders:WAVE,MIKMOD,TIMIDITY,OGG,FLAC,MP3 Sample
> decoders:WAVE,AIFF,VOC,OGG,FLAC)", len = 126, size = 128}
> $4 = {data = 0x0, len = 0, size = 0}
>   Id   Target Id         Frame
>   3    Thread 0xf2b41b40 (LWP 13184) "ohrrpgce-custom" 0xf7fdb440 in
> __kernel_vsyscall ()
> * 1    Thread 0xf6fd7700 (LWP 13179) "ohrrpgce-custom" 0x08334d40 in
> fb_End ()
> #0  0x08334d40 in fb_End ()
> -
>
> On Fri, Jun 9, 2017 at 9:48 AM, <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2017-06-09 09:48:21 -0700 (Fri, 09 Jun 2017)
>> 115
>> ZoneMap optimisation: keep empty IDmap slots shuffled to the end, so that
>> we can early exit when scanning the IDmap
>> ---
>> U   wip/loading.rbas
>> _______________________________________________
>> 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/20170610/3d44483c/attachment.htm>


More information about the Ohrrpgce mailing list