View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000427 | Gameplay + OpenGL | (No Category) | public | 2017-03-13 12:08 | 2017-03-14 06:26 |
| Reporter | Major Cooke | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000427: Menu OnCreate() virtual | ||||
| Description | The init() command within options is only built for the game starting up itself. For example, place this inside of, for example, any OptionMenuItem's init functions. You get a bunch of "Ruh roh!"s upon game start-up, but when you access the menus where they are used, they don't print "Okay". That's where my suggestion comes into play. OnCreate could be used for whenever a menu object like a menu itself, or a widget is created. | ||||
| Tags | No tags attached. | ||||
| I added an OnMenuCreated virtual to the items, because the items themselves get created at compile time, calling it OnCreated would be misleading. | |
| Works for me! Thanks! | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-03-13 12:08 | Major Cooke | New Issue | |
| 2017-03-14 04:12 | Graf Zahl | Note Added: 0000983 | |
| 2017-03-14 04:13 | Graf Zahl | Status | new => resolved |
| 2017-03-14 04:13 | Graf Zahl | Resolution | open => fixed |
| 2017-03-14 06:26 | Major Cooke | Note Added: 0000990 |