Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
12 years ago |
Sam Hocevar
|
8375f3443d
|
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
|
12 years ago |
Sam Hocevar
|
457045bb50
|
build: ensure that the Linux build machines are what they advertise, or
fail the build (if eg. we try to build an amd64 binary on i386).
|
12 years ago |
Sam Hocevar
|
86a16aaff6
|
easymesh: move the Mesh builder into the engine core.
|
12 years ago |
Sam Hocevar
|
86fd10c9b8
|
build: add more configure checks, mostly for neercs.
|
12 years ago |
Sam Hocevar
|
c035a1c2b7
|
core: fix a few build warnings and remove useless operators from the
"half" class. The build is now 3% faster.
|
12 years ago |
Sam Hocevar
|
d3c2a58693
|
build: import new libcaca binaries (from r4822) so that we no longer need
to provide sprintf_s and others when building with mingw32.
|
12 years ago |
Sam Hocevar
|
95d26d18dd
|
gpu: remove FrameBuffer::Clear(), it's not really useful.
|
12 years ago |
Sam Hocevar
|
85275834e2
|
build: a few hacks to allow building with MinGW on Windows.
|
12 years ago |
Sam Hocevar
|
9f8636705c
|
build: MinGW compilation fixes, rename libcaca.lib to caca.lib so that
g++ understands -lcaca directly; also add -DCACA_STATIC to the default flags.
|
12 years ago |
Sam Hocevar
|
18d22e1fc5
|
gpu: better state restoration after vertex buffer usage.
|
12 years ago |
Sam Hocevar
|
6f73cafa08
|
build: simplify the .lolfx file compilation.
|
12 years ago |
Sam Hocevar
|
27d22a9778
|
gpu: do not convert u8vec4 to integers when set as array buffers, since we
want to normalise them to floats.
|
12 years ago |
Sam Hocevar
|
67113aa9f0
|
gpu: do not convert integers in vertex streams to floats.
|
12 years ago |
Sam Hocevar
|
2feb505b72
|
gpu: be more verbose about shader compilation; some warnings are useful.
|
12 years ago |
Sam Hocevar
|
ca5781ec1d
|
gpu: fix a harmless inconsistency in vertexbuffer function order that could
have confused the reader.
|
12 years ago |
Sam Hocevar
|
ce4c8eb731
|
gpu: add GL points support to the primitive rendering.
|
12 years ago |
Sam Hocevar
|
07449fce39
|
build: add a new libcaca Windows build and add the proper MSBuild rules
to link with it.
|
12 years ago |
Sam Hocevar
|
98bd224ae8
|
build: ship a binary build of libcaca for Win32 and Win64.
|
12 years ago |
Sam Hocevar
|
286c5edeb6
|
neercs: some refactoring.
|
12 years ago |
Sam Hocevar
|
8a097a6688
|
neercs: fix Win32 build.
|
12 years ago |
Sam Hocevar
|
e2295392b8
|
gpu: first FrameBuffer GPU class.
|
12 years ago |
Sam Hocevar
|
c6514fae84
|
test: GLSL syntax fiddling.
|
12 years ago |
Sam Hocevar
|
4a938d239b
|
build: remove \r from shader files before compilation.
|
12 years ago |
Sam Hocevar
|
e5e598bd68
|
gpu: first shot at a Shader::SetTexture() function.
|
12 years ago |
Sam Hocevar
|
f3c5985495
|
build: move major .vcxproj files to their respective project directories.
|
12 years ago |
Sam Hocevar
|
add39177c5
|
gpu: disable all vertex attributes upon vertex declaration unbind, just
because we don't know yet how to disable them selectively.
|
12 years ago |
Sam Hocevar
|
ae79148e79
|
build: fix a few build issues (missing -lxinput, missing d3d9 source files).
|
12 years ago |
Sam Hocevar
|
6cc678f6f9
|
build: allow to use OpenGL instead of Direct3D in Visual Studio by simply
changing a configuration variable in a file.
|
12 years ago |
Sam Hocevar
|
a6b51a1b8c
|
neercs: create a skeleton for neercs.
|
12 years ago |
Sam Hocevar
|
1b9facda49
|
gpu: silently ignore empty vertex and index buffers instead of crashing
and letting the user guess what happened. This doesn't prevent us from
displaying an additional friendly warning later.
|
12 years ago |
Sam Hocevar
|
c51b7c14c9
|
orbital: some improvements to the mesh parser and error reporting.
|
12 years ago |
Sam Hocevar
|
bd649af62d
|
nacl: NaCl binaries no longer need a modified main() to work, the NaCl
instance object takes care of everything for us.
|
12 years ago |
Sam Hocevar
|
32f232e112
|
nacl: preliminary gamepad support in the NaCl backend.
|
12 years ago |
Sam Hocevar
|
b190570747
|
build: disable violent vector.h warnings when building for NaCl.
|
12 years ago |
Sam Hocevar
|
9ff03784d6
|
build: if FlexLexer.h isn't found in the build environment, use the one
we ship in contrib.
|
12 years ago |
Sam Hocevar
|
b83a7eccca
|
nacl: remove our old hack of #including the file containing main() from
the NaCl instance object. Now we properly override main() and we can at
last build all the executables as NaCl binaries.
|
12 years ago |
Sam Hocevar
|
e7fd8c57e2
|
test: a better GLSL parser in the LolFx test parser.
|
12 years ago |
Sam Hocevar
|
a71562bd83
|
core: rename f64vec4 to dvec4 etc. for consistency with GLSL.
|
12 years ago |
Sam Hocevar
|
599119e4b0
|
orbital: port the gun command compiler to our bison/flex system.
|
12 years ago |
Sam Hocevar
|
c56794c8b4
|
orbital: fix copyright statements.
|
12 years ago |
Sam Hocevar
|
3a9cef70f2
|
orbital: fine tune the mesh compiler.
|
12 years ago |
Sam Hocevar
|
512ce5529c
|
build: get Orbital to build on Win32 again.
|
12 years ago |
Sam Hocevar
|
1b2c372658
|
build: define NOMINMAX unconditionally on Windows.
|
12 years ago |
Sam Hocevar
|
e70887f511
|
test: more grammar improvements.
|
12 years ago |
Sam Hocevar
|
39493bebaa
|
test: add most of the GLSL grammar.
|
12 years ago |
Sam Hocevar
|
8a547a254f
|
test: add more GLSL and HLSL keywords to our grammar.
|
12 years ago |
Sam Hocevar
|
8ac8e13b75
|
test: some grammar tweaks.
|
12 years ago |
Sam Hocevar
|
1246eb233f
|
test: start working on a lexer/parser for LolFx using flex and bison.
|
12 years ago |
Sam Hocevar
|
6eb41c04ff
|
win32: better error reporting in the GDI+ loader, based on a patch by ponce.
|
12 years ago |