where is scrolling menu code?

  • PizzaPlatypus
    1st Apr 2011 Member 0 Permalink
    look up, ha it says gullible on the roof!
    No but seriously where is it, I want to copy it into my mod, so I can use it
    also where is the console code I'd like to copy this over (I find it hard to upgrade to the latest code and since I can copy it over I thought I might as well)
  • cctvdude99
    1st Apr 2011 Member 0 Permalink
    @PizzaPlatypus
    Oh yeah it does say gullible on the - oh carp you stole my lungs... -_-
    Hmm...
    Fiddle with the latest source. It'll work eventually.
  • Diissaster
    1st Apr 2011 Member 0 Permalink
    Imma check the old github commit to find it.

    EDIT: https://github.com/FacialTurd/The-Powder-Toy/commit/bb0b4e6802660cff6844be72c9cfdd5925d8cd35

    It auto works if you go over limit of ANY menu.
  • PizzaPlatypus
    1st Apr 2011 Member 0 Permalink
    @Diissaster
    No, but where is it stored, I need to copy it to v45.2 code so I can use, it, I'm running out of space on menus and need the code so I can put it in.
    Also, does anyone know where the console code is.
  • cctvdude99
    1st Apr 2011 Member 0 Permalink
    @PizzaPlatypus
    Just try copying interface.h (or wherever the coding is) into your v45.2 code.
  • HeyJD
    1st Apr 2011 Member 0 Permalink
    @PizzaPlatypus
    Search for "menu_ui_v3" in interface.c, that's the scrolling menu code(It's really hard to understand).

    The console code is in different places, Far bottom code of main.c and interface.c.

    This is for the old source(non beta), I haven't gotten the latest source code.
  • PizzaPlatypus
    1st Apr 2011 Member 0 Permalink
    @HeyJD
    thanks
  • me4502
    1st Apr 2011 Member 0 Permalink
    @PizzaPlatypus (View Post)

    I think I half copied scrolling menu over but the main problem for me was that the rectangle of elements that were off screen were appearing on opposite side