Commit Graph

17804 Commits

Author SHA1 Message Date
Deve
5931ba288a Don't crash if irrlicht shaders are not available for GLES.
They are needed only for legacy pipeline.
2017-01-12 21:43:11 +01:00
Benau
ec0ff7e984 Fix possible crash when dump the glyph pages 2017-01-12 13:22:41 +08:00
Benau
2127e44cc2 Remove clang compling warning 2017-01-12 09:54:20 +08:00
Benau
40fe84ddbd Fix addon stk mercuy crash
Please avoid using 2nd uv layer on animated mesh
2017-01-11 14:29:37 +08:00
Benau
ffedf637de Fix some override warnings 2017-01-11 13:34:25 +08:00
Benau
3105407b2f Remove error when dropping tires in battle mode when kart dead 2017-01-11 13:33:54 +08:00
Benau
3bffe1f1a7 Allow texture error message to be used in STKTexManager 2017-01-11 10:55:18 +08:00
Benau
874d3d347d Remove unused resize texture code 2017-01-11 09:46:00 +08:00
Deve
527132b6c8 Allow to enforce default player using a config variable.
It can be used on Android until screen keyboard will be done.
2017-01-10 22:10:43 +01:00
Deve
0ffde761ef Minor improvements in list box widget.
- Current time was broken because getTimeSinceEpoch() gives a time in seconds, so the timeout for double click was 500 seconds.
- I disabled the timeout for double click anyway because it's IMO not needed (and it was broken anyway and nobody complained). Second click on the same element always sends the "selected again" event.
- I removed code that hovers new item when mouse is moved during selecting because it was working rather strange. For example it was possible to slightly move a mouse during selecting the item and the action was executed on the first click, even if we expect double click.
- Action is executed on single click on Android
2017-01-10 21:30:45 +01:00
deve
9d9fb06401 Don't select new item when listbox was moving 2017-01-10 13:37:36 +01:00
deve
67b9c85918 Fixed GLES 2017-01-10 10:55:44 +01:00
Benau
5a31cd4e97 Support for backpedal animation 2017-01-10 16:13:34 +08:00
Benau
f1b0f529be Fix #1679 2017-01-10 14:12:38 +08:00
Benau
aa01fafe92 Fix server build 2017-01-10 13:05:19 +08:00
Benau
21060133a8 Fix invalid read reported by valgrind when changing language
And fix possible crash
2017-01-10 12:52:50 +08:00
Benau
a55cc47845 Fix leaking font texture when changing language 2017-01-10 12:52:31 +08:00
Benau
9af219f691 Fix #1780 2017-01-10 11:39:01 +08:00
hiker
2641f0b067 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-01-10 13:25:53 +11:00
hiker
55e98e041c Removed unused (or replaceable in case of clamp) functions from helpers. 2017-01-10 13:25:26 +11:00
auria.mg
87646463b8 Minor : upgrade profiler utils to use the logging functions 2017-01-09 20:36:08 -05:00
auria.mg
7e6761e968 Minor : reduce logging level 2017-01-09 20:30:08 -05:00
auria.mg
ebf3893f73 Minor : add a little documentation to user config 2017-01-09 20:29:41 -05:00
Benau
f7d843a7f7 Make dialog draggable in artist debug mode
So artist can view texture change by moving texture console
2017-01-10 09:22:08 +08:00
Benau
8acd2d689a Merge branch 'new_texture_format' 2017-01-10 09:09:38 +08:00
Deve
ecd5445eed Added a helper function that prints opengl errors 2017-01-09 23:21:40 +01:00
Benau
08876e30ab Remove unused builtin font 2017-01-09 15:50:26 +08:00
Benau
bd20d2512c Keep single channel for reloading texture 2017-01-09 15:35:57 +08:00
Benau
848dd05f11 Add IImage to STKTexture constructor for areamap texture 2017-01-09 15:04:34 +08:00
Benau
c4b4ea006e We don't need to add a new glyph page for billboard text anymore 2017-01-09 13:16:40 +08:00
Benau
46be4948b2 AZDO for new texture format 2017-01-09 13:03:50 +08:00
Daniel Ölschlegel
be2e86166f Update CIrrDeviceLinux.cpp (#2731)
Fix compile error under NetBSD
2017-01-08 20:44:04 -05:00
Benau
e049cb2bd6 Allow saving single channel compressed texture 2017-01-09 00:50:04 +08:00
Benau
71c14ff0b3 Convert code to a more readable format 2017-01-08 23:50:47 +08:00
Benau
1cc8371ac5 Preserve max texture size when restart 2017-01-08 22:02:04 +08:00
Benau
597461d680 Fix server build 2017-01-08 15:42:29 +08:00
Benau
21d35d4bcd Display texture size instead of pointer location 2017-01-08 15:37:03 +08:00
Benau
00437e6d15 Allow using colorization mask with single channel texture only 2017-01-08 15:30:49 +08:00
Benau
4ba1b2408c Minor optimization 2017-01-08 14:38:58 +08:00
Benau
6f191bd7da Fix gles
Because in the past call texture->lock() will return unmodified
cached image (always bgra), now the image will be converted
dependently
2017-01-08 13:31:10 +08:00
James Cowgill
4aae66a050 Convert CREDITS to UTF-8 (#2723)
* Convert CREDITS to UTF-8

* Remove trailing whitespace in CREDITS

* Read CREDITS file as utf-8

* Make CREDITS file non-executable
2017-01-07 18:56:15 -05:00
Daniel Ölschlegel
64015348da Update as_memory.cpp (#2730)
Merged required patch from OpenBSD and NetBSD
2017-01-07 18:55:10 -05:00
Daniel Ölschlegel
6e38e7429b Update as_config.h (#2729)
NetBSD is a BSD
2017-01-07 18:52:39 -05:00
Benau
f609114594 Zero the array to prevent black border in glyph
Also use the correct internal format
2017-01-08 00:05:00 +08:00
Benau
314c32865b Allow using single color channel for font texture 2017-01-07 16:36:25 +08:00
Benau
f78d749a0c Fix no graphics run 2017-01-07 15:43:25 +08:00
Benau
6deb0e0f8a Avoid using createImageFromData with preload data for texture
Todo: allow using single channel for font texture, saving 75% size
2017-01-07 14:45:47 +08:00
Benau
37a4d512ab Add cache version inside the cache file
Also clean up commented out code
2017-01-07 10:44:29 +08:00
auria.mg
68fe1e58c2 Fix a few divisions by zero, see #2727 2017-01-06 21:26:16 -05:00
auria.mg
67e66b44b0 Improve texture cache code to use precise subpaths instead of hashes 2017-01-06 21:07:53 -05:00