Marianne Gagnon
5c27769ceb
Fix uninitialized variable use, fixes #2179
2015-07-23 19:52:30 -04:00
Marianne Gagnon
52313c1468
Draw achievements a bit later so that they are on top. FIxes #2237
2015-07-23 19:21:43 -04:00
auriamg
5164a55472
Merge pull request #2244 from Flakebi/addons-rtl
...
Fix reversed rtl string part
2015-07-22 18:35:22 -04:00
hiker
2f51406e3d
Made field-of-view configurable in the config file.
2015-07-22 08:12:44 +10:00
Flakebi
2eb0f151b7
Fix reversed rtl string part
2015-07-21 11:52:23 +02:00
hiker
bb058deea5
Avoid that the kart is 'shaking' backwards/forwards when flying.
2015-07-21 16:56:51 +10:00
hiker
cd8fd7fb16
Merge remote-tracking branch 'origin/master' into Flakebi-fixes
2015-07-20 09:10:05 +10:00
hiker
8be383015c
Simplified shadow interface.
2015-07-19 13:44:05 +10:00
hiker
91c40e27c2
Reduced number of parameters for Shadow.
2015-07-18 23:41:27 +10:00
hiker
dc68f5f122
Fixed crash when real shadows are used.
2015-07-18 12:26:18 +10:00
hiker
802d4897fe
Removed unused kart properties settings.
2015-07-18 12:24:56 +10:00
hiker
e755a7eda8
Merge remote-tracking branch 'origin/master' into graphical_chassis_to_physical_chassis
2015-07-18 11:53:49 +10:00
hiker
ffb3c2ce4c
Moved visual slightly higher (hopefully as much as in the previous implementation),
...
to avoid that the visual chassis disappears into the ground.
2015-07-18 11:42:33 +10:00
hiker
d94f6ffe66
Added documentation about the visual chassis and wheel positioniong.
...
Removed unused/old coda, and moved kart at exactly the same position
as they are in blender.
2015-07-18 10:21:01 +10:00
Marianne Gagnon
675b0b9458
Improve scripting error handling, more work on different shapes for collision triggers
2015-07-17 19:18:12 -04:00
Marianne Gagnon
3cb57358a3
Fix #2242
2015-07-16 19:38:34 -04:00
hiker
68cea42648
Fixed visual position of chassis, wheels and shadow.
2015-07-15 16:35:09 +10:00
Marianne Gagnon
84e78e0d40
Some cleanup to check structures, start adding new cylinder check structure (WIP)
2015-07-14 19:00:00 -04:00
hiker
8c842fb2e8
Fixed incorrect uage of radians.
2015-07-14 22:32:09 +10:00
hiker
210e4fb4ec
Removed optional setting for random-wheel rotation.
2015-07-14 17:36:03 +10:00
hiker
9f687fd6cf
Removed unnecessary computation (now that physics does not include
...
wheel rotation).
2015-07-14 17:27:06 +10:00
Marianne Gagnon
77fac34e41
More cleanup to remove hardcoded things in favor of scripting, and start work to allow for more action trigger shapes (work in progress)
2015-07-13 20:27:16 -04:00
hiker
93282f8abf
Completely removed the usage of a physical wheel radius in the physics, it was
...
never really necessary, the phsyics are basically the same). Wheel rotation is
was refactored to be completely done in KartModel now.
2015-07-09 23:59:53 +10:00
hiker
0345565ea8
Fixed handling of tall karts (accidentally committed debug version).
2015-07-09 16:39:40 +10:00
hiker
3b9e85af0b
Converted bullet's TravelCM (i.e. in cm) into Travel (i.e. in m).
2015-07-09 00:06:19 +10:00
hiker
aa7bf607bf
Minor cosmetic changes.
2015-07-08 16:38:01 +10:00
hiker
7b11e51f2b
Coding style fixes.
2015-07-08 08:31:32 +10:00
hiker
a28ea76b90
Fix wheel position for karts that are too high.
2015-07-08 08:25:10 +10:00
hiker
9eab818d53
Added fused speed-position commands to the commands to be dropped
...
when the sfx queue is too full.
2015-07-08 08:23:55 +10:00
hiker
43f9cf39bc
Fix shadow to be always on the ground, even when a skid-jump is done.
2015-07-08 08:23:25 +10:00
hiker
62e2f05607
Fixed shadow position, improved wheel position.
2015-07-07 17:02:09 +10:00
hiker
12f942c258
Moved debug camera a bit further back.
2015-07-07 17:00:24 +10:00
Flakebi
84e3b9dbe9
Remove SKID_OLD code
2015-07-03 15:38:20 +02:00
Flakebi
d2ca7d11d7
Remove unused/commented out code
2015-07-03 15:36:45 +02:00
Flakebi
fbf26df23d
Merge branch 'master' into fixes
...
Conflicts:
src/graphics/2dutils.cpp
src/graphics/graphics_restrictions.cpp
src/graphics/render_skybox.cpp
src/graphics/rtts.hpp
2015-07-03 15:29:53 +02:00
hiker
70da00de7d
Merge branch 'master' into graphical_chassis_to_physical_chassis
2015-07-03 16:39:20 +10:00
hiker
9b562d31f4
Replaced Widget's set(De)Activated functions with one setActive(bool)
...
function, which simplifies code for various screen a lot.
2015-07-03 16:19:28 +10:00
hiker
8059544b21
Try to fix advanced pipeline.
2015-07-03 08:22:39 +10:00
hiker
f3dee7241f
Merge branch 'master' into graphical_chassis_to_physical_chassis
2015-07-03 08:15:08 +10:00
hiker
ad3a5ac730
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-03 08:13:39 +10:00
hiker
747aa39bdf
Disable artificial shadow if shader-based shadows are available.
2015-07-03 08:12:55 +10:00
hiker
97499759ec
Revert "Remove shadow blob"
...
This reverts commit 33c0dfe7c2
.
2015-07-03 07:55:50 +10:00
hiker
0631d10f91
Move graphical chassis and wheels to be at the same location as the physical ones.
2015-07-03 07:49:27 +10:00
hiker
369ed86380
Added 'behind kart' camera which helps debugging graphical
...
vs physical chassis position issues.
2015-07-02 16:39:13 +10:00
hiker
34d22a32c7
Improved distance calculation (so that the same distance to the rear
...
of each kart is reached).
2015-07-02 16:35:51 +10:00
hiker
799b4cdf7e
Minor code cleanup.
2015-07-02 08:04:37 +10:00
hiker
04c84fd23d
Moved skidding lights from Kart into KartGFX.
2015-07-01 18:57:44 +10:00
Marianne Gagnon
92974fc4b3
Fix scripting crash
2015-06-30 21:35:17 -04:00
hiker
8aabb30687
Fixed memory leak.
2015-07-01 08:58:15 +10:00
hiker
576270bb17
Coding style changes, removed dead code and unused variables.
2015-07-01 08:57:40 +10:00
hiker
4ec423ff35
Coding style improvements.
2015-07-01 08:22:43 +10:00
hiker
f82bb996ea
Fixed memory leaks of lights.
2015-07-01 08:04:10 +10:00
hiker
b41035a008
Moved nitro_light from Kart into KartGFX.
2015-06-30 21:49:20 +10:00
hiker
42114c163c
Minor refactoring to move more code into KartGFX.
2015-06-30 16:59:48 +10:00
hiker
1bafdf528f
Fix wheel-view camera.
2015-06-29 16:17:14 +10:00
Marianne Gagnon
1ceb05c2cb
More scripting functions to control particles
2015-06-28 19:10:43 -04:00
Marianne Gagnon
eda00e12f9
Expose length method in scripting vector3
2015-06-28 19:03:09 -04:00
Marianne Gagnon
68eb4eb359
Start work to control particle emitters from scripts, and allow getting kart velocity from script
2015-06-28 19:00:25 -04:00
hiker
08529e167f
Fixed memory leak.
2015-06-29 08:41:46 +10:00
hiker
a9958a60a8
Minor cosmetical changes.
2015-06-29 08:41:20 +10:00
hiker
0dc2e66039
Fixed compiler warnings.
2015-06-29 08:24:31 +10:00
hiker
11a213fa8d
Significantly reduced number of audio sfx commands: instead of sending
...
7 commands for each kart (when only engine is actually playing),
now there is only one command being sent: positions of sfx that are
not playing are not sent anymore, a duplication engine position was
removed, and speed and position are combined into one event.
2015-06-29 08:09:42 +10:00
Marianne Gagnon
f992b864e1
More work on moving track objects via scripting
2015-06-25 19:33:28 -04:00
Marianne Gagnon
be81a7fd11
Increase size of popup, text was truncated at least in french
2015-06-23 18:46:36 -04:00
Marianne Gagnon
74f19f0cbc
Start working on scripting API to move objects
2015-06-22 19:36:30 -04:00
Marianne Gagnon
0fdc7a2d98
Use plural form for resolution change message, fixes #2219 . ALso fix crash in tinygettext code handling plural forms
2015-06-22 19:26:20 -04:00
Marianne Gagnon
ae18901bb2
Try fixing travis build
2015-06-21 19:57:06 -04:00
Marianne Gagnon
b73469caf1
Extend scripting API with random and timeout functions
2015-06-21 19:44:22 -04:00
Marianne Gagnon
9119f5f291
Fixes for scripting documentation
2015-06-21 18:43:31 -04:00
Marianne Gagnon
90cf3176d1
Start adding an audio scripting API, and also fix a deadlock in sfx_manager due to improper release of locks
2015-06-21 18:31:16 -04:00
Marianne Gagnon
789384a7bf
Fix loading scripts in local library nodes
2015-06-18 19:24:39 -04:00
Marianne Gagnon
8119b59af0
More fixes on intially hidden objects
2015-06-18 19:09:13 -04:00
Marianne Gagnon
403d61e754
Allow creating initially hidden objects, that can later be shown through scripting
2015-06-17 19:33:53 -04:00
Marianne Gagnon
b3cc5f9f0d
Try to fix Travis build
2015-06-15 20:09:22 -04:00
Marianne Gagnon
01b9ee2a63
RTT: calculate diffuse coefficients only once
2015-06-15 19:47:52 -04:00
Marianne Gagnon
fa027c11da
Work on hiding/showing library nodes (especially when they contain movable children, which are a special case)
2015-06-15 19:44:31 -04:00
Marianne Gagnon
db55c35ed1
Disable bloom / depth-of-field when using physics debug modes, makes lines easier to see
2015-06-15 19:38:12 -04:00
Marianne Gagnon
97100db507
RTT: avoid computing diffuse coefficients every frame
2015-06-15 19:21:34 -04:00
hiker
edbb6892e0
Added comments.
2015-06-13 12:34:33 +10:00
Marianne Gagnon
e35d5a07b4
Little hack : make the kart selection screen seem faster by moving the cursor immediately, and loading the kart model only on next frame. See #2216
2015-06-11 20:22:30 -04:00
Tobias Markus
b32fff8dad
Fix flags on GetModule call
2015-06-12 00:28:55 +02:00
hiker
d95bdc2ea9
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-06-10 23:18:48 +10:00
hiker
09227fa19d
Finally fully fixed #2213 .
2015-06-10 23:18:06 +10:00
hiker
860135376d
Start to fix resolution change by properly freeing data.
2015-06-10 10:33:47 +10:00
hiker
0162407ff3
Added proper ref-counting.
2015-06-10 10:33:06 +10:00
Marianne Gagnon
32edaa25fe
Adjust load and cleanup sequence for scripts, enabling scripts in library objects
2015-06-09 20:24:17 -04:00
Marianne Gagnon
cb510840ae
Work on scripting, namely improving interaction with library objects
2015-06-05 19:34:46 -04:00
Marianne Gagnon
238578c921
More work towards handling library nodes in scripting
2015-06-04 20:12:03 -04:00
hiker
9531f0b3a4
Merge remote-tracking branch 'origin/master' into refactor_shaders
2015-06-05 09:13:27 +10:00
Marianne Gagnon
bd006c875e
Let track objects know what library object they are part of, paving the way for scripting to interact with library objects
2015-06-03 20:34:58 -04:00
hiker
9a1cba3ac8
Merge remote-tracking branch 'origin/master' into refactor_shaders
2015-06-03 15:11:27 +10:00
hiker
9094cbd31a
Added NoCopy to FrameBuffer objects (copying a frame buffer e.g.
...
as a parameter to a function can lead to incorrect results, likely
because on exit of the function, data in the (copied) frame buffer
object is freed, and then not available for OpenGL anymore.
2015-06-03 15:10:11 +10:00
hiker
f59d277f3e
Improve handling of sudden steeper uphill section by increasing the
...
suspension force, which makes it less likely for the kart to hit
the terrain.
2015-06-03 09:03:40 +10:00
hiker
d4f3fc88d6
Merged pull requests #2191 .
2015-06-02 14:50:32 +10:00
hiker
2cf4341916
Merge remote-tracking branch 'origin/master' into refactor_shaders
2015-06-02 14:49:50 +10:00
hiker
1dabb39ed4
Fixed warnings most likely caused by copying a frame buffer object
...
(missing &), added several const to frame buffer references.
2015-06-02 14:19:15 +10:00
hiker
8fd0b9186a
Merge pull request #2198 from nado/Fix-#2164
...
Fix #2164 : Resized max length of mail address up to 254 chars
2015-06-02 13:47:54 +10:00
Dmitry Marakasov
cfbec1f470
Include cerrno for errno; fixes clang compilation error
2015-06-02 04:36:30 +03:00
hiker
a51d56a6e5
Merge remote-tracking branch 'origin/master' into refactor_shaders
...
Conflicts:
src/tracks/track_object_presentation.cpp
2015-06-01 09:28:23 +10:00
Marianne Gagnon
b3d97241d7
Scripting : cleanup, add poweruptype enum
2015-05-31 18:39:40 -04:00
Marianne Gagnon
501dd14bb6
More scripting work on item-object collisions
2015-05-31 18:20:52 -04:00
hiker
9b2994c975
Added documentation to shader base classes.
2015-06-01 08:19:31 +10:00
hiker
2f287fbee6
Removed unused clean-shader functionality (which is now done by
...
shader.?pp), removed global shader name variable.
2015-06-01 08:14:56 +10:00
Marianne Gagnon
8ef16c146e
Scripting work : improve flyable vs object collision callbacks. More work to do still.
2015-05-31 18:09:51 -04:00
hiker
51fb693455
Remove all kill functions for shader reloading after all shaders
...
have been deleted.
2015-05-30 12:37:39 +10:00
hiker
642216da83
Minor coding style change.
2015-05-30 12:16:38 +10:00
hiker
e5a7f27f19
Renamed files to follow our coding style.
2015-05-30 12:16:11 +10:00
hiker
48235a5d77
Turned ShadowMatrices into a stand-alone proper class.
2015-05-30 11:29:08 +10:00
Marianne Gagnon
40ea7f94f0
Scripting work : improve object-kart collision callbacks
2015-05-28 19:57:36 -04:00
Marianne Gagnon
1ada542fa5
Continue porting overworld to scripting
2015-05-24 19:15:50 -04:00
Marianne Gagnon
4c02204eff
Start porting the overworld to scripting
2015-05-24 18:34:01 -04:00
hiker
855c59db09
Removed global variable shadowSplit (missing in previous commit).
2015-05-22 16:45:09 +10:00
hiker
0b2c44ed71
Removed unused function, minor coding style cleanup.
2015-05-22 16:44:22 +10:00
hiker
5ba3dee122
Moved global variable at least into a class.
2015-05-22 16:37:54 +10:00
hiker
ced9e55639
Moved shared shaders into Shaders class.
2015-05-22 16:26:30 +10:00
hiker
cbd5670764
DIE global function - rest in peace, push up the daisies, kick the bucket.
2015-05-22 11:09:51 +10:00
Marianne Gagnon
0a3daf9484
Scripting work : the tutorial is now completely scripting-powered, nothing hardcoded anymore
2015-05-21 20:26:28 -04:00
hiker
e4f29d4dea
Removed one more reference to global functions.
2015-05-22 10:00:26 +10:00
hiker
30fa3345e4
Removed more references to global function.
2015-05-22 09:57:28 +10:00
hiker
0f8d36889f
Remved references to global function.
2015-05-22 09:51:09 +10:00
hiker
813d80a792
Removed two more references to global function.
2015-05-22 09:45:48 +10:00
hiker
c21f6abeb7
Removed one more reference to global function.
2015-05-22 09:42:42 +10:00
hiker
8577f0d185
Removed one more reference to global function.
2015-05-22 09:40:46 +10:00
hiker
9048b6ffcd
Removed one more reference to global function.
2015-05-22 09:37:34 +10:00
hiker
cc9163ca77
Removed one more reference to global function, renamed functions
...
Bind and BindLayer to bind and bindLayer.
2015-05-22 09:29:42 +10:00
Marianne Gagnon
722cd0e181
Merge branch 'Scripting'
2015-05-21 19:29:01 -04:00
hiker
3a64d2c70e
Removed one more reference to global function.
2015-05-22 09:18:21 +10:00
hiker
d2a7e21632
Removed one more reference to global function.
2015-05-21 17:16:03 +10:00
hiker
18179bd18d
Removed one more reference.
2015-05-21 17:12:59 +10:00
hiker
2c68bd194c
Move more code into shader, removed one more reference to global function.
2015-05-21 17:09:53 +10:00
hiker
6f84a4dca1
Moved functionality into shader.
2015-05-21 16:59:40 +10:00
hiker
959d17ccb5
Moved one more reference to global function, minor coding style adjustments.
2015-05-21 16:46:46 +10:00
hiker
abbd54ffa0
Replaced another global function reference.
2015-05-21 16:43:41 +10:00
hiker
4d6a9726b6
Renamed shader.
2015-05-21 16:37:59 +10:00
hiker
dc8361b941
Fixed spelling of shader.
2015-05-21 11:19:40 +10:00
Marianne Gagnon
8113ea128b
Minor scripting work
2015-05-20 20:17:00 -04:00
hiker
101fcf5df7
Removed more references to global function.
2015-05-21 10:09:43 +10:00
hiker
e9c2f0ecf1
One less DrawFullScreenEffect function.
2015-05-20 17:18:55 +10:00
hiker
d437ffa3bf
Removed more accesses to global DrawFulLScreenEffect function.
2015-05-20 17:11:06 +10:00
hiker
8e6d9d2f41
Removed more references to global DrawFullScreenEffect function.
2015-05-20 16:53:30 +10:00
hiker
dec62d63ea
Fixed linux compilation.
2015-05-20 10:08:38 +10:00
hiker
063fb6b65f
Try to fix linux compilation.
2015-05-20 09:19:59 +10:00
hiker
4ef85d692c
Replaced one more call to DrawFulLScreenEffect.
2015-05-20 09:09:34 +10:00
hiker
e241f167a7
Started to remove global DrawFullScreenEffect template.
2015-05-20 08:41:03 +10:00
hiker
d64428db34
Moved more shaders, cleaned up unused code and other left-over bits.
2015-05-19 23:01:36 +10:00
hiker
e0b1e876f0
Moved more shaders.
2015-05-19 21:10:49 +10:00
hiker
ab4f77e80e
Moved more shaders.
2015-05-19 18:55:32 +10:00
hiker
0c2e6c1640
Moved more shaders.
2015-05-19 18:51:26 +10:00
hiker
553a0a8b58
Moved more shaders.
2015-05-19 16:40:47 +10:00
hiker
52017e31ea
Removed unused shader.
2015-05-19 16:36:24 +10:00
hiker
a401096487
Moved more shaders, minor cleanup of coding style in irr_driver.hpp.
2015-05-19 16:34:07 +10:00
hiker
e94c3e5d3f
Removed unused global variables.
2015-05-19 16:11:54 +10:00
hiker
6d8d78be73
Moved more shaders, moved createVAO into Shader.
2015-05-19 16:07:24 +10:00
hiker
2224f4ebfa
Removed unused shader.
2015-05-19 09:39:04 +10:00
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
Flakebi
e795729538
Cache fribidized strings in a map
2015-04-25 02:58:53 +02: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
Flakebi
7f80e0e4a3
Remove unused function
2015-04-24 02:02:57 +02:00
Flakebi
4b55526525
Clean more stuff for the new insertValues
2015-04-24 01:58:19 +02:00
Flakebi
59b4e2c97e
Clean some string code
2015-04-24 01:27:04 +02:00
Flakebi
53164e5cbe
Simplify string code
2015-04-24 01:27:04 +02: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