News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Patch to allow <img src= > Tag in any location using Flowtext.

Started by HaydenRead, December 22, 2015, 08:20:18 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Ters

I just try to follow the style of the surrounding code. That might mean I have to use several styles for one patch.

prissi

I updated this patch to the current version, but I noted that the actual imgloader is not ebdian save and crashes with my test bitmaps (which were loaded perfectly fine before). Also the std stream libary may use exceptions, which are not ok with our current threading default libs. Hence here is an updated version, but it requires more code to make it actually working. Probably using the old code for the BMP header processing. Anyway, I stopped on that, but here is a patch that actually applies.

But all the renaming efforts in the past would make probably any older patch useless; insofar loosing al those previous attachments solved this task also somehow ...

Yona-TYT

Quote from: prissi on March 29, 2017, 03:32:24 AM
I updated this patch to the current version, but I noted that the actual imgloader is not ebdian save and crashes with my test bitmaps (which were loaded perfectly fine before). Also the std stream libary may use exceptions, which are not ok with our current threading default libs. Hence here is an updated version, but it requires more code to make it actually working. Probably using the old code for the BMP header processing. Anyway, I stopped on that, but here is a patch that actually applies.

But all the renaming efforts in the past would make probably any older patch useless; insofar loosing al those previous attachments solved this task also somehow ...
I am very happy to know that the patch is still alive, I hope to soon use this in the tutorial scenario.

Yona-TYT

@prissi
I'm about to release the first stable version of the tutorial, I really need this patch to explain things well.

Dwachs

Parsley, sage, rosemary, and maggikraut.

prissi

It crashes with previously working heightmaps, is not edndian save (Arm, PowerPC) and thus not ready for inclusion. The recent renaming may mean also some further work might be needed.

Yona-TYT

It saddens me to know that this patch was never finished. :-[


It takes a lot to explain some things in the tutorial.