Regalis
3844dd9dac
GUIStyle logic changes: instead of having a predetermined GUIComponentStyle for each type of GUIComponent, any GUIComponent can use any style. The GUIComponent constructors take the name of the style as a parameter, and if no style is specified, the default style for the GUIComponent in question will be used.
2017-04-08 16:46:53 +03:00
Regalis
be72a04d90
Switched to the pro version of Code Bold
2017-03-09 20:04:33 +02:00
juanjp600
d6c292a2cc
SharpFont + ScalableFont implementation
...
https://github.com/Robmaister/SharpFont
TODO: replace Code Bold.otf with the full version, fix any bugs, build on Linux, possibly move ToolBox string wrapping and limiting logic to ScalableFont class for better results.
2017-03-07 13:44:42 -03:00
Regalis
5871faa2dd
Added a few new console commands: disablehud, lockx & locky (disables submarine movement on the respective axis), followsub (toggles whether the camera moves with the subs)
2017-02-13 16:23:28 +02:00
juanjp600
fac0c850a5
Changes to collider behavior
...
The collider now levitates above the ground, which makes small obstacles a non-issue. The raytest also helps the collider stick to staircases, so players don't jump off anymore.
Crouching now changes the collider to a smaller version, so now there is actual functionality to crouching.
I also removed the anchor from corpses of network players. I'm not entirely sure why this was done, but removing it doesn't seem to break anything.
2016-11-16 21:30:49 -03:00
juanjp600
d2c17274fe
GUI elements now respect render order + some minor distance comparison optimization
2016-11-15 22:26:36 -03:00
Regalis
c2098f06f8
Removed a redundant DrawRectangle method & redundant sub visibility culling in GameScreen
2016-11-12 18:29:39 +02:00
Regalis
71d4df6300
Highlighting inventory slots when moving items around, red highlight if an item can't be placed in a slot
2016-10-12 16:18:32 +03:00
Regalis
d4e9116b0f
Audio channel states visible in debug view + some sound fixes:
...
- a short "cooldown" after each footstep sound (prevents the sound playing multiple times during one footstep)
- water flow sounds are only played by one of the hulls a gap is between
- flow rate affects the range of the flow sound
2016-10-09 20:11:08 +03:00
juanjp600
94895edbdb
Fixes and minor enhancements for sub editor
...
- Zoom now works relative to the mouse's position rather than the center of the screen, much like Valve's Hammer Editor (or pulsegun's map editor shameless plug ;) )
- Rectangles now have line widths dependent on the camera zoom, not perfect but it's better than having lines disappear
- Fixed background resizing
- Fixed editor being completely broken because of no vsync, might still have a few bugs here and there
- Fixed selection rectangle not rendering at all when dragging from bottom right to top left
- Newline change in Item.cs
2016-10-06 21:15:01 -03:00
Regalis
41289c098a
Moved some UI element updates from draw to update
2016-10-04 18:28:56 +03:00
juanjp600
e1296e4a8e
Backported vsync changes from new-netcode, WIP hull visibility culling
...
The hull culling functions are there, they just aren't being used right now because there are some annoying bugs.
2016-10-02 22:24:31 -03:00
Regalis
5918e845ac
Progress bars that show the health of wall sections when welding/cutting
2016-09-20 18:40:30 +03:00
Regalis
4bf01aeba7
Improved MiniMap: shows hull integrity and oxygen levels, and can be configured to only show oxy/water data if the rooms have detectors in place
...
+ itemprefab "aliases" (allows changing item names while keeping backwards compatibility with older sub files)
2016-09-08 20:21:55 +03:00
Regalis
26b6847bca
Fixed NullReferenceExceptions if in the netlobby when a round ends, fixed chatmsgbox staying disabled after being stunned
2016-08-16 20:18:19 +03:00
Regalis
581a7d5d9f
Highlighted items glow in the dark, health bars are hidden when health is full, usernames and health bars are drawn at full brightness
2016-07-31 19:13:08 +03:00
Regalis11
c9fd599276
Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma into multisub
...
Conflicts:
Subsurface/Source/GUI/GUI.cs
2016-06-09 18:39:54 +03:00
Regalis11
41569675f3
Started refactoring the submarine class in order to make it possible to add multiple submarines (or other movable structures)
2016-06-09 18:34:43 +03:00
Regalis
14c809b2f2
Debug text tweaking, guiframe for relay component, spears loaded into a harpoon gun don't float in the air, some new names
2016-06-07 20:41:32 +03:00
Regalis
14ef736176
"Suicide button" is also usable in single player, unconscious characters can't be selected in sp, fixed resizing textblocks with wrapped text
2016-04-23 17:26:56 +03:00
Regalis
e84e72bba6
Borderless windowed mode, mid-round settings menu
2016-04-22 20:55:56 +03:00
Regalis
de2af7f973
Speech bubble icon next to the character when speaking in multiplayer, fixed clients sending every message through radio when wearing a headset
2016-04-20 20:31:45 +03:00
Regalis
e33f30dad1
Mid-round chat messages have a limited range, headset item which can be used to communicate with players further away, new inventory slot for items like masks and headsets
2016-04-20 17:19:38 +03:00
Regalis
d1580328ed
Some cleanup using ReSharper (mostly removing redundancies)
2016-03-12 15:32:34 +02:00
Regalis
00c1edad09
- Changes in UpdateNetPlayerPosition
...
- Holdable items don't try to change the pose if hand anim is disabled (e.g. when dragging someone or using a railgun controller)
- Indicator which shows the position of the sub when spectating
- Bugfix in controller selection logic
- Saving attributes on separate lines in serversettings.xml
- Safer validation of received sub files
2016-02-28 14:33:03 +02:00
Regalis
9f8f4e290e
Fixed propulsion applying force to _every limb except_ the ones it's supposed to, fixed pressure building up in enclosed rooms that are full of water, fixed netlobby displaying multiple votes for clients, progress on file transfer
2016-02-26 22:21:00 +02:00
Regalis
619390ab72
Water dustparticle fixes, random variation in background color, submarine is automatically moved to origo when loading, configuring a fabricable item with no material requirements doesn't throw an error, AI characters can't open doors if in handcuffs, engines can be picked through doors
2016-02-20 18:24:38 +02:00
Regalis
9b5e78fce4
Re-enabled repairtool character damage
2016-02-13 21:24:41 +02:00
Regalis
201dc1b733
Supercapacitors have much higher max output but smaller capacity, fixed not being able to drag wire nodes in editor, batteries working properly now
2016-02-07 12:32:19 +02:00
Regalis
89406896ca
Editor usable without console, HiddenSubPosition divisible with grid size
2016-02-02 19:04:15 +02:00
Regalis
7637bc441f
Selecting stairs based on WorldRect in editor, disable input if window not active, disable traveling if no locations are selected
2016-01-27 22:27:51 +02:00
Regalis
7098a9a5e0
v0.3:
...
- Launcher checks whether a patch is newer than the current version instead of going through the patches until the current version is found
- CharacterHUD is drawn under crew commander and other UI elements
- All structures other than the command room windows are restored to full health in tutorial
- Longer cooldown for moloch attacks
- AIObjectiveCombat always overrides current order
2016-01-23 14:37:00 +02:00
Regalis
addd9dea5c
Fixed PlayUISound crashing the launcher, generatic ladder waypoints, AICharacter sync bugfix, chatbox resizing according to resolution
2016-01-09 17:02:51 +02:00
Regalis
bc9ff32023
New pump & railguncont sprites, saving fixes (disappearing items fixed?), moving LightManager.ViewPos to railgun when aiming, generating waypoints outside sub, easier wire node editing, characters stand when using a controller, shiftsummary crew status scrolling, stuff
2016-01-04 01:03:37 +02:00
Regalis
cb1513f5e6
Lobbyscreen store fixes, sub name textbox & save button in sub editor, transitioncinematic on crew death, saving reactor state, radar marker position fix, minimap fix, button sounds, artifact positioning fix, better LegUp prevention method, some music clips when round ends
2016-01-03 01:13:32 +02:00
Regalis
8717a2259f
Fixed LobbyScreen item grouping & light.hullsInRange updating
2016-01-02 16:40:24 +02:00
Regalis11
325bf0c66b
WIP item grouping in store screen, endworm event
2016-01-01 22:24:47 +02:00
Regalis11
064e2eadd0
Round end cinematic, CoroutineManager deltatime
2015-12-26 19:33:23 +02:00
Regalis
aa3882a815
Added wire-tag to all wires (to allow using it for fixes even if the name isn't ''Wire''), disconnect networkmember when going to main menu, fixed questmode crashing in multiplayer, fixed too short seeds throwing an error, attachable items aren't attached if secondary key isn't held, update hull when attaching an item, dropping connected wires when detaching items, kicking players with a button click instead of debugconsole
2015-10-17 21:24:00 +03:00
Regalis
838022fcd5
Switch to Barotrauma & too many misc changes to remember
2015-10-16 18:11:58 +03:00
Regalis11
2bb5d41836
Further lighting optimization, fixed (railgun) controller movement, physicsbody collisioncategory changes, command room reactor controls in Vellamo
2015-10-14 22:10:37 +03:00
Regalis
709d4efde9
Particle.FindAdjacentHulls exception fix, OpenAL "invalid value" dix, radar sync, better ragdoll sync, autoupdate cancel/retry on error
2015-10-08 21:48:04 +03:00
Regalis
a285b00eb9
autoupdater fixes, cursor fix, consistent directory separators + use of Path.Combine(), wire bugfixes, more loading screens
2015-10-02 21:33:33 +03:00
Regalis
45178e745b
misc optimization & refactoring
2015-09-29 18:03:38 +03:00
Regalis
cc16bb3ad7
Loaded sounds are properly freed, ObjectProperty optimization, expanded skill effects (rangedweapon accuracy, welding efficiency, electrical shocks), armored wearables + ballistic vest & helmet
2015-09-28 19:48:31 +03:00
Regalis
3587b4a4bb
Status icons, skill/character refactoring
2015-09-25 12:42:42 +03:00
Regalis
f6966f06c3
WIP CrashReporter, misc refactoring
2015-09-19 15:14:47 +03:00
Regalis
29a6260d0f
Non-WinForms launcher with auto updater
2015-09-11 22:13:44 +03:00
Regalis
d8904eaa56
Launcher bugfixes, fixed submarine position syncing, previewing the sub after round ends, wiring bugfix, slower reactor overheat, itemlabel, wifi components
2015-08-21 20:21:22 +03:00
joonas
bb295a7444
Modified code to compile on Linux
2015-08-19 23:34:20 +03:00