Commit Graph
5 Commits
Author SHA1 Message Date
Benandvolundr d85dbc90ae RightClick now uses item on target per design document
Summary: RightClick now uses item on target per design document

Test Plan:
1.) Spawn Door.
2.) Spawn Scalpel.
3.) Pickup Scalpel.
4.) Left Click Door (Opens/Closes)
5.) Right Click Door (Nothing)
6.) Right Click Self (Damage self with scalpel)
7.) Left Click Self (Server Crash)
8.) Works!

Reviewers: #ss14_developers, volundr-

Reviewed By: #ss14_developers, volundr-

Subscribers: volundr-

Differential Revision: http://phab.nexisonline.net/D48
2015-02-02 22:12:11 +00:00
BenandJohn K 510fab1d20 Enables EmptyHand Interaction with LargeObjects
Summary: You can now interact with LargeObjects.

Test Plan:
1.) Spawn a door (Large Object)
2.) Click on door.
3.) Door opens.
4.) Notice that an exception is not thrown anymore.

Reviewers: #ss14_developers, thatguy

Reviewed By: #ss14_developers, thatguy

Subscribers: thatguy

Differential Revision: http://phab.nexisonline.net/D46
2015-01-25 18:29:19 +00:00
Benandvolundr 32f98f85a2 OptionsMenu won't update position every tick. Standardized Window Forms
Summary:
OptionsMenu had a lot of positioning handled in the update loop. Move that to the constructor instead.
There are some Object Naming Conventions we should start following outlined here: https://msdn.microsoft.com/en-us/library/aa263493(v=vs.60).aspx
I've modified the private fields to reflect that for the 3 Window Forms present.

Test Plan:
1.) Start Client
2.) Click Options
3.) Less CPU Cycles.

Reviewers: #ss14_developers, volundr-

Reviewed By: #ss14_developers, volundr-

Subscribers: volundr-

Differential Revision: http://phab.nexisonline.net/D34
2015-01-22 03:29:57 +00:00
Benandvolundr 8252dacce2 Helps the main menu to stop wasting CPU.
Summary: The screen doesn't need to be updated every tick. In this case there is nothing to update. So all the UI position code has been moved to the constructor.

Test Plan:
1.) Start Up Client
2.) Notice CPU not rise.
3.) Notice that everything is still there.

Reviewers: #ss14_developers, volundr-

Reviewed By: #ss14_developers, volundr-

Subscribers: volundr-

Differential Revision: http://phab.nexisonline.net/D21
2015-01-21 01:31:25 +00:00
BenandRob Nelson f23d89be6f Show IP address by default instead of waiting for user to hit connect.
Summary:
User would normally need to hit connect, then the hostname textfield would become visible and then user would need to hit connect again.

Now the user only needs to hit connect as the hostname textfield is shown at startup.

Test Plan:
Notice Hostname is visible on startup.
Notice that user only needs to hit connect once.

Reviewers: #ss14_developers, N3X15

Reviewed By: #ss14_developers, N3X15

Differential Revision: http://phab.nexisonline.net/D10
2015-01-20 02:17:30 +00:00