4620 Commits

Author SHA1 Message Date
UnknownShadow200
d2682bb65e Switch to non-XP compatible toolset for default toolset in the visual studio project
This only makes it easier for people to compile the project without having to mess around with Windows XP support for C++ etc. The actual executables produced by the buildbot will keep supporting 2000/XP per usual.
2020-02-29 10:02:06 +11:00
Goodlyay
4f7adbc937 Replace expireUponTouchingGround with collideFlags
flags: expireUponTouchingGround, collidesSolid, collidesLiquid,
collidesLeaves
2020-02-28 03:05:14 -08:00
UnknownShadow200
3662056c25 Change particle 'can pass through' to callback function instead of bool for passing through liquids 2020-02-27 17:22:27 +11:00
UnknownShadow200
7d47425526 fix axis lines rendering green Y axis still appearing in a screwed up way after leaving third person (thanks goodly) 2020-02-25 18:17:41 +11:00
UnknownShadow200
117a4ebd66 Touch controls should be positioned at bottom of screen instead 2020-02-23 23:34:20 +11:00
UnknownShadow200
f9b610fc0d
Merge pull request #627 from UnknownShadow200/GUIRE10
Few minor performance improvements and some code cleanups
2020-02-23 12:50:35 +11:00
Goodlyay
cb47bc4f52
Merge pull request #626 from UnknownShadow200/CustomParticles
Add CustomParticles CPE
2020-02-22 17:27:49 -08:00
UnknownShadow200
40cbde4c8e Make spread 16 bit unsigned integer instead 2020-02-23 10:30:10 +11:00
UnknownShadow200
68639f9772 Make CustomParticle_Render slightly faster 2020-02-23 00:24:12 +11:00
UnknownShadow200
a5c3e296e9 reduce custom particles memory usage by 2kb on 32 bit, 9kb on 64 bit 2020-02-22 23:39:30 +11:00
UnknownShadow200
523462d829 cleanup code a bit 2020-02-22 23:00:16 +11:00
UnknownShadow200
be400a0e02 Fix particles being 0 sized 2020-02-22 22:29:38 +11:00
Goodlyay
5e45c0214d Fix declaring support for custom particles 2020-02-22 01:34:06 -08:00
Goodlyay
8bdce11220 Add tint and fixed size to be divided by 32 2020-02-22 00:25:22 -08:00
Goodlyay
94bc9b02b1 Add DefineParticle and SpawnParticle packets
Remove test code from Particle.c
2020-02-21 23:53:00 -08:00
Goodlyay
dcc256c15d Remove converge property
It's pointless since the same can be achieved by making speed negative
2020-02-21 19:49:37 -08:00
Goodlyay
b4f166381f Fix customParticle_properties issue
Implement/Add "expireUponTouchingGround" property
Implement velocity based on origin and speed
Implement/Add "converge" property that makes it implode toward origin
instead of explode away
2020-02-21 19:00:20 -08:00
Goodlyay
c925f31445 Initial commit of CustomParticles
And changed size in struct Particle to be a float instead of cc_uint8
2020-02-21 16:53:23 -08:00
UnknownShadow200
c1c3731385 Make Rain_RemoveAt/Terrain_RemoveAt slightly faster 2020-02-22 08:57:33 +11:00
UnknownShadow200
e933ec2298 Don't crash the game if socket() fails
Not that it every should anyways
2020-02-21 21:53:12 +11:00
UnknownShadow200
15ca271e98 Remove MapRenderer_ from most static functions 2020-02-21 20:35:29 +11:00
UnknownShadow200
e0042c7646 Simplify File_MarkExecutable since it's just used for updating anyways 2020-02-20 17:45:10 +11:00
UnknownShadow200
4df557dbdd Remove unused DateTime_CurrentUTC 2020-02-20 13:42:05 +11:00
UnknownShadow200
a3ffdfb284 Write held block matrix straight into Gfx_View instead of copying from temp matrix 2020-02-20 12:57:07 +11:00
UnknownShadow200
eb6a014f86 Make AxisLinesRenderer use Lock/Unlock vb too 2020-02-20 11:59:43 +11:00
UnknownShadow200
9c5406cc43 Save a few instructions in Physics_HandleTNT 2020-02-18 22:35:00 +11:00
UnknownShadow200
f1a8364b71 open source the discord buildbot notify thingy 2020-02-18 18:10:35 +11:00
UnknownShadow200
42f3c53b74 Fix last commit which I intentionally broke 2020-02-18 07:42:16 +11:00
UnknownShadow200
dc93f95a3f Make fields of AudioFormat lowercase 2020-02-18 07:24:30 +11:00
UnknownShadow200
c8bc76dcbe Don't include Options.h in Game.h 2020-02-17 17:00:58 +11:00
UnknownShadow200
75c2e21c69 make fields lowercase for structs in Audio.c 2020-02-17 16:46:23 +11:00
UnknownShadow200
8e57167ba3 Fix makefile for haiku OS and add direct compile instructions for haiku OS into readme 2020-02-17 15:40:37 +11:00
UnknownShadow200
c2fbfca0d3 For unhandled access violation exception on windows, also include address we were trying to access in crash logs 2020-02-17 12:11:10 +11:00
UnknownShadow200
eb4c9e093b
Merge pull request #624 from Fam0r/master
Center OpenGL update button on MacOS/Linux
2020-02-16 23:41:49 +11:00
UnknownShadow200
0c30388670 Fix pasting text into chat input in web client not properly moving up chat log when pased text wraps over end of one line 2020-02-16 23:32:31 +11:00
UnknownShadow200
579e1bea2e Fix ogg files which put garbage after vorbis header packets not working. This garbage is supposed to be ignored according to the spec. (Thanks wasteland123) 2020-02-16 17:41:20 +11:00
UnknownShadow200
f0dd11a35d Implement Ogg reading specically, instead of trying to derive from Stream 2020-02-16 17:06:18 +11:00
UnknownShadow200
4770170cb3 Fix potential buffer overflow in Platform_DescribeError 2020-02-16 14:04:53 +11:00
UnknownShadow200
a2dfccc560 Drop support for 8 bit wav files that were never used anyways. 2020-02-16 09:04:23 +11:00
Fam0r
f246a555d6
Center OpenGL update button on MacOS/Linux 2020-02-15 12:43:33 +02:00
UnknownShadow200
63a06b0a17 Allow you to change delay between music playing by editing options.txt (thanks wasteland123) 2020-02-14 21:10:30 +11:00
UnknownShadow200
0962e33a55 Fix trying to paste unicode characters in web client showing messed up characters. Match the behaviour of other platforms and just ignore unicode characters that are not in code page 437. 2020-02-13 20:29:34 +11:00
UnknownShadow200
a18de8d585 Slightly optimise Particle_BreakBlockEffect 2020-02-12 20:23:41 +11:00
UnknownShadow200
1a331e5c71
Merge pull request #621 from UnknownShadow200/GUIRE8
More GPU optimisations
2020-02-11 21:00:55 +11:00
UnknownShadow200
9e1f1fca1f Optimise Particle_RainSnowEffect 2020-02-10 22:08:52 +11:00
UnknownShadow200
2a0cc4cf8c Fix menus not rendering in OpenGL 2020-02-10 20:21:50 +11:00
UnknownShadow200
af948f0aed It's pointless for RainParticle to be its own struct, as it contains no extra members compared to base Particle 2020-02-10 18:58:54 +11:00
UnknownShadow200
f64300532b No user left behind. Fix the OpenGL 1.1 build to work too. 2020-02-10 12:45:05 +11:00
UnknownShadow200
dff59b8f9f Fix OpenGL build, add Gfx_CreateAndLockVb shortcut 2020-02-10 12:25:28 +11:00
UnknownShadow200
758b6d3b25 Use Lock/UnlockVb for chunk builder too 2020-02-10 10:46:32 +11:00