Monster Iestyn
b52c843139
Merge branch 'public_next'
2017-11-01 18:39:25 +00:00
Monster Iestyn
2b1fb67a5f
DrawMD2i: change duration and tics to INT32, fix up any related code
2017-10-30 19:12:51 +00:00
Alam Ed Arias
5986720789
Build: fixups
2017-09-28 11:01:52 -04:00
toaster
3cc14e3985
Merge branch 'directionchar' into 'master'
...
Autobrake & decoupling player sprite angle from camera angle
See merge request !69
2017-09-19 07:56:22 -04:00
toasterbabe
3c785cbe94
* Add Skid SPR2/state in preperation for directionchar.
...
* Clean up spr2 md2 code.
* Experimented but then commented out some stuff for homing attack.
2017-09-09 22:12:23 +01:00
toasterbabe
79dab78fd3
* Support FF_SPR2ENDSTATE in interpoleration.
...
* Fix skidding interpoleration bug.
2017-08-27 16:35:19 +01:00
toasterbabe
973f700dcf
* Make the model->spr2frames dynamically allocated. (There's only two settings - on and off - but that's better than it perpetually being on...)
...
* Fix up defaulting for DEAD to go to PAIN.
2017-08-27 14:56:07 +01:00
toasterbabe
76300026f8
* Added support for sprite2s to MD2s!
...
- Name each frame either SPR2_**** or SUPER**** (where **** is the 4-character name)
- If the name is 3 characters, '.' is accepted as a substitute for the '_', but a space/absent isn't (for tool-related reasons).
- Adds a big sprite2 index array to all models, even non-player ones. Sorry!
* Made MD2 frame interpoleration only work across the same spriteset (and sprite2set).
* Made MD2 frame interpoleration happen when there's less than a quarter of a second between frames, as opposed to the hardcoded specific animation disabling.
* Fixed sprite2-related typo in dehacked.c.
2017-08-26 18:56:23 +01:00
toasterbabe
2e6c09a636
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into directionchar
...
# Conflicts:
# src/hardware/hw_main.c
2017-08-16 21:40:32 +01:00
toasterbabe
780f9b1645
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into new_coop
...
# Conflicts:
# src/hardware/hw_md2.c
2017-08-07 20:36:14 +01:00
toasterbabe
8941379c64
Implementation of all the new skincolours. No new exe yet, though, since I'm still doin' stuff.
2017-07-22 23:24:12 +01:00
toasterbabe
2636375f94
GL supporting.
2017-04-07 16:51:43 +01:00
Monster Iestyn
817f0908e4
made HWR_CreateBlendedTexture's color switch case take up not so many lines, and only one V_GetColor call is used now
2016-11-07 18:34:51 +00:00
Monster Iestyn
bbd67a6960
Merge branch 'master' into opengl-improvements
2016-11-06 18:02:34 +00:00
Monster Iestyn
cb1fbbf345
Merge branch 'public_next'
2016-11-06 18:02:12 +00:00
Monster Iestyn
2dfb841c38
Correcting slight mistake I made
2016-11-06 17:50:04 +00:00
Monster Iestyn
05860b2fa1
Ensure file is closed whenever MD2 reading errors happen
2016-11-05 20:51:48 +00:00
Monster Iestyn
b00c680437
Add MD2_INDENT and MD2_VERSION so we can cleanly check that it's a valid MD2 from magic number/version
2016-11-05 20:40:48 +00:00
Monster Iestyn
2df7d8c4aa
Merge branch 'public_next'
2016-11-05 19:52:27 +00:00
Monster Iestyn
8909b7c27b
Change >= to >, I THINK having exactly 4096 vertices is safe?
2016-11-05 17:38:36 +00:00
Monster Iestyn
efe02e2a42
allow triangle/frame limits too
2016-11-03 22:53:49 +00:00
Monster Iestyn
561a0fe768
Attempt loading of an MD2 only once; if we failed then don't bother again
...
This keeps my new error messages from flooding the console and log.txt
2016-11-03 21:06:23 +00:00
Monster Iestyn
2ec972af54
check numVertices, bail out and print error message if there are too many
...
I added similar checks for the other num* but it seems some MD2s break the other limits without knowing anyway ...so I've commented these checks out for now, unless we have further discussion regarding them later on
2016-11-03 20:40:17 +00:00
toasterbabe
c70661186a
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into flat_sprites
...
# Conflicts:
# src/dehacked.c
# src/p_inter.c
# src/p_pspr.h
2016-09-27 18:11:20 +01:00
toasterbabe
28523760c3
FF_VERTICALFLIP, since I've been messing around with sprite stuff.
...
* flips the sprite ala MFE_VERTICALFLIP except you don't need to flip the direction of gravity for the object just to draw upside down
* stacks properly with reverse gravity
2016-09-24 14:23:00 +01:00
toasterbabe
b3b6d5c4f9
woops, renamed superwhite to supersilver during writing and forgot to change this comment
2016-08-10 19:54:07 +01:00
toasterbabe
810e1ec041
SUPERCOLOR BONANZA COMMIT.
...
* Several new supercolours.
- SKINCOLOR_SUPERSILVER1-5 (for fun) - "Silver"
- SKINCOLOR_SUPERPERIDOT1-5 (nyeheheh) - "Peridot"
- SKINCOLOR_SUPERCYAN1-5 (for fun) - "Cyan"
- SKINCOLOR_SUPERPURPLE1-5 (for fun) - "Purple"
- SKINCOLOR_SUPERRUST1-5 (mecha/metal sonic) - "Rust"
- SKINCOLOR_SUPERTAN1-5 (shadow/silver the hedgehog) - "Tan"
* SKINCOLOR_SUPER1-5 renamed to SKINCOLOR_SUPERGOLD1-5, one index for darkest is changed - "Gold"
* SKINCOLOR_TSUPER1-5 renamed to SKINCOLOR_SUPERORANGE1-5, ported properly to the new palette - "Orange"
* SKINCOLOR_KSUPER1-5 renamed to SKINCOLOR_SUPERRED1-5, ported properly to the new palette - "Red"
* new S_SKIN attribute - supercolor - uses an entirely different function to get the names (R_GetSuperColorByName instead of R_GetColorByName)
* a fun little secret - typing "god on" in the console whilst super makes the player hyper (visual only, no sparkles - just rainbow flash) - can be removed if no fun is allowed
2016-08-10 19:48:20 +01:00
Alam Ed Arias
e5a14d859e
Merge branch 'public_next' into private
2016-05-27 11:37:09 -04:00
Monster Iestyn
0081397920
OpenGL: Fix MD2s on player 2's screen breaking when reverse gravity is involved
2016-05-27 14:53:36 +01:00
Inuyasha
50d3fe15b8
Merge branch 'public_next' of http://git.magicalgirl.moe/STJr/SRB2Internal
...
# Conflicts:
# src/d_main.c
# src/doomdef.h
2016-03-31 21:17:29 -07:00
Alam Ed Arias
51aa7692d8
Merge branch 'master' into next
2016-03-30 20:15:08 -04:00
Alam Ed Arias
d90536967d
removed/remline ununsed code
2016-03-30 14:05:07 -04:00
Inuyasha
e7ff405c52
Merge branch 'public_next' of http://git.magicalgirl.moe/STJr/SRB2Internal
...
# Conflicts:
# src/hardware/hw_md2.c
# src/p_mobj.c
# src/p_mobj.h
2016-02-29 00:14:16 -08:00
Alam Ed Arias
77dc27d070
Merge branch 'next' into backport_state-animations
2016-02-26 02:06:57 -05:00
toasterbabe
f59c8d20e5
fix md2 blendcolors for reduced palette
2016-02-11 18:37:53 -05:00
Alam Ed Arias
e4ad95856f
Merge branch 'public_next' into master
2016-02-09 14:49:17 -05:00
Monster Iestyn
5d1c8d2968
My cherry picking somehow lead to these functions being doubled ...whoops
2016-02-09 19:35:04 +00:00
Alam Ed Arias
d09016c808
Merge branch 'public_next' into master
2016-02-09 14:19:50 -05:00
Alam Ed Arias
6000b5c980
Merge branch 'master' into next
2016-02-09 14:13:50 -05:00
Sean Ryder
ddb5652ab6
Tabbing
2016-02-09 18:05:19 +00:00
Sryder13
6b8c438e58
Change a few colours.
2016-02-09 18:05:11 +00:00
Sryder13
31deecc51c
Colour Changing MD2s
...
I don't know how I can move my old branch over so I've just created a new one.
2016-02-09 18:04:59 +00:00
Sean Ryder
b7ebb8186d
Fix MD2 interpolation for FF_ANIMATE states
2016-02-09 16:20:18 +00:00
Sean Ryder
7d914913dd
Tabbing
2016-01-20 15:55:32 +00:00
Alam Ed Arias
1a56d48cd9
Merge branch 'public_next' into master
2016-01-14 12:37:04 -05:00
RedEnchilada
b9b1e2b298
Fix MD2s
2016-01-02 21:53:43 -06:00
Sryder13
d050a60f36
Change a few colours.
2015-08-03 02:01:56 +01:00
Sryder13
cc3d3a67e6
Colour Changing MD2s
...
I don't know how I can move my old branch over so I've just created a new one.
2015-07-26 20:14:47 +01:00
Alam Ed Arias
fb5cba78d3
Merge branch 'public_next' into private
...
Conflicts:
src/p_mobj.c
2015-06-18 10:54:53 -04:00
Alam Ed Arias
f0054be951
whitespace fixup
2015-06-18 10:05:51 -04:00