Jupeyy
8e9baedf9a
Use pointer directly for tile layer building
2020-10-13 19:52:14 +02:00
Learath2
b3b90796dc
Don't waste bytes when we are already aligned
2020-10-13 17:30:30 +02:00
Learath2
200c4fc12e
Fix alignment issues in CCommandBuffer
2020-10-11 17:18:49 +02:00
Jupeyy
8d6148b20b
Modulize skins, particles, emoticons and game
2020-10-09 09:07:19 +02:00
Dennis Felsing
2ba9535529
Use warnings popups for some io failures
2020-10-02 16:06:16 +02:00
def
b178c7c74a
Make sure headers compile standalone
...
Not planning to do this automatically, but at least cleaning it up once
provides some benefit. Every header should include what it uses.
$ for i in src/**/*.h; do j=${i#"src/"}; echo $j; echo "#include <$j>\nint main() { return 0; }" | /usr/bin/c++ -DCONF_OPENSSL -DCONF_SQL -DCONF_VIDEORECORDER -DCONF_WAVPACK_CLOSE_FILE -DCONF_WAVPACK_OPEN_FILE_INPUT_EX -DGAME_RELEASE_VERSION=\"15.0.5\" -DGLEW_STATIC -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -I/usr/include/opus -I/usr/include/SDL2 -I/usr/include/wavpack -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -Isrc -I/usr/include/mysql -I/home/deen/sys/include/ -O2 -g -DNDEBUG -fdiagnostics-color=always -fstack-protector-all -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wno-nullability-completeness -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -std=gnu++11 -o /dev/null -x c++ -; done
Ignored: tuning.h, variables.h, config_common.h, mapitems_ex_types.h, mapbugs_list.h, protocol7.h, teehistorian_ex_chunks.h, protocol_ex_msgs.h, config.h, config_variables.h, external, keynames.h
2020-09-26 21:50:27 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Jupeyy
84cad658d6
Add new renderer(as streamed vertices) for editor
2020-09-23 16:45:32 +02:00
heinrich5991
ffab6292ad
Merge branch 'master' into pr-start
2020-09-11 14:25:50 +02:00
heinrich5991
aa46ca6bf9
Fix some style issues via scripts/fix_style.py, size_t
2020-09-11 00:47:38 +02:00
Jupeyy
1e1c16f83a
Make override consistent
2020-09-11 00:34:43 +02:00
Jupeyy
b83d8735fe
Create entity textures seperately
2020-09-11 00:34:42 +02:00
def
2cdc7d0faf
Adapt 0.7 start menu
...
- Working Local Server button (needs fixing for Windows)
- Highlight buttons if server is running, new news is out and editor has
unsaved changes
2020-09-10 20:13:01 +02:00
Jupeyy
b1e98b598b
Show warnings with non divisible by 16 textures(3D/2D array textures)
2020-08-29 17:04:30 +02:00
Jupeyy
3117a936a9
Do not create 2D textures, if not required
2020-08-23 08:53:26 +02:00
Jupeyy
a07e9ac2cf
Add OpenGL 1.x, 2.x, 3.x support ( fixes #2619 ) ( fixes #2607 )
2020-08-22 10:22:51 +02:00
Jupeyy
7450e354de
Add OpenGL 4.x support & cleanup
2020-08-19 08:42:09 +02:00
Jupeyy
c2ce132ba3
Allow specifying an OpenGL version manually
2020-08-19 07:04:54 +02:00
def
6fd7ded869
Whitespace
2020-04-07 22:57:07 +02:00
Learath
388d792205
Add an option for highdpi
2020-04-07 23:47:15 +03:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
Learath
6c371a9a57
Even more refactoring
2019-04-27 01:11:15 +03:00
Jupeyy
d7bb03ee19
don't render all border all the time
2018-08-02 18:26:12 +02:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
Jupeyy
27d9440751
don't create buffers, if OpenGL 3.3 is not used
2018-04-15 19:34:56 +02:00
Jupeyy
15f0efc2bd
fix text color if opengl3.3 is off
2018-04-03 17:40:21 +02:00
Jupeyy
53a93c077e
add window resize listener
2018-03-21 15:48:48 +01:00
Jupeyy
898af39311
add new functions to support the new backend layout and the new
...
rendering system
2018-03-13 21:47:07 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
Jupeyy
060f6fd36e
Load shaders through IStorage class
...
Fixes #939 .
2017-12-02 22:19:57 +01:00
heinrich5991
be80ccb7d6
Don't use nonstandard #pragma pack
...
It's not needed in that place anyway.
2017-11-18 00:24:44 +01:00
Jupeyy
37c5102928
only delete VBOs when the VAO, which uses the VBO, is deleted(AMD driver
...
bug under windows). And only allow true fullscreen under supported
display resolutions, to enable prevention of DPI scaled opengl viewport
2017-10-23 18:02:18 +02:00
Jupeyy
26bd800d63
calculate the LOD on CPU side and restrict mipmap levels for huge
...
textures to remove bad looking mipmap generations at high zoom levels
2017-10-09 18:58:44 +02:00
Jupeyy
91216fb90c
reduce upload size by normalizing color values, fix slow upload for some
...
iGPUs and force old opengl context, if issueinit fails
2017-09-27 12:16:34 +02:00
Jupeyy
1167ab822c
reduce upload since of vertices if drawing quads
2017-09-14 02:50:31 +02:00
Jupeyy
a477540358
add new commands to buffer objects and draw them
2017-09-12 20:08:45 +02:00
Jupeyy
1053bc735d
initial port to opengl3.3 (without any optimazations)
2017-09-02 15:24:07 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
def
7a5b79e48a
More SDL2 graphics goodness, partially from TW master
2016-04-30 00:43:11 +02:00
def
354696afb7
switch between fullscreen and windowed mode without restarting the client (by oy)
2016-04-29 21:56:38 +02:00
def
ff2a7272fa
Improved window grabbing: only when relative mouse mode is active
2016-04-29 21:56:38 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
BeaR
462d88eac4
Reduce amount of drawcalls when using triangles instead of quads
2015-03-31 13:35:18 +02:00
BeaR
2f837a4c44
Notify player on chat highlight (windows only)
2014-10-18 16:17:36 +02:00
def
2db9e5c7b0
Hopefully fix screenshots
2014-03-29 17:04:06 +01:00
def
d092b8007d
Add editor undo function (by MAP94)
2014-01-19 04:02:01 +01:00
BeaR
d58afefaae
Some graphic batching:
...
Speed up for displaying debugtext and envelopepreview
(This reduces the performance hit especially for the 'Show Info' mode in the editor)
Conflicts:
src/engine/client/client.cpp
src/game/editor/editor.cpp
src/game/editor/editor.h
2013-02-24 18:23:06 +01:00