[Ohrrpgce] [ohrrpgce/ohrrpgce] Plotscripting commands to change global text strings (#118)

Ralph Versteegen notifications at github.com
Tue Mar 17 05:29:11 PDT 2020


Mike actually added a `get global string` command in 2005 for Rusalka, but it's completely undocumented, noone has ever used it, it's unusable without a list of constants, and therefore at some point I commented it out of plotscr.hsd.

Global strings are stored in a table with no max length information available. We could add a `set global string` command which the the max allowed length encoded in the constant (eg offset 120 max length 20 -> 12020), and if you pass it an invalid constant you would break stuff, but as long as there are no overflows and it doesn't crash I guess that doesn't matter.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/118#issuecomment-600043779
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20200317/1fbc1c3c/attachment.html>


More information about the Ohrrpgce mailing list