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
Benau
3e5199334d
Drop models and lights when leaving model widget screen
2017-01-07 00:27:48 +08:00
Benau
ba8846522e
Implement cleaning for new texture
...
Also warn if there is possible texture leaking when exit STK
2017-01-06 23:45:25 +08:00
Benau
555cdacd83
Improve warning
2017-01-06 20:54:22 +08:00
Benau
437f89eea7
Clean up
2017-01-06 20:28:03 +08:00
Benau
66f3a2e32b
Make dump glyph page possible for new texture format
...
Also implement read-only lock, please use reload() for writing
2017-01-06 19:58:51 +08:00
Benau
2af126357d
Port font to use new texture format
2017-01-06 18:20:19 +08:00
Benau
4bcf03e296
Port reload texture to use new STKTexManager
2017-01-06 15:47:54 +08:00
Benau
827a483e85
Allow legacy pipeline to use new texture format
2017-01-06 15:04:15 +08:00
Deve
5f4bef044b
Pause/resume sounds when game is paused on Android.
...
We should handle both pause and focus events, but they may occur in different order or in some cases we may receive only lost focus event.
So we need to check the current state to make sure that pause/resume sounds is executed only once.
2017-01-05 15:53:32 +01:00
Benau
c7f9de3080
Merge pull request #2725 from LoadingPleaseWait/ghost-slipstream
...
No slipstream from ghost kart, fix #2721
2017-01-05 16:23:18 +08:00
LoadingPleaseWait
1cb329dccf
No slipstream from ghost kart, fix #2721
2017-01-05 02:10:35 -06:00
Benau
513f1e2edf
Add unicolor texture loading
2017-01-05 14:51:38 +08:00
Benau
6e4d7da487
Improve warning handling
2017-01-05 13:42:22 +08:00
Benau
c7d56d3edc
Allow caching compressed texture
...
Use std::hash for string (path + basename + max_texture_size)
2017-01-05 12:50:33 +08:00
Deve
fb0a54278a
Fixed possible crash.
...
STK could crash when invalid graphics restriction name was set in graphics_restrictions.xml file.
It's because of wrong while (m_names_of_restrictions[i] != NULL) condition.
2017-01-05 00:28:16 +01:00
Deve
23acade026
Make sure that legacy pipeline is used when it's set in graphics restrictions.
...
It was be done only for GLES before, but also for OpenGL some drivers create OpenGL 4.x compatibility profile context even if we request GL 2.1. So we can't assume that it will report GL2.1 and we should make sure that fixed pipeline will be used.
Actually now it works in the same way as force_legacy_device in config.xml.
2017-01-04 23:39:15 +01:00
Benau
99857ca193
Fix GLES
2017-01-04 15:05:04 +08:00
Benau
497f1e2785
Clean up billboard texture code
...
Todo: compress them in STKTexture class
2017-01-04 14:35:49 +08:00
Benau
c98e4f2bac
Simplify particle texture loading
2017-01-04 13:43:14 +08:00
Benau
63f57d6a9c
Fix wrong texture if absolute path is not given
2017-01-04 11:41:11 +08:00
Benau
1f8e047164
Update credits about new Hexley
2017-01-04 00:49:31 +08:00
Benau
05a29fe7da
Let material code handle premultiplied alpha and srgb
2017-01-03 16:35:37 +08:00
Benau
0129c539b9
Fix #2543
...
Also disable warning when switching cases for context detection
2017-01-03 13:53:44 +08:00
Benau
d57841bcb8
Fix crash if skybox / SH shares textures from track
2017-01-03 12:35:05 +08:00
Benau
57e16dcb73
Avoid unneeded copying in sky box and SH
2017-01-03 11:08:33 +08:00
Benau
19ac8a0d3c
Allow sky box and SH to use new texture format
2017-01-03 10:18:11 +08:00
auria.mg
ac8a5c552f
Make dialogs non-draggable. Fixes #2717
2017-01-02 19:02:05 -05:00
Deve
9c7a438826
Remove simulating mouse events from event handler.
...
It will be handled in irrlicht device.
2017-01-02 21:49:41 +01:00