5226 Commits

Author SHA1 Message Date
UnknownShadow200
d69ac992e3 Make calculating font bitmap tile widths a fraction faster 2020-04-21 00:44:32 +10:00
UnknownShadow200
05c847262c Fix /client tp 999999999999999999999999999999999999999 0 0 crashing the game 2020-04-20 23:16:23 +10:00
UnknownShadow200
d64d0eb9e1 Fix game crashing if using default.png with width < 16 or non power of two 2020-04-20 22:47:22 +10:00
UnknownShadow200
feff50b4c4 Fix 128x256 default.png crashing the game 2020-04-20 18:37:03 +10:00
UnknownShadow200
11211e9526 Move extracting initial texture pack out of Game.c 2020-04-19 17:43:00 +10:00
UnknownShadow200
13ad241412 Avoid copying to temp array in ExtAddEntity/ExtAddEntity2 2020-04-19 11:10:40 +10:00
UnknownShadow200
2a1837cfc7 fix android build not compiling 2020-04-17 22:04:38 +10:00
UnknownShadow200
dd3335aa89 Remove unused FT_Get_PS stuff 2020-04-16 23:09:51 +10:00
UnknownShadow200
e87d1a0f82 Remove unused FT_Get_Name_Index 2020-04-16 13:10:39 +10:00
UnknownShadow200
2d494f79f0 Remove unused FT_Reference_Face/FT_Reference_Library and some deprecated constants 2020-04-15 23:34:02 +10:00
UnknownShadow200
8593eeb74d style fixes 2020-04-15 23:22:23 +10:00
UnknownShadow200
acf6f7bd18
Merge pull request #628 from Cheesse/master
Add adjustible and improved smooth camera
2020-04-15 23:09:37 +10:00
UnknownShadow200
7fdc7f4dfe get rid of some unused code from FT_Face_Properties 2020-04-15 21:53:14 +10:00
UnknownShadow200
6589ab1beb Fix view distance of 8-15 loading as 16 when you next start the game 2020-04-14 21:49:01 +10:00
UnknownShadow200
c4e84d4ed9
Merge pull request #643 from Fam0r/master
Make keypad enter behave like the enter key in the launcher
2020-04-13 19:07:33 +10:00
Fam0r
b4bf6bc9b5
Make keypad enter behave like the enter key in the launcher 2020-04-13 11:57:32 +03:00
UnknownShadow200
8dd8efe6d5 Move GraphicsMode out of Window.h and into Window.c as it should be private 2020-04-11 21:54:32 +10:00
UnknownShadow200
80c6a20566 Remove pointless module prefixes for a few static functions/variables 2020-04-11 17:16:05 +10:00
UnknownShadow200
3118f8b7df Fix Launcher_MarkDirty accidentally producing dirty rectanglesthat extended outside of the window.
Normally the consequence of this was redrawing a bit more than needed because width was > height. This wouldn't cause a crash with the current OS 'draw framebuffer' functions because they just clip the region outside the window, but could cause crashes when writing custom Window_DrawFramebuffer implementations and wasn't aware of this.
2020-04-11 09:55:21 +10:00
UnknownShadow200
a87f15fb5c Try to fix some keys not getting down/up events raised on linux on chromebook (quote/tilde) 2020-04-10 00:17:27 +10:00
UnknownShadow200
0e5a7ea17f Slightly optimise held block outline rendering 2020-04-09 00:12:49 +10:00
UnknownShadow200
695d066233 Simplify Selections_Add to save a few instructions 2020-04-06 12:10:45 +10:00
UnknownShadow200
636bada0c8 Fix last commit accidentally undoing out of memory handling improvements in Protocol.c 2020-04-04 14:59:19 +11:00
UnknownShadow200
209a4046fb Change String_IndexOfString to just String_IndexOfConst, because that's all we ever use it for anyways 2020-04-04 14:50:14 +11:00
UnknownShadow200
d3726bdef6
Merge pull request #640 from UnknownShadow200/EMEMBTR
Handle loading errors (esp out of mem) with maps better
2020-04-03 19:52:16 +11:00
UnknownShadow200
6769c243af Fix documentation of World_SetNewMap to mention it raises WorldEvents.MapLoaded, it doesn't need to be raised separately now. 2020-04-03 19:24:39 +11:00
UnknownShadow200
06fbcd2e4a Fix player respawning with yaw/pitch of last loaded singleplayer map instead of 0 yaw and pitch if they press Enter 2020-04-03 18:43:04 +11:00
UnknownShadow200
04cc22f3dc
Add full example of simple flask website that hosts the web client 2020-04-02 23:00:37 +11:00
UnknownShadow200
41666d939b
Update hosting-webclient.md 2020-04-02 20:17:52 +11:00
UnknownShadow200
02efe1fa00
Update hosting-webclient.md 2020-04-02 19:57:36 +11:00
UnknownShadow200
d869360ca8
Start work on documenting how to host web client independently 2020-04-02 10:29:00 +11:00
UnknownShadow200
21e6c8431d Fix initial map generation of singleplayer, move EnvRenderer_UpdateFog to top of Render3D 2020-04-01 20:21:38 +11:00
UnknownShadow200
cff7c6cd1b Fix crashing if map fails to generate 2020-03-31 19:07:54 +11:00
UnknownShadow200
035f5cedd8 Fix crashing in singleplayer, fix multiplayer maps with over 256 custom blocks still screwing up 2020-03-31 18:56:06 +11:00
UnknownShadow200
48d394f8d0 Make entities/fog/sky/clouds/borders/sides render when map failed to loaded, fix this to also work in multiplayer 2020-03-31 18:43:38 +11:00
UnknownShadow200
f7dae6bc72 Add World.Loaded variable 2020-03-31 18:31:50 +11:00
UnknownShadow200
0654dc0f41 Make it so you can at least go into third person when map fails to load 2020-03-31 18:10:59 +11:00
UnknownShadow200
c7c26502df Remove internal methods from TexturePack.h 2020-03-27 20:09:06 +11:00
UnknownShadow200
29fd1a0f3b Export Stream_Read/Stream_Write to plugins
There is definitely no reason behind this change
2020-03-27 09:00:02 +11:00
UnknownShadow200
e4b3a82b1f move gfx option loading into graphics.c 2020-03-26 19:24:05 +11:00
UnknownShadow200
d3e2bd8fd7 Make keypad behave same as windows/text editors when num lock is off on linux (thanks cjnator38) 2020-03-24 08:47:01 +11:00
UnknownShadow200
3509ae6a9a Remove unused freetype CID code 2020-03-23 22:06:30 +11:00
UnknownShadow200
d956f21708 Remove unused postscript font name stuff 2020-03-23 19:56:02 +11:00
UnknownShadow200
3e0e83a60a Combine PickedPos and RayTracer into one struct 2020-03-23 15:09:44 +11:00
UnknownShadow200
37109cb18a pass Vec3 by address instead of copy in Picking 2020-03-22 15:46:14 +11:00
UnknownShadow200
6ad7ba4bd7 Cleanup MapNativeKey for Windows 2020-03-22 13:22:22 +11:00
UnknownShadow200
8a0c0850ca Fix if motd is changed to -hax +thirdperson, you are still sent back into first person, even though you can still use third person (Thanks cybertoon) 2020-03-22 13:05:27 +11:00
UnknownShadow200
cc5c9f8ed5
Merge pull request #635 from jshtab/632-classic-chat
Chat: create new 'use classic chat' option
2020-03-22 12:55:05 +11:00
Jacob Shtabnoy
1b40bca1cd
Chat: create new 'use classic chat' option
Adds a new option to the Nostalgia category to enable or disable
the classic chat style.

The flag Gui_ClassicChat is also enabled whenever the client is in
classic mode, and replaces the new flag replaces the PureClassic
checks.

Closes UnknownShadow200#632

Signed-off-by: Jacob Shtabnoy <shtabnoyjacob@scps.net>
2020-03-21 21:48:18 -04:00
UnknownShadow200
4c6aba8b4c Remove unused ttsubpix 2020-03-21 22:24:26 +11:00