5349 Commits

Author SHA1 Message Date
UnknownShadow200
6aa2dceb22 Simplify DisconnectScreen a bit 2020-03-09 16:29:24 +11:00
UnknownShadow200
af6600ecfc Release 1.1.3 1.1.3 2020-03-09 09:47:54 +11:00
UnknownShadow200
1db4118b24
Merge pull request #631 from jshtab/fix-gcc-math
Makefile: Use no-math-errno flag for all GCC compilers
2020-03-09 09:40:13 +11:00
Jacob Shtabnoy
0b45fe132d
Makefile: Use no-math-errno flag for all GCC compilers
Changes the CFLAGS for all platforms which use the GCC compiler
to include -fno-math-errno in order to resolve a linking issue
when compiling for platforms that use GCC.

For some reason, the flag was not added to the Makefile in commit
1a5f96, which replaces AbsF and SqrtF with their respective GCC
built-ins.

Signed-off-by: Jacob Shtabnoy <shtabnoyjacob@scps.net>
2020-03-08 17:53:06 -04:00
Goodlyay
b4d0042c75 X 2020-03-07 21:43:01 -08:00
Goodlyay
10965ab20e Add skinnedcube model to save texture space
instead of using head model, when adding textured cubes for decoration
(e.g. flattened model on a TV screen)
2020-03-07 21:43:01 -08:00
UnknownShadow200
e15aa886e0 Fix some plugins not building for windows, also build plugins for raspberry pi 2020-03-08 13:04:11 +11:00
UnknownShadow200
a13ddad39d Default to c99 for plugin buildbot 2020-03-08 11:59:08 +11:00
UnknownShadow200
7684b7a20a Remove Window_ prefix from most static functions in Window.c 2020-03-07 23:34:49 +11:00
UnknownShadow200
516cc93639 Reorganise window.c so sdl window backend has highest priority.
This makes it easy to use SDL instead of the default native window backend on platforms that have one. Don't need to mess around with CC_BUILD_MANUAL anymore.
2020-03-07 23:07:56 +11:00
UnknownShadow200
4e0c4ffe2e Make measuring text slightly faster for system fonts 2020-03-07 23:07:19 +11:00
UnknownShadow200
b9aa8a7544 Open source plugin building part of buildbot 2020-03-07 17:50:39 +11:00
UnknownShadow200
62df34eeba add missing Updater_D3D9/Updater_OGL declarations for android build 2020-03-05 09:32:13 +11:00
UnknownShadow200
bf302610e4 add missing gradle files 2020-03-05 08:59:05 +11:00
UnknownShadow200
9fbaf5aee2 Change 'Invalid PNG signature' error to more user friendly 'Only PNG images supported' 2020-03-04 18:34:10 +11:00
UnknownShadow200
507badb3bc Remove Drawer2D_BmpIndexed as it's never used 2020-03-03 19:39:03 +11:00
UnknownShadow200
8aba4a4a99
Merge pull request #629 from UnknownShadow200/MemHandler
Handle many more out of memory conditions.
2020-03-02 22:05:21 +11:00
UnknownShadow200
9461bb5a65 Don't crash if out of memory resizing flags bitmaps in launcher 2020-03-02 21:35:20 +11:00
UnknownShadow200
ddba7b8778 Don't crash if out of memory when resizing entity skin 2020-03-02 21:31:52 +11:00
UnknownShadow200
fc57b2eaa1 Fix placing or setting blocks not working anymore 2020-03-02 18:07:27 +11:00
UnknownShadow200
f8cec9fca0 Don't crash if out of memory allocating temp sounds buffer, fix temp sounds buffer beinc unnecessarily reallocating sometimes 2020-03-02 17:58:57 +11:00
UnknownShadow200
332514f131 Don't crash if the lazy allocation of the upper block ids of a map fails 2020-03-02 13:49:51 +11:00
UnknownShadow200
29a8ea8441 Fix not compiling on non-windows, don't crash if out of memory for allocating system font data 2020-03-01 10:06:59 +11:00
UnknownShadow200
23482029ad Fix crashing when BulkBlockUpdate packet is sent with ids over 768
Also remove the World_Contains check there because it's unnecessary
2020-02-29 15:47:32 +11:00
UnknownShadow200
77eb9ea8fd Fix memory leak when converting sounds to .wav
This wasted 6MB of memory oops
2020-02-29 14:43:01 +11:00
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
51118ed297 handle most out of memory in vorbis header decoding 2020-02-27 21:33:52 +11:00
Cheesse
649948ee54 Add adjustible and improved smooth camera
Smoothness of the camera is no longer dependent on FPS.
2020-02-27 02:48:43 -05: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
56d20790ce Don't crash if out of memory reallocating data for freetype or allocating output buffer for music 2020-02-27 15:45:53 +11:00
UnknownShadow200
23ee71914f Add Mem_TryAllocCleared/Mem_TryRealloc that doesn't crash on out of memory 2020-02-26 07:53:37 +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