<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2018 at 23:19, 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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 15 May 2018 at 23:14, 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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On 15 May 2018 at 23:01, 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>OK. Might as well add UI colors as an option too, making use of ColorIndex()!<br><br></div><div>I decided to work on some more savefile stuff instead of changing the harm text color. In the process, I noticed that in some games the harm text UI colours, and also other recent UI colors aren't getting initialised correctly!<br></div><div>For example, <a href="http://castleparadox.com/gamelist-display.php?game=850" target="_blank">http://castleparadox.com/gamel<wbr>ist-display.php?game=850</a><br></div><div>This game has no uicolors.bin lump. All colours after vehicle shadow get initialised to garbage. <br></div></div></blockquote><div><br></div></span><div>Wow... I thought the stat assignment screen in this game was suspiciously buggy for a game with such well-written scripts. And odd that the game is so blank when you start.<br>Turns out, this game is utterly broken in current nightlies! It seems a critical intro script (loadsave?) isn't getting called. It plays fine with Ubersetzung.<br></div></div></div></div></blockquote></span></div></div></div></blockquote><div><br></div><div>Oh, I tried again with a nightly build, and this time the intro script ran normally. Seems it was some kind of glitch when selecting the Done option in the stat assignment menu.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div></div></div></div></blockquote></span><div>Argh, Ubersetzung crashed on me in READGLOBALSTRING. I wonder, should I investigate this bug :P <br></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div class="m_-2698633386260467076h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><div class="m_-2698633386260467076m_-4690731431547883251h5"><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2018 at 14:02, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We could change it still. I won't have time to change it myself before tonight's nightly build, but I can change it tomorrow easily, and we can add a note in the IMPORTANT nightly text file.<div class="m_-2698633386260467076m_-4690731431547883251m_-755657509793083219gmail-HOEnZb"><div class="m_-2698633386260467076m_-4690731431547883251m_-755657509793083219gmail-h5"><br><br>On Monday, May 14, 2018, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2018 at 13:08, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>This is great! I know Surlaw has been begging for this for years.<br><br></div>Note, we have a problem with text slice colors. Unfortunately text and other slices were implemented with 0=default color, 1-255=color from master palette, and <=-1 typically meaning a UI color. (Implemented by ColorIndex in loading.rbas, until recently called SliceColr)<br>This means that color 0 is not an option! In order to allow converting menus to slices in the future, I used the same color numbering scheme for menu item colors. I decided being able to use color 0 doesn't actually matter much. This does actually have an advantage: the master palette colors aren't offset by one, so you don't have to remember to add/subtract one when manipulating slice or menu item colors in a script, which I'm sure would trip many people up. And color 0 is often available as uiBackground anyway.<br><br></div>The same problem now exists with converting damage text in battles to text slices, which now seems to be impossible.<br></div></blockquote><div><br></div><div>Well, I guess it would be possible to find the nearest match to color 0 amongst colors 1-255. The same hack that's also done with uiShadow, which can't be 0.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2018 at 10:45,  <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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">james<br>
2018-05-14 15:45:06 -0700 (Mon, 14 May 2018)<br>
79<br>
Add support in battle for UI colors for Damage, Heal, Absorb, Poison, and Regen<br>
---<br>
U   wip/<a href="http://bmod.bi" rel="noreferrer" target="_blank">bmod.bi</a><br>
U   wip/bmod.rbas<br>
U   wip/bmodsubs.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></blockquote></div><br></div></div>
</blockquote>
</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>
</blockquote></div></div></div><br></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>