Sam Hocevar
9bdb67a51a
Fix source file encoding.
7 jaren geleden
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.
7 jaren geleden
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.
7 jaren geleden
Sam Hocevar
17db5be5c8
math: remove some hardcoded stuff from the real numbers implementation.
7 jaren geleden
Sam Hocevar
df7454b36a
math: add real::R_MIN and real::R_MAX and get rid of real::ulp().
7 jaren geleden
Sam Hocevar
60ee86f908
ufiodsfiodsifods
7 jaren geleden
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
7 jaren geleden
Sam Hocevar
7e69ef4cfa
build: fix bluenoise.cpp compilation.
7 jaren geleden
Sam Hocevar
5d62baaaae
math: parse hexadecimal reals as per C standard, 6.4.4.2.
7 jaren geleden
Sam Hocevar
7b9d98109b
math: use exponentiation by squaring for real::pow().
7 jaren geleden
Sam Hocevar
2e696e7b32
build: fix compilation on MSYS2 when glew is not available. Fixes #8 .
7 jaren geleden
Sam Hocevar
8f3f1736d8
build: fix multiple definition of EXTRA_DIST.
7 jaren geleden
Sam Hocevar
ee622b762f
build: add several missing distributed files for Windows versions.
7 jaren geleden
Sam Hocevar
26e60e45fc
getopt: fix an assert triggered in the Windows runtime.
7 jaren geleden
Sam Hocevar
7b2f3bdcfb
samples: add blue noise generation demo.
7 jaren geleden
Sam Hocevar
e38a7e7c22
tools: remove lolremez.
It will now be available at https://github.com/samhocevar/lolremez
7 jaren geleden
Sam Hocevar
c6374c7e07
movie: replace the old Movie class with a GIF encoder.
7 jaren geleden
Sam Hocevar
f42fda8281
Merge branch 'master' into ffmpeg_encoding
7 jaren geleden
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
7 jaren geleden
Sam Hocevar
e3b1011d37
image: rename some stuff.
7 jaren geleden
Sam Hocevar
a45a0d45d1
audio: do not free buffers that SDL may be using.
8 jaren geleden
Sam Hocevar
3544e76a4d
input: fix uninitialised variable.
8 jaren geleden
Sam Hocevar
a3a802e88f
Update PEGTL submodule to latest upstream branch.
8 jaren geleden
touky
9054294772
Merge remote-tracking branch 'refs/remotes/origin/lolperso_changes'
8 jaren geleden
touky
a68b433ccc
Merge remote-tracking branch 'origin/lolperso_changes' into lolperso_changes
8 jaren geleden
touky
ea93e0fecc
baselua fix
return 1 added after sam remark
8 jaren geleden
Sam Hocevar
f533ecffad
Various compilation fixes.
8 jaren geleden
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 .....)
8 jaren geleden
touky
6edffc6332
Merge remote-tracking branch 'refs/remotes/origin/lolperso_changes'
8 jaren geleden
touky
19545aa446
imgui extension + tileset
imGui docking extension tweak
tileset new getters
8 jaren geleden
touky
06b88ab2bf
Merge remote-tracking branch 'refs/remotes/origin/lolperso_changes'
8 jaren geleden
touky
90a7d2055d
imgui vec conversion
8 jaren geleden
touky
8b436aab9a
Merge remote-tracking branch 'refs/remotes/origin/master' into lolperso_changes
8 jaren geleden
touky
fb400005fe
Merge remote-tracking branch 'refs/remotes/origin/lolperso_changes'
8 jaren geleden
touky
fd3a6a8ae6
imgui + renderer + mouse scroll
Added scissor mode in renderer
Added scissor support in imGui
Mouse scroll sensivity tweak
8 jaren geleden
touky
b664efb471
Merge remote-tracking branch 'refs/remotes/origin/master' into lolperso_changes
8 jaren geleden
touky
0641033048
Merge remote-tracking branch 'refs/remotes/origin/lolperso_changes'
8 jaren geleden
touky
f52db94b51
imgui extension
small imgui extension
scene palette shader crashfix
8 jaren geleden
touky
d8efedf4d7
sdl input tweak
sdl integration now supports OS character input as per existing in sdl.
Use SetTextInputActive to turn it off/on
8 jaren geleden
touky
6c2aee32a4
fixes
debug draw fixes are really un-numerous in ze lol, it seems
8 jaren geleden
touky
6b4d1645f0
git fuckup
......
8 jaren geleden
touky
575ef8e497
DebugDrawContext pass
Seems to still build in lol, will check other works to be sure
8 jaren geleden
touky
ce1fa592c5
Merge branch 'lolua_refactor'
8 jaren geleden
touky
fab4610405
lolua tweaks
Added macros to help basic setup
8 jaren geleden
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
8 jaren geleden
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
8 jaren geleden
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
8 jaren geleden
Sam Hocevar
ed703e6a56
doc: add a GIF exporting program (experimental for now)
8 jaren geleden
Sam Hocevar
ad45e4d284
doc: fix linking with ffmpeg on Linux and start a tutorial program.
8 jaren geleden
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
8 jaren geleden