Regalis
be72a04d90
Switched to the pro version of Code Bold
2017-03-09 20:04:33 +02:00
juanjp600
2d9f706998
Scale applies to newlines in ScalableFont.DrawString
2017-03-07 15:44:59 -03:00
juanjp600
7c6032e3fc
Removed GUITextBlock.caretAt
...
Just a leftover of something I tried to implement but never got around to finishing.
2017-03-07 13:56:12 -03:00
juanjp600
49b440208c
Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
2017-03-07 13:44:52 -03: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
10794a5e2c
Added z position to background sprites
2017-03-06 18:38:38 +02:00
Regalis
5e9f69eed4
v0.5.4.5
2017-03-06 17:18:46 +02:00
Regalis
88a76f0c9f
Fixed the game process staying active in the background after a crash (due to a running sound streaming thread)
2017-03-03 20:58:32 +02:00
Regalis
c96fcf7f34
Clients can't use headsets that are in the inventory
2017-03-03 20:31:07 +02:00
Regalis
4c863cfdd7
Some extra error checking in GUIComponent and PhysicsBody syncing logic
2017-03-03 20:29:33 +02:00
juanjp600
ee16f0708b
-try-catch blocks for GUIComponents fixedChildren lists
...
-player name and IP address in debug messages
-crash logs now output up to 15 messages
2017-03-03 15:14:18 -03:00
Regalis
e059a08688
Optimized lightsource raycasts
2017-03-03 00:02:43 +02:00
Regalis
f04a00f6e1
Merge branch 'lighting-optimization'
2017-03-02 19:39:55 +02:00
Regalis
335ee8c72e
Warning message about unlinked vents is only shown once when saving (not for each vent)
2017-03-02 19:39:00 +02:00
Regalis
a5017193bf
Items don't attempt to set the positions of contained items with SetTransform if SetTransformIgnoreContacts fails (because the former calls the latter anyway, causing another exception). Still haven't managed to reproduce the exception
2017-03-02 19:38:31 +02:00
juanjp600
01a543e8b4
Fixed slight mistake in homoglyph list
2017-03-02 13:54:40 -03:00
juanjp600
ac3015f983
Slight homoglyph search optimization
...
Instead of calling Find twice, it calls it once for the first character and checks if the returned group contains the other character
2017-03-02 12:32:14 -03:00
juanjp600
ba026a8f88
Added list of homoglyphs for name comparison
...
Unicode is now allowed in player names, but it can't be easily exploited anymore
2017-03-02 12:09:08 -03:00
Regalis
65625777e5
Monster syncing fixes:
...
- clients freeze and disable AI characters if no updates have been received in a while (due to the monster being far away from player-controlled characters at the servers side for example)
- server disables AI characters that are too far for updates to be sent to clients (-> targets of monster missions can't swim away from the spawnpos and cause the clients' sonars to point to an incorrect position)
2017-03-01 23:14:15 +02:00
juanjp600
f2db3c6b20
Merge remote-tracking branch 'barotrauma/master' into lighting-optimization
2017-03-01 15:02:23 -03:00
Regalis
708a67caeb
Switched to fonts that support the cyrillic alphabet
2017-03-01 19:31:26 +02:00
Regalis
871c3bc93c
Character colliders are disabled when the character is disabled (-> monsters won't automatically drop into abyss in monster missions)
2017-03-01 19:15:50 +02:00
juanjp600
1f607c2018
Made windowed door's shadow match the sprite more closely
2017-03-01 13:43:00 -03:00
juanjp600
3868b70387
Fixed windowed door shadows
2017-03-01 13:41:37 -03:00
juanjp600
84a8232c1a
Fixed override sprite scaling
...
Now it looks right.
2017-02-28 19:38:25 -03:00
juanjp600
4568f34f39
Rotating lights and overridden textures
...
The flashlight has the correct texture now, but something still seems off about the UV coordinates. Scaling is probably incorrect.
2017-02-28 19:19:02 -03:00
Regalis
eb0d592814
v0.5.4.4
2017-02-28 00:05:13 +02:00
Regalis
9e16542b13
Replaced the arrows in server lobby buttons with images, made GUIImages rotatable (todo: make them align correctly when rotated/scaled), fixed the size of the sub save warning messagebox
2017-02-27 22:28:10 +02:00
Regalis
979c82443c
Derp: fixed submarine files not being included in saves if the player saves and quits from the single player lobby
2017-02-27 21:33:42 +02:00
Regalis
27a883349c
Server keeps a reference to the StartGame coroutine and checks if it has stopped running before the round has started, and if so, resets autorestart timer and start button (i.e. an exception at any point during startup will trigger the reset)
2017-02-27 21:30:39 +02:00
Regalis
f8304ceb7e
Workaround for exceptions in SetTransformIgnoreContacts
...
http://undertowgames.com/forum/viewtopic.php?f=21&t=5915#p112558
2017-02-27 20:55:23 +02:00
Regalis
b635a61bb4
Editor UI fixes: UI of the selected item is added to GUIUpdateList in wiring/character mode, save/load/item menus can't be clicked when hidden by wiring/character mode
2017-02-27 20:09:15 +02:00
Regalis
c3b8f2a1db
Fixed OpenAL errors when removing looping sounds
...
The sounds didn't save their source id in the Sound.Loop method, so they couldn't stop the playback upon removal which caused errors when unbinding and deleting the (still playing) sound buffer
2017-02-27 19:02:33 +02:00
Regalis
22d40077fa
Fixed exception in LightSource if ConvexHullList for hulls outside the sub hasn't been generated (i.e. if switching to game mode using console commands), removed some debug code
2017-02-27 18:53:34 +02:00
Regalis
68a0320935
LightSources cache the light vertices in vertex buffers and only recalculate if needed
2017-02-27 00:41:50 +02:00
Regalis
f3f875e641
Calculating light volumes works now. Very poorly optimized at the moment, todo: cache volumes and only recalculate when needed
2017-02-26 21:33:32 +02:00
Regalis
abfe2261d2
- ConvexHulls consist of Segments and SegmentPoints which keep references to each other
...
- LightSources fetch a list of non-backfacing ConvexHull segments within their range, and sort the points counter-clockwise (TODO: calculate triangles from the points)
- fixed incorrectly working CircleIntersectsRectangle method
2017-02-26 01:17:22 +02:00
Regalis
bcabe4ab39
Disabled convexhull shadow caching
2017-02-25 21:50:24 +02:00
Regalis
844097b132
Initial steps in making the light rendering use light volumes instead of shadow volumes to allow rendering the lights in one batch.
...
So far just disabled shadow rendering and cleaned up some unnecessary stuff
2017-02-25 21:24:38 +02:00
Regalis
c9f09031de
Re-enabled anchoring main limb to the collider when a remote player is unconscious (otherwise only the position of the collider will be synced, and the ragdoll won't follow it)
...
+ stunned characters can't send position updates
2017-02-25 18:06:43 +02:00
Regalis
bf3fa804df
Fixed ragdolls accumulating a large movement value while being dragged (backported from commit a21d8d7)
2017-02-25 16:40:52 +02:00
Regalis
12466e304e
Fixed server failing to start a round if there's a selected cargo spawnpoint is not inside a hull
2017-02-25 15:03:10 +02:00
Regalis
2a60f9d052
Fixed "OpenAL not found" exceptions if no audio devices are found
2017-02-25 14:28:12 +02:00
Regalis
7aafdadae5
(Maybe?) fixed "collection was modified" exceptions in GUIComponent.AddToGUIUpdateList
...
http://undertowgames.com/forum/viewtopic.php?f=21&t=5915
Couldn't reproduce the exception and not sure why exactly it happens, but I think this should prevent it
2017-02-24 19:16:42 +02:00
Regalis
b8c3b9c29f
- sub editor shows a warning upon saving if there are entities way outside the sub
...
- warnings are shown in a GUIMessageBox instead of the debug console
- added a submarine indicator to the editor
2017-02-24 00:01:46 +02:00
Regalis
5006a9af6c
New fonts, loading progress doesn't stay stuck at 70% during SoundPlayer initialization
2017-02-22 23:31:36 +02:00
Regalis
27e74490a0
New wire sprite and switched the body from circle to capsule, tweaked physicsbody position lerping logic (catches up with the server faster)
2017-02-22 22:02:33 +02:00
Regalis
d7aba531d7
Server port included in refresh and remove requests to master server, spectators see indicators for both subs during combat missions
2017-02-21 20:57:04 +02:00
Regalis
d50eba55a6
Fixed controller.userPos being recalculated incorrectly when flipping the sub (due to userPos being relative to the center of the item since commit 49d4108e)
2017-02-21 20:24:02 +02:00
juanjp600
c04f78a05c
Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
2017-02-21 13:58:41 -03:00