Commit graph

40 commits

Author SHA1 Message Date
Andrei Alexeyev
8b37d1cbf2
src: the great #include massacre of 2024 2024-05-17 14:11:48 +02:00
Andrei Alexeyev
be7905d6a3
src: run upkeep 2024-05-17 04:58:47 +02:00
Andrei Alexeyev
ccc8f018ac
random: remove old API 2023-02-24 18:13:08 +01:00
Andrei Alexeyev
21c3aebce5
build,log: make __FILE__ produce concise and consistent filenames
The output of __FILE__ previously depended on where the build directory
is and was needlessly verbose. With this change, all filenames are
relative to the src/ directory.

Logging of source file names is now also enabled for release builds
(although this is not used yet).
2022-09-01 05:50:55 +02:00
Andrei Alexeyev
8d2ee76710
replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
Andrei Alexeyev
7b7af8cd25
Enable rng deprecation warnings 2020-05-20 20:47:22 +03:00
Andrei Alexeyev
354fa2718e
fix rng_irange macro 2020-04-30 21:49:10 +03:00
Andrei Alexeyev
02eb72608e
Fix various warnings 2020-03-19 05:04:11 +02:00
Andrei Alexeyev
8c78c5e08c
fix non-developer build with assertions 2020-03-08 14:17:26 +02:00
Andrei Alexeyev
3d1c0eee4e
WIP proj draw rule revamp; YoumuB revamp; misc changes; giant mess
cursed commit
2020-03-04 22:26:45 +02:00
Andrei Alexeyev
5c6b7671ef
fixup some post-rebase chaos 2020-03-04 22:26:45 +02:00
Andrei Alexeyev
23636c4ace
pimp up stage1 background 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
1f1db18076
New RNG API, with crude semi-automatic misuse detection 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
35c1a90912
RNG improvements (replay-breaking) 2020-03-04 22:26:41 +02:00
Andrei Alexeyev
b45fdfdd84
Use INLINE macro for various static-inline functions 2020-03-04 21:52:54 +02:00
Andrei Alexeyev
c9ab42dc02
wip stage 1 progress 2020-03-04 21:52:53 +02:00
Andrei Alexeyev
5a23fb95fc
make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
Andrei Alexeyev
3055901998
update my email 2019-07-03 21:00:56 +03:00
Andrei Alexeyev
fc41ebf89c
Replace RNG with xoshiro256+; update replay format
Support for writing older replay versions has been removed.
2019-03-09 18:19:42 +02:00
Andrei Alexeyev
4159ea1249
'upkeep' target for maintenance tasks; back to include guards; happy new year! 2019-01-23 22:10:43 +02:00
Andrei Alexeyev
aefc398883
remove outdated/broken tests 2018-04-18 18:23:24 +03:00
Andrei Alexeyev
59cf8f6300
Rendering system rewrite, tons of refactoring, optimizations, and other cool stuff (#116) 2018-04-12 17:08:48 +03:00
Andrei Alexeyev
513d613387
Consistent indentation: indent with tabs, align with spaces (#104)
I would've preferred to just go with 4-spaces for indent and no tabs,
but lao is a bit conservative about it. :^)

Still, this is a ton better than mixing different styles all over the
place, especially within the same file.
2018-01-12 20:26:07 +02:00
Andrei Alexeyev
485c9a8ed6
Happy New Year! 2018-01-04 19:14:31 +02:00
Andrei Alexeyev
29acd5f58a meson: intel intrinsics, various improvements 2017-12-21 03:58:54 +01:00
Andrei Alexeyev
52cbceacd6
use a better RNG algorithm (CMWC) 2017-12-04 05:26:27 +02:00
makise-homura
2b35177cb4 Removed excess and added missing newlines at end of files 2017-10-10 21:10:35 +03:00
laochailan
03a2426012
update to use #pragma once 2017-09-27 14:14:53 +02:00
Andrei "Akari" Alexeyev
7c9e54a71d
update copyright and credits 2017-09-12 04:28:15 +03:00
Andrei "Akari" Alexeyev
f61e77d351 pleasing the stages array haters 2017-02-27 16:27:48 +02:00
Andrei "Akari" Alexeyev
9a7a874783 Use the standard bool type instead of that stupid enum
Also removed all of the annoying trailing tabs/whitespaces
2017-02-11 05:56:47 +02:00
Andrei "Akari" Alexeyev
a87169bcd6 Replaced uint with unsigned int for portability
uint is non-standard and my win64 crosscompiler doesn't recognize it
2017-02-07 00:37:42 +02:00
Andrei "Akari" Alexeyev
b38e41e681 Added extra checks to prevent and help debug incorrect usage of some tsrand functions 2017-02-05 22:16:50 +02:00
Andrew "Akari" Alexeyew
0f78b1a7eb Got rid of inline prototypes 2012-08-10 22:27:46 +03:00
laochailan
3835fe7a6e fixed one wrong afrand 2012-08-09 16:38:37 +02:00
Andrew "Akari" Alexeyew
5313e309bc cleaned stage3 2012-08-04 03:56:51 +03:00
Andrew "Akari" Alexeyew
a7c6ad15d3 array system for tsrand; cleaned the first stage 2012-08-04 03:49:12 +03:00
Andrew "Akari" Alexeyew
769c240e03 Merge remote-tracking branch 'upstream/master' into stage3
Conflicts:
	src/global.c
	src/global.h
2012-07-27 21:59:24 +03:00
Andrew "Akari" Alexeyew
6060548e65 inline frand 2012-07-27 20:14:11 +03:00
Andrew "Akari" Alexeyew
5a7f17a240 Added a custom random generator 2012-07-27 20:11:45 +03:00