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

Implement IconStates through icon_states #346

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

TiviPlus
Copy link
Contributor

http://www.byond.com/docs/ref/#/icon/proc/IconStates
"This returns a list of all icon state text strings that exist in the /icon object. This works in exactly the same way as icon_states(icon)."

Ticks off one of #141

@wixoaGit wixoaGit merged commit 8d8e084 into OpenDreamProject:master Aug 25, 2021
@TiviPlus TiviPlus deleted the icon_states branch August 25, 2021 19:05
wixoaGit added a commit that referenced this pull request Sep 2, 2021
* Add `set opendream_unimplemented`

* Add weighted pick()

* It's uh, something

* Adds score and medal procs (#331)

Co-authored-by: ike709 <[email protected]>

* Fix PostIncrement/PostDecrement expressions

* Support for for-loops without initializer or incrementor (#332)

* Support for for-loops without initializer or incrementor

* Update OpenDreamRuntime.Tests/UnitTest1.cs

Co-authored-by: wixoa <[email protected]>

Co-authored-by: wixoa <[email protected]>

* Use StateRoot for UI root instead.

* Set control name in UpdateElementDescriptor()

* Fix ControlChild vert/horizontal being swapped

* Implement ControlWindow properly.

* Fix atom transform rendering

* Implemented most matrix operations (#333)

* Implemented most matrix operations

* fixed turn

* Specify startup branding in GameControllerOptions.

* Implement enough UI stuff to show the map.

* Make ControlChild children have expand set so that initial size of the splitter is correct-ish.

* Implement a bunch of stuff like DreamConnection to get stat panels working.

* Fix MsgUpdateStatPanels.ReadFromBuffer error

* Show time in stat panel.

For testing.

* Verbs and output work now.

* Implement alert()

* Implement most of input().

* Implement << output()

* Implement browse_rsc()

* Implement browse_rsc() and browse().

This means ControlBrowser works too now.

* Use a dictionary for MIME type mapping

* Clean up ControlBrowser a bit.

* Implement Topic(), refids.

* Set `net.tickrate` CVar instead of `IGameTiming.TickRate` directly.

This is important so that the config system can replicate the CVar correctly.

* Fix server Update() to only be PreEngine.

So that repeating commands and such don't run twice.

* Implement some more missing functions like oviewers().

* Implement winset().

I didn't test but I assume it works.

* Implement screenshots.

* Open browse() popups later to avoid initial about:blank page navigation.

* Implement JS output.

* Oops

* implement ref()

* Revert resource system back to master.

This fixes resource loading so it works and we can load into TG.

Also some misc fixes.

* Implement IconStates through icon_states (#346)

* Disable net.predict.

* More TestGame stuff I was messing around with.

* path fix for linux (#337)

Co-authored-by: mumencoder <[email protected]>

* Fix how delimiters are parsed within call arguments/switch cases

* Made OpenDreamServer output UTF-8 to the console (#352)

* Implement isicon() (#348)

* Implement isicon()

* Update OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs

Co-authored-by: wixoa <[email protected]>

Co-authored-by: wixoa <[email protected]>

* Implement cal()() FFI. (#355)

Man modern C# makes this so damn easy.

* Mentions the new wiki page in the readme (#354)

* Make `spawn()` parantheses optional
Apparently you can use `spawn` without any parentheses

* Add a default stat panel

* Set `usr` when calling `/mob.Login()` or `/mob.Logout()`

* Update submodule

* Associative lists will no longer be allocated for non-associative lists (#343)

* Associative lists will no longer be allocated for non-associative lists

* Update OpenDreamRuntime/Objects/DreamList.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Update OpenDreamRuntime/Objects/DreamList.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Cleanup

* wrapper

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Some work into making the styling better.

* Implement menu bars.

* Fix map viewports missing mouse filter stop.

* Increase resource download timeout, clean code up a little.

CVars have been moved to shared.

* Remove cruft from code.dm

* Remove bad compile directive from .csproj file.

Co-authored-by: wixoaGit <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: DamianX <[email protected]>
Co-authored-by: TiviPlus <[email protected]>
Co-authored-by: mumencoder <[email protected]>
Co-authored-by: mumencoder <[email protected]>
wixoaGit added a commit that referenced this pull request Sep 7, 2021
* [Robust] implement UI system and most everything it depends on. (#339)

* Add `set opendream_unimplemented`

* Add weighted pick()

* It's uh, something

* Adds score and medal procs (#331)

Co-authored-by: ike709 <[email protected]>

* Fix PostIncrement/PostDecrement expressions

* Support for for-loops without initializer or incrementor (#332)

* Support for for-loops without initializer or incrementor

* Update OpenDreamRuntime.Tests/UnitTest1.cs

Co-authored-by: wixoa <[email protected]>

Co-authored-by: wixoa <[email protected]>

* Use StateRoot for UI root instead.

* Set control name in UpdateElementDescriptor()

* Fix ControlChild vert/horizontal being swapped

* Implement ControlWindow properly.

* Fix atom transform rendering

* Implemented most matrix operations (#333)

* Implemented most matrix operations

* fixed turn

* Specify startup branding in GameControllerOptions.

* Implement enough UI stuff to show the map.

* Make ControlChild children have expand set so that initial size of the splitter is correct-ish.

* Implement a bunch of stuff like DreamConnection to get stat panels working.

* Fix MsgUpdateStatPanels.ReadFromBuffer error

* Show time in stat panel.

For testing.

* Verbs and output work now.

* Implement alert()

* Implement most of input().

* Implement << output()

* Implement browse_rsc()

* Implement browse_rsc() and browse().

This means ControlBrowser works too now.

* Use a dictionary for MIME type mapping

* Clean up ControlBrowser a bit.

* Implement Topic(), refids.

* Set `net.tickrate` CVar instead of `IGameTiming.TickRate` directly.

This is important so that the config system can replicate the CVar correctly.

* Fix server Update() to only be PreEngine.

So that repeating commands and such don't run twice.

* Implement some more missing functions like oviewers().

* Implement winset().

I didn't test but I assume it works.

* Implement screenshots.

* Open browse() popups later to avoid initial about:blank page navigation.

* Implement JS output.

* Oops

* implement ref()

* Revert resource system back to master.

This fixes resource loading so it works and we can load into TG.

Also some misc fixes.

* Implement IconStates through icon_states (#346)

* Disable net.predict.

* More TestGame stuff I was messing around with.

* path fix for linux (#337)

Co-authored-by: mumencoder <[email protected]>

* Fix how delimiters are parsed within call arguments/switch cases

* Made OpenDreamServer output UTF-8 to the console (#352)

* Implement isicon() (#348)

* Implement isicon()

* Update OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs

Co-authored-by: wixoa <[email protected]>

Co-authored-by: wixoa <[email protected]>

* Implement cal()() FFI. (#355)

Man modern C# makes this so damn easy.

* Mentions the new wiki page in the readme (#354)

* Make `spawn()` parantheses optional
Apparently you can use `spawn` without any parentheses

* Add a default stat panel

* Set `usr` when calling `/mob.Login()` or `/mob.Logout()`

* Update submodule

* Associative lists will no longer be allocated for non-associative lists (#343)

* Associative lists will no longer be allocated for non-associative lists

* Update OpenDreamRuntime/Objects/DreamList.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Update OpenDreamRuntime/Objects/DreamList.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Cleanup

* wrapper

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Some work into making the styling better.

* Implement menu bars.

* Fix map viewports missing mouse filter stop.

* Increase resource download timeout, clean code up a little.

CVars have been moved to shared.

* Remove cruft from code.dm

* Remove bad compile directive from .csproj file.

Co-authored-by: wixoaGit <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: DamianX <[email protected]>
Co-authored-by: TiviPlus <[email protected]>
Co-authored-by: mumencoder <[email protected]>
Co-authored-by: mumencoder <[email protected]>

* Removes usage of System.Console

Co-authored-by: Pieter-Jan Briers <[email protected]>
Co-authored-by: wixoaGit <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: DamianX <[email protected]>
Co-authored-by: TiviPlus <[email protected]>
Co-authored-by: mumencoder <[email protected]>
Co-authored-by: mumencoder <[email protected]>
wixoaGit added a commit that referenced this pull request Sep 7, 2021
* [Robust] implement UI system and most everything it depends on. (#339)

* Add `set opendream_unimplemented`

* Add weighted pick()

* It's uh, something

* Adds score and medal procs (#331)

Co-authored-by: ike709 <[email protected]>

* Fix PostIncrement/PostDecrement expressions

* Support for for-loops without initializer or incrementor (#332)

* Support for for-loops without initializer or incrementor

* Update OpenDreamRuntime.Tests/UnitTest1.cs

Co-authored-by: wixoa <[email protected]>

Co-authored-by: wixoa <[email protected]>

* Use StateRoot for UI root instead.

* Set control name in UpdateElementDescriptor()

* Fix ControlChild vert/horizontal being swapped

* Implement ControlWindow properly.

* Fix atom transform rendering

* Implemented most matrix operations (#333)

* Implemented most matrix operations

* fixed turn

* Specify startup branding in GameControllerOptions.

* Implement enough UI stuff to show the map.

* Make ControlChild children have expand set so that initial size of the splitter is correct-ish.

* Implement a bunch of stuff like DreamConnection to get stat panels working.

* Fix MsgUpdateStatPanels.ReadFromBuffer error

* Show time in stat panel.

For testing.

* Verbs and output work now.

* Implement alert()

* Implement most of input().

* Implement << output()

* Implement browse_rsc()

* Implement browse_rsc() and browse().

This means ControlBrowser works too now.

* Use a dictionary for MIME type mapping

* Clean up ControlBrowser a bit.

* Implement Topic(), refids.

* Set `net.tickrate` CVar instead of `IGameTiming.TickRate` directly.

This is important so that the config system can replicate the CVar correctly.

* Fix server Update() to only be PreEngine.

So that repeating commands and such don't run twice.

* Implement some more missing functions like oviewers().

* Implement winset().

I didn't test but I assume it works.

* Implement screenshots.

* Open browse() popups later to avoid initial about:blank page navigation.

* Implement JS output.

* Oops

* implement ref()

* Revert resource system back to master.

This fixes resource loading so it works and we can load into TG.

Also some misc fixes.

* Implement IconStates through icon_states (#346)

* Disable net.predict.

* More TestGame stuff I was messing around with.

* path fix for linux (#337)

Co-authored-by: mumencoder <[email protected]>

* Fix how delimiters are parsed within call arguments/switch cases

* Made OpenDreamServer output UTF-8 to the console (#352)

* Implement isicon() (#348)

* Implement isicon()

* Update OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs

Co-authored-by: wixoa <[email protected]>

Co-authored-by: wixoa <[email protected]>

* Implement cal()() FFI. (#355)

Man modern C# makes this so damn easy.

* Mentions the new wiki page in the readme (#354)

* Make `spawn()` parantheses optional
Apparently you can use `spawn` without any parentheses

* Add a default stat panel

* Set `usr` when calling `/mob.Login()` or `/mob.Logout()`

* Update submodule

* Associative lists will no longer be allocated for non-associative lists (#343)

* Associative lists will no longer be allocated for non-associative lists

* Update OpenDreamRuntime/Objects/DreamList.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Update OpenDreamRuntime/Objects/DreamList.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Cleanup

* wrapper

Co-authored-by: Pieter-Jan Briers <[email protected]>

* Some work into making the styling better.

* Implement menu bars.

* Fix map viewports missing mouse filter stop.

* Increase resource download timeout, clean code up a little.

CVars have been moved to shared.

* Remove cruft from code.dm

* Remove bad compile directive from .csproj file.

Co-authored-by: wixoaGit <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: DamianX <[email protected]>
Co-authored-by: TiviPlus <[email protected]>
Co-authored-by: mumencoder <[email protected]>
Co-authored-by: mumencoder <[email protected]>

* Re-adds ControlLabel

* Update Content.Client/Interface/Controls/ControlLabel.cs

Co-authored-by: Pieter-Jan Briers <[email protected]>
Co-authored-by: wixoaGit <[email protected]>
Co-authored-by: ike709 <[email protected]>
Co-authored-by: DamianX <[email protected]>
Co-authored-by: TiviPlus <[email protected]>
Co-authored-by: mumencoder <[email protected]>
Co-authored-by: mumencoder <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants