Comments (6)
not sure yet how to fix it, but this is the current problem:
Everything could be shifted down, but this would make the comment box even smaller, which is unideal.
An ideal solution is a scroll for player positions. I'll have a look to see if that's possible.
from glest-source.
I can't believe I really did this! Or at least.. that I was able to do it so quickly. I've been picking at it for a few days.
You can see in the screenshot below that I need to move some text on the setup menu around, but basically as far as testing, I was able to:
- start a server
- checkbox -> allow observers
- connect with a 2nd client ; select slot 5 on a 4 player map and choose "observer" for faction
- start the server and neither server nor client crashed!
- game started and 2nd client was in observer mode, as intended. I quit after a minute. All seems ok initially.
There wasn't much code I had to add or change (though I took the opportunity to update the license header at the top of the source files I edited).
To see the changes, take a look at https://github.com/ZetaGlest/zetaglest-source/pull/14/files
I want to clean up my code changes better though, before I merge in the changes.
from glest-source.
So far so good!
9 slots used on an 8 player map. A game running for ~23 minutes.
@Jammyjamjamman , would you be interested in repositioning the text? You'll see the menu next time to pull the source and load a custom game.
The text can be moved by changing some values here:
Also there are some values in menu_state_connected_game that have to be changed.
If it doesn't interest you to make changes like that, I'll do it soon.
from glest-source.
I'll make a note on the ticket for others...
There's scrollbar code being used in https://github.com/ZetaGlest/zetaglest-source/blob/464860aa023e4089f4c6f108e019d66d60052581/source/glest_game/menu/menu_state_masterserver.cpp#L75
from glest-source.
Unfortunately I didn't get this patch done in only 1 commit.
For reference, here were the first 2 parts:
from glest-source.
Most recent commit that adds to this patch:
from glest-source.
Related Issues (20)
- reformat usage output HOT 2
- Allow players to view Freenode connection messages HOT 2
- Mac OSX build instructions need updating HOT 23
- remove references to libxml HOT 2
- output library should be renamed HOT 5
- Segfault during network games HOT 1
- Document the AI code
- Weird rendering, black squares HOT 1
- Unit Model Degradation HOT 4
- New name? HOT 3
- Flatpak file? HOT 3
- Version differences and steam version HOT 1
- Unit Floating Attribute HOT 1
- Glest fails to create a user .glest directory and fails to crash when it cannot launch. HOT 3
- Please upload to GitHub Releases HOT 4
- Modifications in Glest HOT 1
- A List of Really important Glest Requirements HOT 2
- Another important issue
- appimage doesn't work on ubuntu 18.04
- issues building
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 glest-source.