[Ohrrpgce] wip r13906: Add a saveitemdata overload that converts ItemDef back into ITM formatted itembuf()

James Paige Bob at hamsterrepublic.com
Fri Jun 27 03:30:39 PDT 2025


Yes, I want to fix up the item editor, and I am working towards replacing
ITM format with items.reld so it will be easier to add item features. I'm
also going to enable longer item descriptions

On Fri, Jun 27, 2025, 2:02 AM Ralph Versteegen via Ohrrpgce <
ohrrpgce at lists.motherhamster.org> wrote:

> It's wonderful to almost be rid of itembuf() code! That was some of the
> ugliest around. Off the top of my head, I think that aside from the
> item/enemy/attack editors, only a little bit of code touching gmap() still
> uses magic indices. Are you going to refactor the item editor now?
>
> On Thu, 26 Jun 2025 at 12:21, cron--- via Ohrrpgce <
> ohrrpgce at lists.motherhamster.org> wrote:
>
>>
>> https://github.com/ohrrpgce/ohrrpgce/commit/34590426d40602f87958392c3cf59d490fd71631
>> Author: james <james at 7d344553-34f0-0310-a9b1-970ce8f1c3a2>
>> Date:   Thu Jun 26 00:15:33 2025 +0000
>>
>>     Add a saveitemdata overload that converts ItemDef back into ITM
>> formatted itembuf()
>>
>>
>>  loading.bi   |  3 ++-
>>  loading.rbas | 59
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 61 insertions(+), 1 deletion(-)
>>
>>
>>
>> _______________________________________________
>> 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/20250627/4d53ab5c/attachment-0001.htm>


More information about the Ohrrpgce mailing list