Commit Graph

2075 Commits

Author SHA1 Message Date
Leshana
2c13bee848 Replace global all_areas list with world.
It ends up having similar performance, so might as well not bother with all_areas.
2020-04-10 14:58:59 -04:00
Atermonera
558ff4ade9 Merge pull request #6936 from VOREStation/vplk-sundry-bugfixes-xi
[PORT] Sundry Bugfixes XI
2020-04-04 23:36:44 -07:00
Atermonera
eae8cade90 Merge pull request #6912 from VOREStation/aro-mapload
[PORT] Speed up map load significantly
2020-04-01 20:25:17 -07:00
Leshana
d9103b6f38 Fixes Runtime in randomverbs.dm,134: list index out of bounds 2020-03-31 16:49:38 -04:00
ShadowLarkens
6b802b61e8 Port VOREStation PR 6914 Speed up map load significantly
- Set initialized = FALSE on unsimulated turfs that need to intialize.
- Most of area/New() to initialize
- Faster lookup of self-init on atoms
- Split air alarm and fire alarm files, move new to initialize
- Tweak decals and opacity

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2020-03-27 20:37:02 -04:00
ShadowLarkens
777f56e86c Added three utilities for admins & developers
- There is a new option in the player panel labeled "Send back to
   Lobby", which will send a given player back to the lobby.
 - The player panel also has a shortcut to the "Spawn Character" verb.
 - Finally, there's a new config option that disables the warning
   message about multikeying if two mobs with the same CID are found;
   this option should NOT be enabled if multikeying is prohibited by the
   server rules. It is simply a developer tool, as multikeying is
   sometimes necessary to test new features that require two clients
   interacting.
