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

Feature/ally overflow #354

Closed
wants to merge 236 commits into from
Closed

Conversation

Crotalus
Copy link
Member

@Crotalus Crotalus commented Jan 9, 2015

Show team overflow in economy / score

(Quality is now only visible if actually set in the game)

Sheeo and others added 2 commits January 6, 2015 00:16
This is to prevent unknown mods from hooking into the lobby using brittle file
concatenation, causing issues.

Closes FAForever#336
@Xinnony
Copy link
Contributor

Xinnony commented Jan 9, 2015

👍

@Crotalus Crotalus added this to the 3642 - Balance Patch milestone Jan 9, 2015
@aeoncleanse
Copy link
Member

This feature needs some improvement before merge. The big one is that it displays an odd string sometimes.

@Sheeo
Copy link
Member

Sheeo commented Jan 10, 2015

Is this not what Crotalus is adressing with "(Quality is now visible if actually set in the game)"?

What I'd like to see is for all of it to be optional.

@Xinnony
Copy link
Contributor

Xinnony commented Jan 10, 2015

Is already a option, no ?
Crotalus@2ebc11e#diff-23768ff6a11f72794eb08ef3aea8283dR676

@Sheeo
Copy link
Member

Sheeo commented Jan 10, 2015

In that case: 👍

@Crotalus
Copy link
Member Author

Yeah the ally overflow stuff is an option. Quality indicator should be own UI option I think, they don't have anything in common really except being in the same pull request

aeoncleanse and others added 19 commits January 10, 2015 20:15
Looks like someone screwed up a merge conflict somewhere and brought this now very-much-dead code back.
It was always false, and all it does when true is makes a fairly seriousm class of bug into a silent failure.
Helpful!
Simplify handling of game options by:
- Make the key used to store each game option in the profile be a predictable function of the key, not an arbitrary "pref" value that has to live in lobbyOptions.
- Store option values in the profile instead of keys into the options array.
- Eliminate the now-redundant LastScenario value.
... Which gets us back under the upvalue limit again.
Pull the slot creation into its own function to bring the upvalue count down, and to make things a bit clearer.
It's now possible to specify an acceptable *set* of options for game rankedness.
- Change Unit Cap default (for Ranked settings)
- Default spawn setting to "fixed"

Closes FAForever#374
This commit introduces a new class to represent map previews, with the capability to show resource points as well.
This allows us to remove a lot of duplicated logic for handling the large map, as well as adding resource previewing to the map previews in the map select screen and main lobby essentially for free.
To make the performance of the rendering of the resource icons acceptable, a mechanism for object-pooling sets of identical bitmaps is introduced (Avoiding the expensive operation of creating and destroying many Bitmaps whenever the map view tries to update, which would otherwise introduce considerable "jank" to the map selection screen).

This also makes the in-lobby map preview square.
Seems like the engine wants the unit to live at least 1 tick to be able to
grab the pose in TryCopyPose(). Maybe it sometime garbage collects the
unit before it actually can copy it.

This is mitigated by waiting at least 1 tick before destroying the unit.
Show storage information in team

* There's now storage information in score and economy overlays
* Show in score if someone is ally / foe (red / green)
* Refactored the code to use own economy sync function
* New UI-option: Team economy
  - Option is off by default
@Sheeo
Copy link
Member

Sheeo commented Jun 27, 2015

Needs rebasing, let's consider getting this optionally into 3641?

@Sheeo Sheeo closed this Jun 27, 2015
@Crotalus Crotalus deleted the feature/ally-overflow branch January 22, 2016 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants