Sam Hocevar
4e313aa810
Fix unused variable warnings in the polynomial code.
8 年之前
Sam Hocevar
7be150b0e4
Allow to build without SDL or ffmpeg.
Linux-only for now. This will be necessary for projects that do not
actually use the rendering engine, such as LolRemez.
8 年之前
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
8 年之前
Sam Hocevar
fe99aca67d
Use [[nodiscard]] in a lot of places.
This will let us detect problems with unused return values. For instance,
if you don’t remember that normalize(q) returns a pointer and expect it
to modify the object, you’ll get this warning:
warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
quat q(1,2,3,4); normalize(q);
^~~~~~~~~ ~
8 年之前
Sam Hocevar
9981cf4ce9
Make some AVL tree code less verbose.
8 年之前
Sam Hocevar
c86f703dcf
Some Windows compilation fixes + support for [[nodiscard]].
8 年之前
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
8 年之前
Sam Hocevar
9bdb67a51a
Fix source file encoding.
8 年之前
Sam Hocevar
aca1660e1e
Disable debug messages by default and downgrade a few messages.
From now on, msg::debug will not display anything, unless this is a debug
build, or the LOL_DEBUG environment variable is set.
8 年之前
Sam Hocevar
1733d0ffd8
math: tweak the real number printing routine.
By adding a bias we ensure that 1.999… will be displayed as 2.0 as long as we
do not ask for too many digits, and that rounding is reasonable for most values.
Note that our need for proper rounding is not as high as for IEEE floats since
we have an insane amount of digits at our disposal.
Also we now get rid of trailing zeroes when printing reals.
8 年之前
Sam Hocevar
17db5be5c8
math: remove some hardcoded stuff from the real numbers implementation.
8 年之前
Sam Hocevar
df7454b36a
math: add real::R_MIN and real::R_MAX and get rid of real::ulp().
8 年之前
Sam Hocevar
60ee86f908
ufiodsfiodsifods
8 年之前
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
8 年之前
Sam Hocevar
5d62baaaae
math: parse hexadecimal reals as per C standard, 6.4.4.2.
8 年之前
Sam Hocevar
7b9d98109b
math: use exponentiation by squaring for real::pow().
8 年之前
Sam Hocevar
2e696e7b32
build: fix compilation on MSYS2 when glew is not available. Fixes #8 .
8 年之前
Sam Hocevar
8f3f1736d8
build: fix multiple definition of EXTRA_DIST.
8 年之前
Sam Hocevar
ee622b762f
build: add several missing distributed files for Windows versions.
8 年之前
Sam Hocevar
26e60e45fc
getopt: fix an assert triggered in the Windows runtime.
8 年之前
Sam Hocevar
c6374c7e07
movie: replace the old Movie class with a GIF encoder.
8 年之前
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
8 年之前
Sam Hocevar
e3b1011d37
image: rename some stuff.
9 年之前
Sam Hocevar
a45a0d45d1
audio: do not free buffers that SDL may be using.
9 年之前
Sam Hocevar
3544e76a4d
input: fix uninitialised variable.
9 年之前
Sam Hocevar
a3a802e88f
Update PEGTL submodule to latest upstream branch.
9 年之前
touky
ea93e0fecc
baselua fix
return 1 added after sam remark
9 年之前
Sam Hocevar
f533ecffad
Various compilation fixes.
9 年之前
touky
24d9405ff3
ResourceLoader + tileset tweaks
Moved ImageLoader to ResourceLoader, so that loading is extensible.
i.e. here: Zed image loader now loads up a tileset instead of being a
hacked image loader.
Goal is to support more funky stuff (wad, pak .....)
9 年之前
touky
19545aa446
imgui extension + tileset
imGui docking extension tweak
tileset new getters
9 年之前
touky
90a7d2055d
imgui vec conversion
9 年之前
touky
fd3a6a8ae6
imgui + renderer + mouse scroll
Added scissor mode in renderer
Added scissor support in imGui
Mouse scroll sensivity tweak
9 年之前
touky
f52db94b51
imgui extension
small imgui extension
scene palette shader crashfix
9 年之前
touky
d8efedf4d7
sdl input tweak
sdl integration now supports OS character input as per existing in sdl.
Use SetTextInputActive to turn it off/on
9 年之前
touky
6b4d1645f0
git fuckup
......
9 年之前
touky
575ef8e497
DebugDrawContext pass
Seems to still build in lol, will check other works to be sure
9 年之前
touky
fab4610405
lolua tweaks
Added macros to help basic setup
9 年之前
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
9 年之前
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
9 年之前
touky
4d78d62a70
Lolua refactor 2nd pass: New version is much simpler and practical
Next pass is clean-up and fix of all the old usage
9 年之前
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
9 年之前
Lolbot
af53a69eb7
fixed 9 files out of 506:
- removed 0 CR characters
- removed 7 trailing whitespaces
- replaced 332 tabs with spaces
9 年之前
Sam Hocevar
5fb319b10c
imgui: update submodule to a cleaner branch.
9 年之前
Sam Hocevar
7d2cd5c8a3
build: fix imgui example on Linux
9 年之前
Guillaume Bittoun
3525d1f317
Crash fix: first call to TickGame must not occur before TickDraw. referencing #3
9 年之前
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
9 年之前
touky
3b255d4137
first test for lolimgui
9 年之前
touky
ce13252b69
Shader version compatibility fix
Shader replacement code for older shader version is now fixed
9 年之前
touky
9174a1e43d
startup fixes
9 年之前
Sam Hocevar
aaa39bd782
build: fix Windows build and LolFx generation
9 年之前