Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing Issue for Smart. #173

Closed
Brandon-T opened this issue Jun 16, 2013 · 1 comment
Closed

Drawing Issue for Smart. #173

Brandon-T opened this issue Jun 16, 2013 · 1 comment

Comments

@Brandon-T
Copy link
Contributor

OffsetTPA(P, Point(SRL_NAVBAR_INGAME_X, SRL_NAVBAR_INGAME_Y));

Line 107 in SmartGraphics.simba, Smart_DrawDotsEx function..

This is incorrect. Not sure who changed it or added that but that messes it up if you're on the login screen. So instead of drawing at 0, 0 like its supposed to or SRL_NAVBAR_LOGIN_Y, it instead always draws at the 0, 50 offset.

@cohenadair
Copy link
Member

Hmm true it won't work for the login screen, but changing it will break it for the in-game screen. If you want to, for example, draw a TPA, the points will be 50 pixels too high without the offset.

This must have been changed a long time ago. I think it should stay like this for now. It will all be fixed for SRL-6 as SRL-6 won't use the offset constants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants