Sam Hocevar
2235ce1635
Various compilation fixes.
5年前
Sam Hocevar
155ae65a4e
Start working on the header-only part of the framework.
This implies creating a trimmed down branch that contains almost
nothing. It will then be usable by projects that do not need the
complex build system, and by the engine itself as a submodule from
the same repository.
5年前
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
10年前
Benjamin ‘Touky’ Huet
d8114e6cfb
String : Added ::replace(char, char, bool), ::ToLower(), ::ToUpper()
Added utils.h : GetRandom(Array<T>) : gets a random element in a template list with weight logic.
T FindValue(char*) : Find the value of a safe enum from the given name (when GetName is implemented)
swap(T&, T&) is now in here too.
11年前
Lolbot
4e0a9c93db
fixed 8 files out of 2617:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 88 tabs with spaces
- fixed 3 svn:eol-style properties
11年前
Benjamin ‘Touky’ Huet
04556dea8b
mat4 : removed useless ortho(). Fixed shifted_perspective so it actually works.
numeric : Added SmoothClamp & swap
camera : fixed target&up issues and added screen-scale factor.
touky_demo : correct camera integration & first pass on uro refactor. Also added Makefile to vcproj
11年前
Sam Hocevar
700520d4d6
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
12年前
Sam Hocevar
9819425ba0
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
12年前
Sam Hocevar
bb28344eb7
build: fix compiler warnings and Linux and PS3 build issues.
12年前
Benjamin ‘Touky’ Huet
b273f1729e
Small fix in template lerp
12年前
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12年前
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
12年前
Benjamin ‘Touky’ Huet
2f85ae6d0a
12年前
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
12年前
Sam Hocevar
00625f76e9
core: don't explicitly use std:: prefix when the platform may not
recognise it.
14年前
Sam Hocevar
3d4af0869a
ps3: start a minimal PS3 port using PSGL, but not CG yet.
14年前
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
14年前
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
14年前
Sam Hocevar
885c48fcfb
Fix Linux build.
14年前
Sam Hocevar
0dfc497814
Add pseudorandom functions for floats.
14年前