Comments (3)
I ran through the character creation back and forth a few times to stress test it and the class list is working fine every time for me. Your problem is happening on the "Choose thy class..." screen, right?
The code for getting the list of classes from "data/text/classes.txt" is run whenever the ChooseClassPanel
constructor is run, which is just before the "Choose thy class..." screen appears. This assertion assert(this->charClasses.size() > 0)
at the end of the constructor makes sure that the classes were loaded from file.
Maybe it's a problem with the ListBox class, but I'm not sure about that. I can't seem to reproduce the problem.
from opentesarena.
It happens more often than not: https://i.imgur.com/x20AwBI.png
It looks like it has data in it, but the actual behavior indicates otherwise. No helper text when rolled over any of the classes and nothing happens if I click anywhere in it.
from opentesarena.
Was caused by the scroll index of the ListBox not being initialized to some sane value when constructed. I don't know why it wouldn't have manifested on Windows (either MSVC initializes values to something sane for you or the memory is zero'd out when allocated on Windows).
On that notion, how about preallocating all the various GUI classes versus constructing them again and again? It just seems weird to rebuild GUI's every time we want to use them, but I would figure the majority of the ones here currently only show up once or twice in a single run.
from opentesarena.
Related Issues (20)
- Rename default branch from master to main HOT 6
- Improving first-time contributor experience on Windows HOT 1
- Software renderer redesign for 0.15.0 HOT 7
- A Question about the capablities of OpenTESAreana HOT 1
- Is this still being worked on? HOT 2
- Fan translations support and improved .EXE unpacking HOT 11
- Hit Chance Calculation. Clarification/Verification requested for wiki HOT 1
- Is external MIDI supported? HOT 1
- Switch to GitHub Actions HOT 4
- C++20 HOT 3
- Change Travis CI badge in Readme to GitHub Actions HOT 2
- Locate player's Arena install in Steam HOT 9
- Mysterious performance hiccup every ~3 seconds HOT 1
- Job system HOT 1
- Very slow performance HOT 6
- -march=native not supported on Apple M1 HOT 3
- Game world palette documentation HOT 11
- Triangle clipping improvement HOT 1
- Revise Readme to prioritize obtaining game files from Steam HOT 4
- Couldn't find: options-default.txt if path contains accented characters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentesarena.