hiker
283a7c58b9
Moved more shaders.
2015-05-19 09:36:28 +10:00
hiker
b40f84e89d
Moved more shaders.
2015-05-19 09:20:29 +10:00
hiker
8e4ee298e0
Moved shaders into render_lighting, fixed coding style for
...
render_lighting.
2015-05-18 21:33:26 +10:00
Nado
2b36759ba3
Resized max length of mail address up to 254 chars
2015-05-18 09:33:21 +02:00
hiker
6def0c752c
Moved more shaders.
2015-05-18 16:52:42 +10:00
hiker
90d7fac6c4
Fixed coding style.
2015-05-18 16:43:30 +10:00
Marianne Gagnon
e290e9003d
Tweak for scripting documentation
2015-05-17 20:12:39 -04:00
Marianne Gagnon
db4c6f4799
Work on scripting console
2015-05-17 20:03:53 -04:00
Marianne Gagnon
080936f144
Work on scripting
2015-05-17 19:27:25 -04:00
hiker
78220d5ed7
Moved more shaders.
2015-05-18 08:49:41 +10:00
hiker
3cb0c6f4c2
Fixed coding style in stkmesh.
2015-05-18 08:22:52 +10:00
hiker
37d787ff38
Fixed linux compilation.
2015-05-17 10:28:37 +10:00
hiker
a50d11df36
Try a different linux fix.
2015-05-17 10:04:01 +10:00
hiker
f0f230b042
Try to fix linux compilation.
2015-05-17 00:56:42 +10:00
hiker
1a09a09dd9
Removed now unnecessary parameter for assignSamplerNames.
2015-05-17 00:22:14 +10:00
hiker
e0ef910137
Renamed TextureRead to TextureShader.
2015-05-17 00:04:19 +10:00
hiker
329a4ac047
Removed multiple inheritance, instead made TextureRead inherit from
...
Shader. work in progress!
2015-05-16 10:39:33 +10:00
Marianne Gagnon
e23f854845
Scripting work
2015-05-14 19:27:32 -04:00
hiker
dc211f2000
Improved coding style.
2015-05-15 08:16:23 +10:00
hiker
488f506932
Moved more shaders into PostProcessing.
2015-05-14 16:43:32 +10:00
hiker
f0d0e7e601
Moved SharedObjects into separate file shared_gpu_object.
...
This also fixes the missing loading screen (likely caused by
not initialising all objects, or not in the right order).
2015-05-14 16:27:32 +10:00
hiker
3b682ff084
Moved more shaders into PostProcessing.
2015-05-13 09:57:53 +10:00
Marianne Gagnon
7d66dfec0e
Make scripting work on OS X, hoping this doesn't break windows or linux
2015-05-12 19:49:14 -04:00
hiker
56bc14ff31
Moved more shaders into PostProcessing.
2015-05-13 08:55:59 +10:00
Marianne Gagnon
0ea991adee
More work for scripting compatibility on Linux/GCC
2015-05-12 18:31:08 -04:00
hiker
ea69eb3178
Minor style changes.
2015-05-13 08:22:58 +10:00
hiker
26d63ce844
Fixed linux compilation, and some more coding style issues.
2015-05-13 08:14:39 +10:00
hiker
827b9adce2
Moved more shaders into 2dutils.
2015-05-12 16:48:12 +10:00
hiker
320dd6d1df
Moved more shaders into 2dutils.
2015-05-12 16:43:03 +10:00
hiker
fbad97a4a7
Moved Primitive2DList into 2dutils, fixed coding style of 2dutils.
2015-05-12 16:24:40 +10:00
Marianne Gagnon
6ccebd09b6
Improve scripting compatibility with Linux/GCC
2015-05-11 21:49:13 -04:00
hiker
ee26611759
Moved billboard shader into stkbillboard, cleaned up coding style somewhat.
2015-05-12 10:01:24 +10:00
hiker
f4cf41e466
Moved more shaders into render_gemoetry.
2015-05-12 09:50:18 +10:00
Marianne Gagnon
c48037984d
Update to latest angelscript
2015-05-11 19:40:43 -04:00
hiker
ac3984b403
Fixed linux compilation.
2015-05-11 21:08:52 +10:00
hiker
e337b72789
Moved *Detailed* shader into render_geometry, renamed all detailled
...
to detailed.
2015-05-11 17:17:08 +10:00
hiker
77bfa84609
Moved more render-geometry specific shader into render geometry.
2015-05-11 17:07:31 +10:00
Marianne Gagnon
f269b44208
SCripting branch fix
2015-05-10 20:04:44 -04:00
Marianne Gagnon
a29fa5c4a3
More work on scripting
2015-05-10 19:19:35 -04:00
hiker
f3f30a8057
Moved GrassPass1Shader into render_geometry; fixed up coding style
...
somewhat.
2015-05-11 09:14:43 +10:00
hiker
400f9c612b
Moved SpecularIBLGenerator-shader into IBL.cpp, and ColoredLine
...
shader into Shaders. Fixed codying style of IBL somewhat.
2015-05-11 08:09:09 +10:00
Marianne Gagnon
78f9500b1d
Work on scripting
2015-05-09 21:29:37 -04:00
hiker
93f24f2a74
Removed Shaders instance out of irr-driver, and use a class
...
with static members instead.
2015-05-08 23:46:52 +10:00
Deve
199cda80b1
Merge pull request #2101 from konstin/fix_2095
...
add --log to --help message; fixes 2095
2015-05-08 10:32:05 +02:00
hiker
824b6906c1
Fixed compiler warning.
2015-05-08 13:59:19 +10:00
hiker
7453853c6d
Fixed linux build.
2015-05-08 13:45:43 +10:00
hiker
ba957ca0dc
Merge branch 'refactor_shaders' of github.com:supertuxkart/stk-code into refactor_shaders
2015-05-08 13:21:54 +10:00
hiker
3607cadf62
Merge branch 'origin/refactor_shaders' into refactor_shaders
2015-05-08 13:21:13 +10:00
hiker
310a58541d
Cleanup, part 1 - shaders_util is gone :)
2015-05-08 13:21:08 +10:00
hiker
a16bbf71a4
Converted remaining shaders.
2015-05-08 08:30:51 +10:00
hiker
5070531ad7
Converted more shaders.
2015-05-08 08:02:56 +10:00
hiker
38a1deeff5
Converted more shaders.
2015-05-07 19:18:24 +10:00
hiker
b441dba764
More shaders converted.
2015-05-07 16:40:38 +10:00
hiker
4338fe6144
Migrated more TextureReads to the new shader infrastructure.
2015-05-07 09:54:29 +10:00
auriamg
43add89cc2
Merge pull request #2181 from Flakebi/rtl-fix
...
Fix Random Grand Prix being reversed in RTL languages
2015-05-06 19:07:18 -04:00
hiker
8b9e5acd1a
Converted more shaders to use the new template.
2015-05-07 07:41:51 +10:00
Flakebi
a311281aa7
Fix Random Grand Prix being reversed
2015-05-06 20:39:40 +02:00
hiker
08ea768e16
Moved create*Sampler functions into TextureRead.
2015-05-06 22:33:15 +10:00
hiker
a6b8783d46
Moved bind functions into TextureRead class.
2015-05-06 22:08:03 +10:00
hiker
dfe4f09ed5
Start to re-implement TextureRead without variadic templates for
...
BindTexture and CreateSampler. VERY MESSY ATM, work in progress.
2015-05-06 16:51:54 +10:00
deve
f019f8622c
Make sure that window size is larger than 0
2015-05-04 11:09:53 +02:00
hiker
0ace0aeb5b
Added comments.
2015-05-04 16:51:50 +10:00
Marianne Gagnon
d98c1044e6
More work on scripting
2015-04-30 20:36:54 -04:00
Marianne Gagnon
1559d03ea1
More work on scripting, test ways to pass arguments to script functions
2015-04-30 20:24:02 -04:00
Marianne Gagnon
585d1c5016
Scripting cleanup, remove hardcoded stuff in favor of more generic approaches
2015-04-30 19:37:11 -04:00
hiker
d32a76cd16
Rearranged order of functions in header to have the dependent/recursive
...
functions closer to each other. Removed unnecessary assignTextureUnit
function (with one argument).
2015-04-29 16:36:48 +10:00
hiker
c91f9655d8
Unlock all karts in multiplayer mode.
2015-04-29 08:18:52 +10:00
hiker
75b24c96ad
Unlock all tracks and GPs in split screen mode.
2015-04-29 08:07:06 +10:00
hiker
aaf20dc919
Fixed #2118 .
2015-04-27 17:14:23 +10:00
hiker
0b7c03b34c
Fixed linux compilation.
2015-04-27 09:40:12 +10:00
Marianne Gagnon
dfcaf44058
Scripting work
2015-04-26 19:06:51 -04:00
hiker
b14acf2a67
Moved TextureRead into a new file, fixed coding style.
2015-04-27 09:03:33 +10:00
Flakebi
d19112760f
Include algorithm in translation.cpp
2015-04-27 00:14:52 +02:00
Flakebi
5462a62c75
Fix TEST_BIDI in multiplayer KartSelection
2015-04-27 00:13:23 +02:00
Flakebi
af88b4a16f
Fix translation issues with grand-prixs
2015-04-26 23:31:57 +02:00
Flakebi
0b9876c53e
Use isRTLText in the BubbleWidget
2015-04-26 22:55:28 +02:00
Flakebi
fae12f3714
Fix RTL texts with multiple lines
2015-04-26 22:34:17 +02:00
Flakebi
56aecdb692
Fix achievements RTL display
2015-04-25 16:10:54 +02:00
Flakebi
6e0b96c21f
Fix TEST_BIDI option
2015-04-25 16:01:50 +02:00
hiker
e1ef2aa305
Removed TexUnit data structure.
2015-04-25 18:49:18 +10:00
auriamg
f97db81ce3
Merge pull request #2103 from nado/fix_NoFribidi_compilation
...
Fix compilation with -DUSE_FRIBIDI=0
2015-04-24 21:07:12 -04:00
auriamg
e769f995ec
Merge pull request #2104 from nado/fix_#2102
...
Fix #2102 .
2015-04-24 21:06:43 -04:00
Marianne Gagnon
9f883db6f7
Start work to enable scripting
2015-04-24 20:59:32 -04:00
hiker
45d6c863b3
Moved AssignTextureUnit to new Shader base class.
2015-04-25 00:57:53 +10:00
hiker
118233fb24
Removed now duplicated code.
2015-04-24 14:57:36 +10:00
hiker
865760ffa4
Fixed reloadShader functionality.
2015-04-24 12:36:25 +10:00
Flakebi
819156106d
Mark text as RTL when at least one character is RTL
2015-04-24 03:45:05 +02:00
hiker
5d098488e6
Use new Shader baseclass for all shaders.
2015-04-24 10:31:37 +10:00
hiker
bbaf061ae9
Added printFileList to Shader, renamed old global function.
2015-04-24 08:38:04 +10:00
hiker
1a96ed6249
Made SimpleParticleRender based on the new shader base class.
2015-04-24 08:26:17 +10:00
Nado
1a395efbfd
Fix #2102 .
...
Moving output modifier and early exit options (--help, --version,
--log, etc) earlier in the execution so nothing useless is printed.
2015-04-23 20:13:37 +02:00
Nado
76270ce0ec
Fix compilation with -DUSE_FRIBIDI=0
2015-04-23 19:55:12 +02:00
konstin
adceb35812
add --log to --help message
2015-04-23 17:40:20 +02:00
hiker
a51225ec36
Added bypassUBO method to new shader base class.
2015-04-23 17:11:19 +10:00
hiker
262fc0c373
Started refactoring of shaders to follow our coding style.
...
One transform feedback buffer shader in particles is done.
2015-04-23 16:44:26 +10:00
hiker
959c86d816
Merge branch 'use_log_in_tinygettext'
2015-04-20 17:36:08 +10:00
hiker
00782180f7
Fixed crash when using translation debugging (only happens if
...
DEBUG_TRANSLATIONS is defined).
2015-04-16 15:28:49 +10:00
hiker
ad2ca0f394
Merge branch 'fix_2073'
2015-04-16 08:17:36 +10:00
hiker
d4c33b294d
Fixed compiler warning.
2015-04-16 08:15:20 +10:00
hiker
50acbea315
Fix crash in case of invalid kart types (e.g. 'default', which the
...
exporter actually writes if 'default' is selected).
2015-04-16 07:56:41 +10:00
hiker
e8b8bbdd3b
Added display of normals at the vertices of the triangles the kart is driving on
...
to the debug display, which is useful to find why interpolated normals are wrong.
2015-04-15 07:44:50 +10:00
hiker
8f090525fb
Added more skidding particle debug code.
2015-04-14 16:40:50 +10:00
hiker
fb9d422f9b
Made interpolated normals white to make them easier to distinguish.
2015-04-14 16:39:28 +10:00
hiker
ecdf32c01e
Fixed size of shader parameter (though de-facto doesn't matter much).
2015-04-14 16:37:54 +10:00
hiker
0627bd85f3
Added some (commented out) debug features for gpu particles.
2015-04-14 16:35:05 +10:00
hiker
2c44bd1201
Removed unnecessary copy, precompue area of triangle to reduce
...
work when smoothing normals.
2015-04-14 16:21:43 +10:00
hiker
a4264cc063
Visualise the (interpolated) normal at the points where the wheels touch the ground.
2015-04-14 09:33:55 +10:00
Marianne Gagnon
cdde932908
Tentative fix for #2079
2015-04-09 19:58:07 -04:00
Flakebi
effe131e4a
Dynamically test if text is rtl or not
2015-04-09 01:57:33 +02:00
Flakebi
66dd089902
Move rtl debug option to a more general method
2015-04-09 01:26:55 +02:00
Flakebi
dffd431f3c
Add isRTLText function
2015-04-09 01:14:56 +02:00
Marianne Gagnon
d746ea8aa1
Fix #2068
2015-04-07 19:11:59 -04:00
hiker
67d5e41d2c
Try an improvement for #2073 (stk does not start if /data
...
exists).
2015-04-05 22:14:48 +10:00
hiker
ddcd6f9ca3
Removed empty files.
2015-04-03 00:05:47 +11:00
hiker
fb58e4b3b3
Use STK's log function in tinyugettext (so all errors/warnings
...
are logged to stdout.log).
2015-04-02 23:59:55 +11:00
auriamg
6af71fe582
Merge pull request #2053 from tobbi/fix_redefinition_warning
...
Fix glVertexAttribDivisor redefinition warning
2015-04-01 19:07:34 -04:00
hiker
c7e785b59c
Fixed translator credits display (translators were repeated before).
...
Added #undef'ed debug mode to only see translations.
2015-03-31 16:16:30 +11:00
hiker
9cb862f708
Fix travis build.
2015-03-30 11:50:47 +11:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
hiker
bcd9654a86
Added missing GPL license.
2015-03-30 11:42:28 +11:00
Marianne Gagnon
2d2624f71c
Merge remote-tracking branch 'Flakebi/fribidi-text'
2015-03-29 20:06:21 -04:00
Marianne Gagnon
3a6fd75f10
Merge remote-tracking branch 'Flakebi/motionblur-fix'
2015-03-29 19:52:16 -04:00
Flakebi
114644233a
Improve RTL display of track names in story mode
2015-03-30 01:23:01 +02:00
Flakebi
9417b80a5c
Fix FPS display
2015-03-30 01:22:59 +02:00
Flakebi
06c8089dfc
Fribidize more strings
2015-03-30 01:22:57 +02:00
hiker
c579eba6db
Removed empty file.
2015-03-30 09:58:28 +11:00
hiker
1971254a7f
Fixed compiler warning.
2015-03-30 09:43:58 +11:00
Flakebi
b041d0d79e
Challenge points were not displayed at the right position for RTL languages
2015-03-30 00:43:23 +02:00
Flakebi
ded789de18
Add option to fribidize everything
2015-03-30 00:43:21 +02:00
Flakebi
100060eafd
Don't delete the array on linux and remove a useless memset
2015-03-29 01:43:02 +01:00
Flakebi
19fd2f6361
Allocate memory dynamically in fribidize
2015-03-29 00:57:05 +01:00
Marianne Gagnon
8deac178d0
Attempt fix for 2055. Committed in a branch for now until we can test it better.
2015-03-28 18:20:28 -04:00
Flakebi
7c697e76e5
Fix motion blur in multiplayer
2015-03-28 22:30:10 +01:00
Tobias Markus
cedb7e7123
Fix glVertexAttribDivisor redefinition warning
2015-03-28 16:56:51 +01:00
hiker
17039141e4
Fix #2051 by keeping a copy of the timer in the SktTimer class.
2015-03-28 01:35:17 +11:00
Marianne Gagnon
80de98f40a
Fix build
2015-03-26 21:26:51 -04:00
hiker
cb522e45bc
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-27 11:54:09 +11:00
hiker
3d4509b863
Add a log statement about outdated drivers or opengl version to
...
the log file (even if the popup for those issues is disabled).
2015-03-27 11:53:25 +11:00
Marianne Gagnon
26bd5a89a0
Use accurate timing for sounds. Fixes #2049
2015-03-26 20:49:36 -04:00
hiker
efcfdcced7
Oops - fixed typo in previous commit ... where I ignored the nicely
...
computed 'accurate' values in the end :)
2015-03-27 11:14:34 +11:00
hiker
0c6f3eb3dd
Tried to increase accuracy by measuing the sleeping time exactly.
2015-03-27 11:07:38 +11:00
Marianne Gagnon
f81f684b34
Improve timings used for audio status. Could be more precise but is good enough for the moment. See #2049
2015-03-26 19:37:17 -04:00
hiker
a560aafa50
Merge branch 'fix_non_hd_option'
2015-03-27 09:33:07 +11:00
hiker
6c57ce8507
Disable texture cache for resized textures (which are all in lower
...
res compared what we use now that we resize _every_ big texture).
2015-03-27 08:05:55 +11:00
hiker
02d5b43d86
Replaced all texture->getOriginalSize() with texture->getSize()
...
to take potentially resized textures properly into account.
2015-03-26 17:12:51 +11:00
Marianne Gagnon
262eeca87f
Update configuration of HD textures in GUI, especially through presets
2015-03-25 20:53:05 -04:00
hiker
27dec2fbf8
Added attribute to irrlicht's driver to enable automatic resize
...
of images that are too big. This is then used to automatically
resize any textures (except fonts, background screen) to be
automatically resized to 512x512 if they are bigger.
2015-03-26 11:28:22 +11:00
Deve
5828dddde8
Allow to disable popup messages about too old drivers in config.xml
2015-03-25 18:53:09 +01:00
deve
e9c72f800a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-03-25 09:33:46 +01:00
deve
df656fbf64
Allow to compile project using cygwin.
...
Note that you need to have all dependencies in cygwin directory (can be easily installed).
Atm. wiimote and joystick events are disabled.
2015-03-25 09:16:15 +01:00