More research items per page
More research items per page
Maximized the menu height to see much more research/structure items at once. What do you think?
Last edited by smallfly on 05 Apr 2014, 19:24, edited 1 time in total.
Re: More research items per page [SOLVED]
Quite good. What about the heavy perspective distortion at high resoulution screen modes? Can it be fixed also?
Last edited by themac on 04 Apr 2014, 23:47, edited 1 time in total.
Re: More research items per page [SOLVED]
You wrote me a private message. I was not able to write back. It told me you have disabled private messages here, so I answer here right now.
Das ist bei Warzone etwas kurios. Je höher man die Auflösung einstellt, umso stärker wird die 3D Ansicht verzerrt. In 640 x 480 oder 800 x 600, wie man Warzone früher spielte, sieht alles ganz normal aus. In 1280 x 800 sieht man schon, daß es etwas verzerrt. In 1920 x 1080 oder 2560 x 1600 (Retina Display) wird die perspektivische Verzerrung extrem. Da gehen einem ja die Augen über. Siehe auch meinen inzwischen etwas älteren Beitrag dazu: viewtopic.php?t=11145&p=126602
Das ist bei Warzone etwas kurios. Je höher man die Auflösung einstellt, umso stärker wird die 3D Ansicht verzerrt. In 640 x 480 oder 800 x 600, wie man Warzone früher spielte, sieht alles ganz normal aus. In 1280 x 800 sieht man schon, daß es etwas verzerrt. In 1920 x 1080 oder 2560 x 1600 (Retina Display) wird die perspektivische Verzerrung extrem. Da gehen einem ja die Augen über. Siehe auch meinen inzwischen etwas älteren Beitrag dazu: viewtopic.php?t=11145&p=126602
Re: More research items per page [SOLVED]
Sorry, I cannot help you with the distorsion effect. The 3d distorsion has nothing to do with the user interface overlay. So please stick to topic. If you want to further elaborate on the distorsion, you should do this in the thread you linked yourself.
Re: More research items per page [SOLVED]
Now I also maximized the horizontal menu:
Necessary code changes:
Re: More research items per page [SOLVED]
Very nice! Probably worth committing?
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: More research items per page [SOLVED]
I tried a pull request, but it does not work, because I changed the code in 3.1.1 tag and when I commit to the current master there are lots of commits. If I do more changes to the game I will switch to the master version, so that I can contribute to the community. At the moment I just played around a bit with the code.NoQ wrote:Very nice! Probably worth committing?
//edit: But if any dev likes the idea of bigger menus instead of tabbing around the whole time, please feel free to commit the few lines Here are the changed lines of code. All inside the hci.h file.
Code: Select all
#define SFY_ADD_HEIGHT (pie_GetVideoBufferHeight() - BASE_COORDS_Y)
...
#define OBJ_BACKX (RET_X + RET_FORMWIDTH + 100) // BASE_GAP + D_W) // X coord of object screen back form.
...
#define ESTIMATED_RADAR_WIDTH_DO_NOT_USE 185
#define OBJ_BACKWIDTH pie_GetVideoBufferWidth() - 100 - (OBJ_BACKX) - (RET_X) - (ESTIMATED_RADAR_WIDTH_DO_NOT_USE) // 320 //316 // Width of object screen back form.
...
#define OBJ_WIDTH pie_GetVideoBufferWidth() - 100 - (OBJ_BACKX) - (RET_X) - (ESTIMATED_RADAR_WIDTH_DO_NOT_USE) - 4 // 316 //312//310 // Width of object screen tab form.
...
#define STAT_Y (45 + E_H - SFY_ADD_HEIGHT)
...
#define STAT_HEIGHT 273 + SFY_ADD_HEIGHT // Height of the tab form.
Last edited by smallfly on 05 Apr 2014, 19:30, edited 1 time in total.
Re: More research items per page [SOLVED]
The right part of the unit editor seems to be invisible (more probably: positioned outside the screen) when applying the patch. So I need to do some research on that, before finally comitting the patch.
Re: More research items per page
While the maximized menus look fine...
... there is a problem with the position with the design menu.
I had to adjust the position of the design elements (right part of design editor) so that they are visible at all.
Code: Select all
#define RADTLX (OBJ_BACKX + OBJ_BACKWIDTH + BASE_GAP + 1) // +D_W) // Paul's settings (492+12)
Re: More research items per page
For what it is worth, we don't like github's pull requests.
Read: http://sourceforge.net/p/warzone2100/ma ... /31934936/
Also, everything still must work @ 640x480, that is the smallest resolution we support.
Master is where new features go.
3.1 is supposed to be for bug fixes only.
If you have any other questions, feel free to ask, someone will eventually get to it.
Read: http://sourceforge.net/p/warzone2100/ma ... /31934936/
Also, everything still must work @ 640x480, that is the smallest resolution we support.
Master is where new features go.
3.1 is supposed to be for bug fixes only.
If you have any other questions, feel free to ask, someone will eventually get to it.
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
Re: More research items per page
... and with my current code changes 640x480 and 800x600 wouldnt be supported: Thus I cannot send any commits at the moment.vexed wrote:Also, everything still must work @ 640x480, that is the smallest resolution we support.
Re: More research items per page
I can't program C++. But will it work if you add a minimum width?smallfly wrote:... and with my current code changes 640x480 and 800x600 wouldnt be supported:
- Andrie
-
- New user
- Posts: 1
- Joined: 02 Jul 2014, 07:41
Re: More research items per page
I think this is an awesome change.
Does anyone even use 640x480 and 800x600 anyway?
Does anyone even use 640x480 and 800x600 anyway?
Re: More research items per page
I don't see these in latest trunk master, what's wrong?
Last edited by Ezio on 01 Oct 2014, 22:37, edited 1 time in total.
Re: More research items per page
I do, get more fps that way on older computer. And really the game textures are not so great you see a big difference. I also enjoy those big buttons, i actually see more clearly the weapon on my design and structure in 800x600 then in 1024x768.demolicious wrote:I think this is an awesome change.
Does anyone even use 640x480 and 800x600 anyway?
Heretic 2.3 improver and proud of it.