2020-03-27 16:11:28 -07:00
Aronai Sieyes
715de43f35 VChat: Redone chat output done in Vue.js (#6761)
* Better notifications

* Add buttons to del/move tabs in edit mode

* Add a <span> to emotes

* Fix duplicate IDs in VChat and add more logging

* VChat: Redone chat output in Vue.js

* Ported tg asset cache

* VChat DME Update

* Replace \image macro with bicon()

* NanoUI Subsystem Fixes

Don't do this, the asset subsystem does this for you

* Allow narrate/globalnarrate shenanigans

Allows HTML if your entire thing is HTML

* Disable bicon() icon object cache, and create text tag cache

* Ore Scanner is written incorrectly

Only revealed by vchat

* Fixes 2 VChat bugs

* Underline links in VChat

* Fix LOOC color

* VChat Improvements

Hopefully, anyway.
- Arbitrary font size setting
- Line height setting
- Multiple crush settings
- Rewrote how tabs work hopefully for performance
- Hidden messages are actually put elsewhere
- Attempts to correct chat backlog restore on rejoin

* Surgery steps to use <span>

* Some VChat Tweaks

- Chat remains between client reconnects if your client didn't close (so things like using the reconnect button, or autoreconnects at round end when that feels like working)
- The client doesn't send pings to the server, the server sends pings to the client. This fixes AFK measurements for AFK kick purposes.
- Turn latency indicator into a green/red indicator to show if you're connected, and when clicked will perform a one-time ping (and block doing it again for 10 seconds). It will display '?ms' if it never got a reply, or '999ms' if it did, but it was over 1s.

* Include date in filename for VChat log save

* Merge pull request #6767 from Cyantime/patch-2

Change chat export naming scheme

* Adds VChat tab saving

Saves every time you enter/exit edit mode. Persists between rounds, VChat reloads via verb, etc.

* Fix chat exporting when someone has used unicode

Only affects clients still using 512

* Use CLIENT_FROM_VAR for ease of code reading

* Update code/modules/client/asset_cache.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

* Fix runtime when client disconnects before vchat loads

* Fix polaris version of command reports

* Fix LOOC color in oldchat

* Put some styles in various adminpm messages

* Round info and advanced who spans

* Fix missing tag-end

* Maybe fix images for linux and statpanel but also doom everyone

Co-authored-by: ShadowLarkens <ShadowLarkens@users.noreply.github.com>
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-27 14:07:28 -07:00
Atermonera
73a1f8ed03 Merge pull request #6888 from VOREStation/vplk-overmap-skybox
Port Overmap Skybox, Ships, Sectors, and Boats
2020-03-27 14:05:28 -07:00
Atermonera
48e54599c6 Silly admins can't blindly break movement irreparably (#6897)
* Silly admins can't blindly break movement

* Updates pixel movement var protections
2020-03-25 13:38:35 -07:00
Atermonera
95ac99c514 Merge pull request #6882 from VOREStation/vplk-machinery-use-power
Machinery: Always use update_use_power()
2020-03-23 20:20:41 -07:00
Leshana
888f25cf8e Add proc set_viewsize() to allow hooking actions when client.view is changed.
- Proc is on mob to simplify the standard use case; maybe someday actually save it there too if desired.
2020-03-23 20:19:28 -04:00
Leshana
1ab0524daa Safely change world.fps
- Added world.change_fps() proc to safely change world.fps
- Its important that SStimer be informed whenever world.tick_lag or world.fps change, so always use the proc, never set the var directly!
2020-03-21 19:31:48 -04:00
Leshana
3ad3b7956b Switch admin verb "Set Ticklag" to "Set Server FPS" since it's more intuitive. 2020-03-21 19:31:20 -04:00
Leshana
c2d16acdca Always call update_use_power() instead of directly setting the use_power var.
- This will let us react to the change appropriately.
- While we're here, lets define some constants so we can stop using bare numbers.
- Always use those constants when calling update_use_power()
2020-03-21 16:40:22 -04:00
Atermonera
55cd990598 Merge pull request #6826 from VOREStation/vplk-landmark-shuttles
Port Landmark Shuttles
2020-03-19 15:14:47 -07:00
Leshana
b0f01961de Make area.gravitychange not require being passed a reference to... itself. (#6838) 2020-03-16 02:31:09 -07:00
Leshana
85d3cbfa12 Replaced "area" shuttles with "landmark" shuttles.
Largely ported from the work done at Baystation in Baystation12#17460 and later commits.

 - Shuttles no longer require a separate area for each location they jump to.
   Instead destinations are indicated by landmark objects, which are not necessarily exclusive to that shuttle.
   This means that more than one shuttle could use the same docking port (not at the same time of course).
 - Enhanced shuttle control computers to use nanoui if they didn't.
 - Organizes shuttle datum code a bit better so there is less re-inventing the wheel in subtypes.
 - Allows the possibility of shuttles (or destinations) that start on late-loaded maps.
 - Deprecate the "extra" shuttle areas that are no longer needed and update shuttle areas in unit tests

This all required a bit of infrastructure improvements.

 - ChangeArea proc, for changing the area of a turf.
 - Fixed lighting overlays actually being able to be destroyed.
 - Added a few utility macros and procs.
 - Added "turf translation" procs which are like move_contents_to but more flexible.

(cherry picked from commit c837078105)
2020-03-13 00:26:08 -04:00
Neerti
780ffca53d Hopefully appeases Travis. 2020-03-12 01:14:11 -04:00
Neerti
8b1c58d2a1 Stupid indentation checker getting confused with comments 2020-03-12 00:54:15 -04:00
Neerti
e8c51b9291 Makes R_EVENT go everywhere. 2020-03-11 23:17:24 -04:00
Neerti
a614b26677 Gives +MOD the traitor panel and colorable OOC. 2020-03-10 20:24:45 -04:00
Neerti
24fbd0b87e Half-Refactors Jobs (#6762)
* Somewhat cleans up a piece of job code, makes new ID computers not be awful.

* Changes ROLE_ defines to DEPARTMENT_ to be clearer. Backports the new ID computer's assignment section of its UI to the old ID computer.

* Swaps back to southern cross map.

* Removes a block of commented code.
2020-03-03 13:27:37 -08:00
Atermonera
597b3b32ee Merge pull request #6756 from Neerti/lightning_fixes
Fixes various lightning strike bugs
2020-02-27 20:57:41 -08:00
Atermonera
ea6bcafa2e Merge pull request #6755 from Neerti/feedback_for_devs
Devs can now View Feedback
2020-02-27 20:55:07 -08:00
Atermonera
37af18b86b Merge pull request #6733 from VOREStation/pol-aitweaks
Readd some AI features and improve AI buildmode
2020-02-26 17:14:50 -08:00
Neerti
6898823361 Fixes various lightning strike bugs. 2020-02-25 21:49:38 -05:00
Neerti
4c042314e0 Devs can now view feedback. 2020-02-25 18:59:57 -05:00
Atermonera
97f8c1d7b4 Merge pull request #6719 from Neerti/feedback_system
Adds an In-game Feedback System
2020-02-24 13:34:27 -08:00
Aronai Sieyes
5eb30f0017 Further improve buildmode "RTS" ai mode 2020-02-23 11:54:05 -05:00
Aronai Sieyes
717a4cc585 Add buildmode AI status indicators 2020-02-23 11:52:34 -05:00
Atermonera
30770e9d9c Merge pull request #6714 from Heroman3003/verbrename
Renames Make All Areas (Un)Powered secret
2020-02-20 23:25:45 -08:00
Atermonera
f20f047008 Merge pull request #6712 from VOREStation/tochattypo
Fix to_chat typo
2020-02-20 23:24:54 -08:00
Atermonera
6f3cc509b6 Merge pull request #6703 from VOREStation/randomverbs
Don't talk to strangers
2020-02-20 23:12:41 -08:00
Neerti
556973c9ec Fixes merge conflicts. 2020-02-20 21:59:28 -05:00
Neerti
54a75927ff Commiting my work before I do a stupid thing, just in case. 2020-02-20 21:21:38 -05:00
Heroman
e2e3cfc612 Renames Make All Areas (Un)Powered secret 2020-02-21 06:34:08 +10:00
Arokha Sieyes
00b61d9bcb Fix to_chat typo
This file is unchecked so it's not being used, but I'd still rather not leave this.
2020-02-19 19:34:55 -05:00
Arokha Sieyes
5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
Arokha Sieyes
fdfa51d16b Don't talk to strangers 2020-02-17 12:45:44 -05:00
Atermonera
ea8bf0ad0b Merge pull request #6630 from Novacat/nova-alerts
IP reputation checking
2020-01-21 15:10:27 -08:00
Tad Hardesty
d8a64c83dc Use compatible var statements 2020-01-18 23:01:36 -08:00
Tad Hardesty
6ed5f8de4b Replace () with null where appropriate 2020-01-18 23:01:36 -08:00
Tad Hardesty
644347cfeb Remove stray . and ..() 2020-01-18 23:01:36 -08:00
Unknown
edb88b7e60 Adds a verb 2020-01-16 15:21:03 -05:00
Heroman
f59b8268e4 Allows admin spawning fruit in multiples 2019-12-29 05:53:10 +10:00
Mechoid
f37b9e592b Merge branch 'master' of https://github.com/PolarisSS13/Polaris into GlobSpecies
# Fix Conflicts:
#	code/modules/mob/living/simple_animal/animals/spiderbot.dm
#	code/modules/mob/living/simple_animal/simple_animal.dm
#	polaris.dme
2019-12-15 12:02:02 -08:00
Unknown
fbbf91b799 Updates travis, replaces lentext 2019-12-12 13:29:43 -05:00
Mechoid
58e2ce2fb4 Change various global species lists to GLOB versions. 2019-12-05 23:55:22 -08:00
Atermonera
5719bea4ca Merge pull request #6503 from Rykka-Stormheart/shep-dev-chat-refactor
Update Chat System to use to_chat(src, "") instead of src << ""
2019-11-05 13:31:35 -09:00
Verkister
953d1f858e upstream compatibility tweak apparently 2019-10-31 14:04:41 +02:00