Jaime Ita Passos
3f36a51f5b
Move a few mobj spawn defaults to its own function
2020-12-06 17:46:35 -03:00
Jaime Ita Passos
8cbaf9a5eb
Fix archived mobjs having no default blend mode and sprite scales
2020-12-06 17:29:20 -03:00
GoldenTails
01c9ae2377
Fix HWR_DrawCroppedPatch scaling a patch when cropping the top and left sides.
2020-12-06 12:01:31 -06:00
Tatsuru
0e92f1818c
Kill saloon doors without a tracer, add height check for non-blocking doors
2020-12-06 14:11:08 -03:00
GoldenTails
d0b1a48806
Make caret coloring support letters.
2020-12-06 04:28:12 -06:00
katsy
9095c87be3
space
2020-12-06 04:32:30 -05:00
katsy
a542fac11f
Revert "add noclipheight on chaingrab"
...
This reverts commit a796deef3f
2020-12-06 07:44:59 +00:00
katsy
2a3fa4c887
Revert "ensure the new flag is cleared properly"
...
This reverts commit ad4c97f76f
2020-12-06 07:44:49 +00:00
katsy
67f65961d2
brak barrier is scaled up by 2x in gameplay, the actual object's parameters should be halved
2020-12-06 00:13:10 -05:00
katsy
23449b58ed
Replace p_inter.c
2020-12-06 00:10:45 -05:00
katsy
2f5b964e45
Replace p_user.c
2020-12-06 00:10:28 -05:00
katsy
ad4c97f76f
ensure the new flag is cleared properly
2020-12-05 23:17:01 -05:00
katsy
a796deef3f
add noclipheight on chaingrab
2020-12-05 23:13:47 -05:00
GoldenTails
4eae6aaf3f
Fix weird spelling mistake
2020-12-05 05:00:59 -06:00
James R
a4ea83b1dc
Invalidate taglist userdata
2020-12-05 02:26:00 -08:00
James R
22270d354b
Reset taggroup iterator on successive calls
2020-12-05 02:08:00 -08:00
James R
1c6133a39a
Lua: taglist.add and taglist.remove for sector tag lists
2020-12-05 02:02:06 -08:00
James R
408d31431f
Fix removing a tag unsetting the bit array even if more elements with that tag exist
2020-12-05 01:14:52 -08:00
James R
1216108ea3
Don't realloc twice when adding to the taggroup
2020-12-05 00:46:51 -08:00
James R
b21e3fc2bf
Fix uninitialized last element when using Taggroup_Remove
2020-12-05 00:36:54 -08:00
James R
01e7c48630
Lua tag lists
...
Index and take length of tag lists like a table, 1-indexed. There are three
methods which may be used on tag lists:
list:iterate() - returns an iterator over the tags in the list
list:has(tag) - returns a boolean whether the tag is in the list
list.shares(list2) - returns whether two lists share a tag
"find" is also an alias to "has". Each method may be accessed from the global
taglist library too, e.g. taglist.iterate(list)
Tag lists may be compared with an equality operator too. This will tell you if
the two lists are composed of identical tags.
Accessible from sector.taglist, line.taglist and mapthing.taglist.
2020-12-04 13:53:27 -08:00
James R
3c0c15f28c
Mkae Lua taggroups indexable
...
They are 1-indexed.
2020-12-04 04:54:12 -08:00
James R
4cf8e32135
hehehehehe what if I forgot to git add?
2020-12-04 02:27:46 -08:00
James R
775cb46f75
Lua taglib for accessing taggroups
...
The global "tags" can be iterated upon for every unique tag which is set in the
level. If a tag is set on a sector/line/thing, it will be included. Taking the
length of "tags" will give you the number of these unique tags. (If a tag is
set on multiple sectors/lines/things, it will only be counted once though.)
For sectors, lines and mapthings, call the field "tagged". This function takes
one argument, which is the tag. The return value can be iterated over for all
the sectors/lines/things with that tag. The length can also be taken for the
number of such objects. If no argument is given, the global tag is default.
2020-12-04 00:30:08 -08:00
Steel Titanium
e7683fb239
Reword the error to be more consistent with other errors
2020-12-03 21:14:27 -05:00
Steel Titanium
acf0d768fb
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into lua-skinsprites
2020-12-03 17:29:08 -05:00
Tatsuru
e9a7d98522
Initialize in p_spec.c too + magic number replacement
2020-12-03 17:50:10 -03:00
Zippy_Zolton
dc53970fac
g
2020-12-03 02:05:10 -06:00
Zippy_Zolton
5fc6864cc2
Fix fire objects disappearing in lava
2020-12-03 01:28:54 -06:00
GoldenTails
db7cc8e988
Fix missing stuff
2020-12-02 19:47:00 -06:00
Jaime Ita Passos
4b8b5d928d
Don't clip if the 3D floor is fog
2020-12-02 15:34:11 -03:00
Jaime Ita Passos
fefd953a83
Fix 3D floor culling with polyobject segs
2020-12-02 15:31:11 -03:00
Tatsuru
2f44a9ab02
Don't spawn the projectile if you're just gonna delete it
2020-12-02 12:05:40 -03:00
Nev3r
0b6585b51d
Move the numerical arg check below so that the string gets checked first (who decided to give them such similar names anyway).
2020-12-01 19:44:58 +01:00
Nev3r
f17cae1b5d
Follow GZDoom's convention for stringargs.
2020-12-01 18:35:24 +01:00
Zachary McAlpin
7eebfdc7d4
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into expose-selectheading
2020-11-30 23:48:49 -06:00
James R
6dea40beaa
Fix double define
2020-11-30 19:04:23 -08:00
Zippy_Zolton
3015ee07ae
thanks zap
2020-11-30 16:39:24 -06:00
Tatsuru
8502675e1b
Initialize junk line tag lists
2020-11-30 18:21:06 -03:00
Zippy_Zolton
6bfccec3c3
oops
2020-11-30 12:05:45 -06:00
Zippy_Zolton
8c836971de
overhaul
2020-11-30 12:04:35 -06:00
Zippy_Zolton
556dd3bfca
P_GivePlayerRings
2020-11-29 17:39:54 -06:00
Zippy_Zolton
96ff6d002d
Make P_DoSuperTransformation (with giverings) add 50 rings instead of setting it
2020-11-29 17:16:57 -06:00
GoldenTails
d8ab3a75ed
Remove the rest of the Playing() checks for GameQuit hook
2020-11-29 16:53:29 -06:00
LJ Sonic
079df8df4d
Merge branch 'fix-stacktrace' of https://git.do.srb2.org/STJr/SRB2.git into next
...
# Conflicts:
# src/dehacked.c
# src/dehacked.h
2020-11-29 21:54:15 +01:00
Zachary McAlpin
522dd26376
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into expose-selectheading
2020-11-29 13:59:10 -06:00
GoldenTails
7c8a447d8f
Always call GameQuit when quitting via the Quit menu option on the title screen.
2020-11-29 08:32:04 -06:00
GoldenTails
ded87cb54c
Send a quitting argument to the GameQuit Lua hook
2020-11-29 08:30:50 -06:00
Nev3r
ed041a88a4
Merge branch 'fix-playercmd' into 'next'
...
Fix PlayerCmd not handling angle and aiming correctly
See merge request STJr/SRB2!1265
2020-11-29 05:30:01 -05:00
Nev3r
17955311b9
Merge branch 'dehacked-hell' into 'next'
...
Split dehacked.c into multiple files.
See merge request STJr/SRB2!1222
2020-11-29 05:18:45 -05:00