Ronald Kinard
b429cce3b6
sdl2: add -borderless option for windowed
2014-07-24 22:35:04 -05:00
Ronald Kinard
ce8d82aa52
sdl2: oops it should be 32 bpp in softblit
2014-07-24 21:46:35 -05:00
Ronald Kinard
93e00cc694
sdl2: -softblit, use smaller texture format
...
-softblit uses SDL2 software renderer backend for blitting
2014-07-24 21:32:47 -05:00
Ronald Kinard
8b0f374bfe
sdl2: potential huge perf. boost to software
...
SDL_UpdateTexture is apparently not good for streaming textures.
So instead, I did SDL_LockTexture/Unlock.
2014-07-24 19:18:48 -05:00
Ronald Kinard
005b502756
sdl2: limit fullscreen resolution in OpenGL
2014-07-24 03:15:35 -05:00
Ronald Kinard
8890722223
sdl2: handle no AF support correctly (1, not 0)
...
GL_EXT_texture_filter_anisotropic is cool I guess
2014-07-24 03:03:41 -05:00
Ronald Kinard
39603487ec
sdl2: restore anisotropic filtering support in gl
2014-07-24 03:01:16 -05:00
Ronald Kinard
716aa1f33a
sdl2: fix mouse motion (remove -mousewarp)
2014-07-24 02:51:46 -05:00
Ronald Kinard
0d82e3b54b
sdl2: reorder graphics initialization
...
GL Initialization needs to happen before window creation,
otherwise the GL library will get reloaded while in use and
Windows will have a heart attack. This is bad, obviously.
2014-07-24 00:20:34 -05:00
Ronald Kinard
4433be194f
sdl2: software: clear window on mode change
2014-07-23 23:21:19 -05:00
Ronald Kinard
73e99fa96c
sdl2: I_Error if we can't create gl context
2014-07-23 23:15:31 -05:00
Ronald Kinard
fc075e4c81
sdl2: use ABGR8888 texture on little endian system
...
This is a massive performance boost on slow processors, because
before, the intermediary buffer had to be swizzled to ABGR8888
before being uploaded -- for large resolutions this was an
enormous performance penalty.
2014-07-23 23:02:21 -05:00
Ronald Kinard
345b59f6f5
sdl2: code cleanup
2014-07-23 21:45:36 -05:00
Alam Ed Arias
a103697dd0
isFullscreen is unused?
2014-07-23 22:05:03 -04:00
Alam Ed Arias
1a731fb463
there no fade for non mixer builds
2014-07-23 22:04:46 -04:00
Ronald Kinard
9a4b2bd360
sdl2: restore vsync option (use sdl swap interval)
2014-07-23 19:46:12 -05:00
Ronald Kinard
20f871bd84
sdl2: opengl compiles fine, no TESTHW=1 needed
2014-07-23 19:43:15 -05:00
Ronald Kinard
d078e3e17f
sdl2: fix opengl (almost) entirely
2014-07-23 19:39:41 -05:00
Ronald Kinard
fea559398a
sdl2: we have colored rects in gl now I guess
2014-07-22 02:23:51 -05:00
Ronald Kinard
0a37bdf76d
sdl2: start getting opengl working again
2014-07-22 01:23:08 -05:00
Ronald Kinard
145618785c
sdl2: reuse window on mode change
2014-07-21 22:41:01 -05:00
Ronald Kinard
2618b1dd0b
sdl2: truncate resolution list, add 16:9 hdtv modes
2014-07-21 22:16:34 -05:00
Ronald Kinard
1ac1d04cca
sdl2: joystick fixes. don't pause in demo play/rec
2014-07-21 21:32:18 -05:00
wolfy852
9ab60d1295
Add LUA_EvalMath to Lua with function name EvalMath
2014-07-19 17:46:53 -05:00
wolfy852
d6b466b7dd
Add skin flag for running on water
2014-07-05 03:23:49 -05:00
wolfy852
39ce16a468
Add the Jump Thok ability for use by custom characters
2014-07-05 02:50:07 -05:00
Alam Ed Arias
c130be77b1
Merge remote-tracking branch 'RedEnchilada/next' into next
...
Also clean up whitespaces
2014-06-19 13:00:36 -04:00
RedEnchilada
37d3780458
Add hook for chat messages, including csays
2014-06-18 15:28:09 -05:00
Alam Ed Arias
b520d61ba2
Merge branch 'master' into sdl2
2014-05-27 15:19:18 -04:00
Alam Ed Arias
15f976a06c
Merge branch 'master' into next
2014-05-27 15:19:08 -04:00
Alam Ed Arias
b511294749
Merge remote-tracking branch 'Sryder13/master'
2014-05-27 15:14:55 -04:00
wolfy852
a8f5406233
Add P_Telekinesis and P_IsFlagAtBase to Lua.
2014-05-25 21:41:05 -05:00
Wolfy
9987d132fb
Add P_DoSpring to base library.
2014-05-24 12:51:59 -04:00
Wolfy
f509c56e3c
Unstatic P_DoSpring.
2014-05-24 12:49:15 -04:00
Wolfy
5316f8da96
Add P_SpawnSpinMobj to base library.
2014-05-24 12:46:46 -04:00
Wolfy
3f1038dcbe
Unstatic P_SpawnSpinMobj.
2014-05-24 12:46:10 -04:00
Wolfy
ec443af3d9
Add P_SpawnThokMobj to Lua base library.
...
I don't know too much about this but I THINK I did it right.
2014-05-24 12:35:01 -04:00
Wolfy
ed82755b6d
Unstatic P_SpawnThokMobj.
2014-05-24 12:30:33 -04:00
ilag
d8234f408b
Ensures the force shield's movecount is correctly set before comparing
2014-05-15 11:36:17 -07:00
ilag11111
aafc0bcb0d
Ensures that the force shield's sprite returns to the proper state after receiving an invincibility monitor.
...
Fixes http://mb.srb2.org/showthread.php?p=752815
2014-05-14 16:27:37 -07:00
Alam Ed Arias
d597856c8f
Merge branch 'master' into sdl2
2014-05-02 21:32:31 -04:00
ilag
1af18c7013
Redo all changes I ended up losing trying to undo the mess I made.
...
Also, fix the issue pointed out by Alam.
2014-05-02 14:24:20 -07:00
Alam Ed Arias
0f8269fe6f
merge sdl interface changes into SDL2 interface
2014-05-02 09:33:57 -04:00
Alam Ed Arias
f3bd8c6ef4
Merge branch 'master' into sdl2
2014-05-02 09:01:51 -04:00
Alam Ed Arias
ea7abe7c44
Merge branch 'master' of https://github.com/ilag11111/SRB2
2014-05-02 08:49:30 -04:00
ilag11111
b21d5c55c9
Uses fixed-point math to properly calculate the exact amount of space needed.
2014-04-25 13:17:05 -07:00
ilag11111
f7bbf8c6d0
Improved fix by changing the formula for how memory is allocated to arbitrary sample rate conversion.
2014-04-25 12:42:43 -07:00
ilag11111
60a115b0a7
Fix (Linux) 64-bit crash in CEZ3 (playback of sfx_litng3).
2014-04-25 00:37:13 -07:00
Dmitry Marakasov
7d52913add
Make endianess detection more flexible
...
And fix it on FreeBSD, where _BIG_ENDIAN is not a flag indicating
big endian machine, but a constant to compare _BYTE_ORDER to.
2014-04-25 02:40:19 +04:00
Sryder13
c5aa433167
Merge remote-tracking branch 'upstream/master'
2014-04-24 15:37:07 +01:00
Alam Ed Arias
5b5fbe9aad
fix suport for libpng 1.6
2014-04-21 23:07:02 -04:00
Sryder13
46e84465e8
OpenGL: FOF Cutting Fix 2
...
Fixes Translucent FOF's cutting Solid FOF's.
2014-04-20 10:35:50 +01:00
Sryder13
a230368c3d
Merge remote-tracking branch 'upstream/master'
2014-04-20 10:33:47 +01:00
Alam Ed Arias
26d2d37d31
Merge branch 'master' into sdl2
2014-04-19 13:42:23 -04:00
Alam Ed Arias
8a9759a3e4
SRB2 2.1.8 release
2014-04-19 13:41:29 -04:00
Sryder13
bae7b5b2ac
OpenGL: FOF cutting fix
...
Fixes any FOF's with FF_SOLID not cutting each other.
2014-04-19 17:21:30 +01:00
Alam Ed Arias
f3e8c01565
Update interfaces I_UpdateMumble function
2014-04-18 11:16:18 -04:00
Alam Ed Arias
a4919454e8
Merge branch 'master' into sdl2
2014-04-17 20:46:35 -04:00
Alam Arias
7fb530fd18
grr, shadows
2014-04-17 17:52:33 -04:00
Alam Ed Arias
d6e48e2168
whitespace cleanup
2014-04-17 17:47:51 -04:00
RedEnchilada
fa79c1856c
Make player seethru code account for cut-away view
2014-04-17 13:46:40 -05:00
Alam Ed Arias
cb9f07fae8
Merge branch 'master' into sdl2
2014-04-17 14:04:02 -04:00
Alam Ed Arias
65c75f413c
SDL2: disable hardware support by default for now
2014-04-17 14:02:51 -04:00
Sryder13
098eb28036
OpenGL Multi-Property FOF's
...
Multi-Property FOF's have their multiple side properties display in
OpenGL.
2014-04-17 13:02:34 +01:00
Sryder13
5b324924ff
Undo MD2 Spin Frame Interpolation
...
Because apparently people don't like them like that.
2014-04-17 11:57:10 +01:00
Alam Ed Arias
537ad47d00
Will the real 2.1.7 release please stand up?
2014-04-15 22:20:13 -04:00
Alam Ed Arias
6b3a982434
Merge branch 'master' into sdl2
2014-04-15 13:57:39 -04:00
RedEnchilada
766f4c4acb
Render skybox from proper place for cutaway view
...
(Disclaimer: I don't know C at all)
2014-04-15 12:39:23 -05:00
Alam Ed Arias
8b90b0c39e
Merge branch 'master' into sdl2
2014-04-14 01:16:06 -04:00
Alam Ed Arias
02a3b0776c
SRB2 2.1.7 release
2014-04-14 01:14:58 -04:00
Alam Ed Arias
8fea599bf8
disable x11 check
2014-04-09 19:55:05 -04:00
Alam Ed Arias
2005421a7e
Merge remote-tracking branch 'ilag11111/sdl2' into sdl2
...
Conflicts:
src/sdl2/i_video.c
2014-04-09 19:47:11 -04:00
ilag11111
c206d55568
Adds command line parameter -mousewarp to control the use of warping in place of grabbing. Works around bugs in certain versions of X.
2014-04-09 14:40:54 -07:00
Alam Ed Arias
a3f387200e
XINPUT2 support check
...
reable check for x11 and check if XINPUT2 support before enable mouse grab mode
TODO: need to restore non-mousegrab code?
2014-04-09 14:57:47 -04:00
Alam Ed Arias
57c1fd602c
clean up SDL2 video interface code
2014-04-09 14:54:15 -04:00
Alam Ed Arias
0aaaf067e3
update SDL2 interface to use SDL_JoystickNameForIndex
2014-04-09 14:54:15 -04:00
Alam Ed Arias
c59df51d19
Merge branch 'master' into sdl2
...
Conflicts:
comptime.sh
2014-04-09 14:54:06 -04:00
Alam Ed Arias
2bd6573f5f
grsoftwarefog is still hardware only
2014-04-09 14:52:38 -04:00
ilag11111
025523f3e3
Fix the previous commit to work on Linux32. Add more comments.
2014-04-08 19:19:23 -07:00
ilag11111
0306c1834a
Disables input grabbing in Linux; allows alt-tabbing and other actions.
2014-04-08 19:02:45 -07:00
Alam Ed Arias
cec63aa4c0
restore ISO C90 support in r_opengl
2014-04-08 12:01:26 -04:00
Sryder13
b63e99efd8
OpenGL Screen Flip
...
Screen flipping in OpenGL is no longer done by inverting the screen
polygons.
2014-04-07 17:08:04 +01:00
Sryder13
81627a847f
Merge https://github.com/STJr/SRB2
2014-04-07 17:01:56 +01:00
Alam Ed Arias
25448dec36
Compile Win32 EXE with -gdwarf-2
2014-04-07 10:03:14 -04:00
Sryder13
7e04e679a9
Player Spin Frame MD2 Interpolation
...
Player spin frames on MD2's interpolate correctly when moving slowly.
2014-04-07 12:37:15 +01:00
Ronald Kinard
ec559c84c1
sdl2: Fix mouse motion in fullscreen
2014-04-06 22:36:47 -05:00
Ronald Kinard
1882cf9233
sdl2: fix tabbing on last few commits
2014-04-06 21:50:56 -05:00
Ronald Kinard
080f8e4008
sdl2: restore joystick code
...
remarkably it still works even though the API has changed.
2014-04-06 21:43:40 -05:00
Ronald Kinard
6ea03a23b4
sdl2: Revert -win flag behavior, was glitchy
2014-04-06 21:23:59 -05:00
Alam Ed Arias
0ae6d5ae29
merge sdl interface changes into SDL2 interface
2014-04-06 19:01:04 -04:00
Alam Ed Arias
ea2e1a1144
Merge branch 'master' into sdl2
2014-04-06 18:38:04 -04:00
Sryder13
56fbdfdad3
OpenGL Translucent Midtexture Fix
...
Translucent Midtextures using holes with textures in them now work when
there is no FOF's above their sector.
2014-04-05 22:13:09 +01:00
Sryder13
fc12fc7cd4
OpenGL Screen Fading Fix
...
Screen Wipes now work as they did in 2.0.x.
2014-03-31 23:47:12 +01:00
Sryder13
d75d7cd09a
OpenGL Splitscreen Fix
...
First screen in split-screen is now not completely black.
2014-03-31 00:07:55 +01:00
Sryder13
9f0aacb059
MD2 Texture load fix
...
Fixes MD2's using sprites on the first frame when they're loaded.
2014-03-30 17:45:58 +01:00
Sryder13
652f3395a9
Merge https://github.com/STJr/SRB2
2014-03-28 23:29:20 +00:00
Sryder13
fc978c79bb
OpenGL wall Y offset
...
Fixed wall textures breaking when Y offset of the wall was too high.
2014-03-28 23:28:00 +00:00
Alam Ed Arias
a80d925daf
Merge branch 'master' of github.com:STJr/SRB2 into sdl2
2014-03-28 11:59:57 -04:00
Alam Ed Arias
1b0b9fa537
Merge branch 'master' of https://github.com/ilag11111/SRB2
...
With whitespace fixup
2014-03-28 11:58:35 -04:00
ilag11111
544682f140
Proof of concept fix for Sonic not being MD2-able
2014-03-27 18:04:03 -07:00