UnknownShadow200
7a0a9d628a
Export DisplayInfo to plugins
2020-04-24 21:30:29 +10:00
UnknownShadow200
28a8086e37
Export window info to plugins
2020-04-24 19:12:01 +10:00
UnknownShadow200
b3b2ed22f6
Half sensitivity for XInput2 raw motion so it's about same as cursor sensitivity from before
2020-04-23 18:39:21 +10:00
UnknownShadow200
ca231d854c
Camera struct was supposed to be exported to plugins, oops
2020-04-23 17:55:24 +10:00
UnknownShadow200
d703f632cd
Fallback to mediump for glsl fragment shader if compiling with highp fails
2020-04-23 11:54:33 +10:00
UnknownShadow200
8da9b92973
Split off compilng glsl shaders from handling compilation errors
2020-04-23 09:19:53 +10:00
UnknownShadow200
12c8cbd2d5
If fail to compile shader/program, show a dialog with compilation failure message
...
Used to just log to stdout, but this was pretty user unfriendly. Especially for mobile web browser.
2020-04-22 21:30:02 +10:00
UnknownShadow200
e7e119eab4
Switch to using XInput 2.2 to fix raw motion not being received when mouse button is pressed
...
According to http://wine.1045685.n8.nabble.com/PATCH-0-9-Implement-DInput8-mouse-using-RawInput-and-XInput2-RawEvents-only-td6016923.html#a6016976 raw motion events aren't sent when pointer is grabbed before XInput 2.1
2020-04-22 18:20:38 +10:00
UnknownShadow200
4711090b14
X
2020-04-22 17:48:36 +10:00
UnknownShadow200
2665ab2314
Use XI_RawMotion on X11 when possible
2020-04-22 17:43:36 +10:00
UnknownShadow200
d3bdae1854
Fix include lost when copy pasting, print raw mouse values to console
2020-04-22 16:24:54 +10:00
UnknownShadow200
b9a0729694
Init XInput2 and register for RawMotion event.
...
Still working on actually using the event though
2020-04-22 16:10:02 +10:00
UnknownShadow200
6c5285e457
Simplify XCheckWindowEvent/TypedWindowEvent to instead use XCheckIfEvent and check if event is for game window
2020-04-22 15:39:33 +10:00
UnknownShadow200
a335d7fa06
Cleanup X11 message box code and get rid of global 'dpy' variable.
2020-04-22 13:24:34 +10:00
UnknownShadow200
342777b962
Attempt to fix XBUTTON1/2 on linux
2020-04-21 22:33:20 +10:00
UnknownShadow200
b5eba6cad2
Remove F25-F35 keys
...
I doubt there is any keyboard with that many function keys, and this only ever worked on X11 backend anyways. SDL/web browsers only go up to F24 too.
2020-04-21 22:07:25 +10:00
UnknownShadow200
ec526e6751
Fix game not working on linux when only 16 bit depthbuffers are supported
2020-04-21 18:15:12 +10:00
UnknownShadow200
0969c7d74d
Release 1.1.4
1.1.4
2020-04-21 11:41:30 +10:00
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