sukibaby
e0b254968d
std::size_t -> size_t
...
Removing std prefix from all size_t.
2024-10-01 01:46:26 -07:00
sukibaby
934fc54b8a
BitmapText::DrawPrimitives noexcept
...
This function indirectly determines the amount of average audio latency, this is why changes to BitmapText can affect global offset significantly. Aim to make the function as fast as possible to minimize latency.
1) make BitmapText::DrawPrimitives noexcept
- note: RollingNumbers::DrawPrimitives has to also become noexcept as a consequence
2) Define repeated calculations as constexpr functions defined within an anonymous namespace
3) Fix some formatting stuff
2024-09-22 11:00:41 -07:00
Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02:00
Martin Natano
78fb2e9fc3
Decouple <cstddef>
2023-04-20 11:21:29 +02:00
Brian Phlipot
d079940fea
Address PR feedback.
2023-02-02 11:54:17 -08:00
Michael Sundqvist
0cba3579de
Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
...
Fix whitespace changes
2022-07-31 22:14:38 +02:00
Kyzentun Keeslala
9f40c6d044
Added mult_attrs_with_diffuse to BitmapText. Added some convenience macros to LuaBinding for generic get/set functions. Updated changelog.
2015-10-18 14:09:08 -06:00
Kyzentun
50ab63b573
Changed asserts and exceptions in Font to non-fatal error messages. Changed BitmapText::CropToWidth to ask the font how many glyphs will fit instead of removing one glyph at a time.
2015-02-27 17:38:30 -07:00
Kyzentun
5487362902
Fixed ScreenPrompt::AnswerOnCommand metrics by calling LOAD_ALL_COMMANDS after the name was set.
2014-11-05 22:26:25 -07:00
Kyzentun
2834cded9e
Created tween queue and functions for BitmapText so the stroke color can be tweened.
2014-11-01 18:49:48 -06:00
Kyzentun
b75679f3c1
Actually use the argument in SetMaxDimUseZoom.
2014-09-04 18:21:39 -06:00
Kyzentun
c6f598890b
Added max_dimension_use_zoom lua function to control whether an individual BitmapText uses the zoom in maxwidth calculations.
2014-09-04 18:04:51 -06:00
Kyzentun
88ad09d293
Added distort function to BitmapText.
2014-02-12 18:13:49 -07:00
AJ Kelly
264ba574fb
part two of three re: Actors/
2011-10-02 21:40:33 -05:00
Jason Felds
f9d12e1afe
I hope Windows likes "/" versus "\".
2011-10-02 00:09:40 -04:00
AJ Kelly
9cf2592a32
fix up some include paths.
2011-10-01 22:59:01 -05:00
Jason Felds
12872f0a50
More effective fixes. Still no issues.
...
Note: you will most likely end up recompiling the whole thing.
2011-03-19 20:40:35 -04:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
14047a9e87
Loads more doxy.
2011-02-26 02:38:28 -05:00
AJ Kelly
04317c14ae
f8270c6, "draw glow using stroke texture" forces the BitmapText to glow both the inner and stroke elements. This makes BitmapText elementswith an invisible stroke have a glowing stroke instead. Not good.
...
To combat this, I have developed the BitmapText::textglowmode command, along with the TextGlowMode enum.
Valid values include 'TextGlowMode_Inner', 'TextGlowMode_Stroke', 'TextGlowMode_Both'.
2010-03-12 19:47:08 -06:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00