Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Which viewscreen hook is for the main display window?  (Read 173 times)

bloop_bleep

  • Bay Watcher
  • U want sum seed?
    • View Profile
Which viewscreen hook is for the main display window?
« on: February 03, 2017, 02:33:55 am »

Hi everyone, I was wondering which viewscreen hook is for the main display window in Dwarf Fortress mode? I mean the window that shows the dwarves and workshops and whatnot, not the main option window to its right.
Logged
bloop_bleep's Moving Fortress Parts Mod!

Quote from: KittyTac
The closest thing Bay12 has to a flamewar is an argument over philosophy that slowly transitioned to an argument about quantum mechanics.
Quote from: thefriendlyhacker
The trick is to only make predictions semi-seriously.  That way, I don't have a 98% failure rate. I have a 98% sarcasm rate.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Which viewscreen hook is for the main display window?
« Reply #1 on: February 03, 2017, 05:12:40 am »

viewscreen_dwarfmodest, though what specifically do you want to do with it?

EDIT: Found what you want to do with it, and, uh, there's probably a better way than custom-writing a C++ hook for that, I think? At least, if you do so, make sure it's a general hook that can easily be modified and extrapolated at runtime for your fellow modders.
« Last Edit: February 03, 2017, 05:15:48 am by Putnam »
Logged