Lactozilla
e7b4beba20
Update dates in copyright notices of all files modified in 2024
2024-09-21 21:35:01 -03:00
MIDIMan
8fb5f88f89
Merge branch SRB2:next into mobj-alpha
2024-03-11 00:03:44 +00:00
sphere
ee96ed12a4
Merge branch 'more-sprite2' into 'next'
...
Add 'sprite2' field to states
See merge request STJr/SRB2!2211
2024-03-07 12:06:48 +00:00
MIDIMan
29378e7f94
Merge branch SRB2:next into mobj-alpha
2024-03-06 02:26:50 +00:00
MIDIMan
a76544a376
Make alpha use fixed_t and add alpha field to precipmobj_t
2024-03-01 16:29:39 -05:00
MIDIMan
17e7aea311
Fix clang build error (hopefully)
2024-02-28 14:41:17 -05:00
spherallic
dbc1fe8c0e
Merge branch 'next' into more-sprite2
2024-02-27 12:23:14 +01:00
MIDIMan
de8464cd2f
Add alpha support for mobjs
2024-02-24 20:13:13 -05:00
Logan Aerl Arias
cf5520b275
Merge branch SRB2:next into instant-setscale
2024-02-17 03:25:41 +00:00
Logan Aerl Arias
ae8bfbe763
Merge branch '1168-accessing-an-invalid-variable-in-ticcmd_t-crashes-the-game' into 'next'
...
check if LUA field exists before accessing it
Closes #1168
See merge request STJr/SRB2!2261
2024-02-12 19:58:56 +00:00
Lactozilla
756e9d0d48
Link objects into multiple blockmap sectors
...
Ported from ZDoom
2024-01-17 19:10:19 -03:00
Lactozilla
2019e7df18
Throw warning on invalid translations
2024-01-16 20:17:01 -03:00
Logan Aerl Arias
4ae7a0e093
LUA mapthing_t checks
...
add check that LUA can't access fields that don't exist in mapthing_t
2024-01-07 16:21:09 -05:00
Zwip-Zwap Zapony
564d18b1ea
Add and use an "instant" parameter for P_SetScale
2024-01-03 14:04:40 +01:00
Lactozilla
7fbd8f7025
Merge branch 'next' into more-sprite2
2024-01-02 22:09:17 -03:00
Lactozilla
b6e4771085
Merge branch 'next' into translations
2024-01-02 22:06:14 -03:00
Logan Aerl Arias
487b0d22ed
Merge branch 'next' into raise-skin-limit
2024-01-01 16:55:04 -05:00
Lactozilla
70e9e2bdb0
Merge branch 'next' into more-sprite2
2023-12-27 23:48:20 -03:00
Gustaf Alhäll
ddba6e80f7
Handle player state is P_MobjSetState
2023-12-23 13:45:16 +01:00
Lactozilla
a3e6b5e0fb
Merge remote-tracking branch 'stjr/next' into raise-skin-limit
2023-11-23 13:48:18 -03:00
Lactozilla
6c1b9b8678
Make translation field return the name of the translation
2023-11-21 16:46:32 -03:00
Lactozilla
4408f4462e
Add 'sprite2' field to states
2023-11-12 21:46:49 -03:00
Lactozilla
879ac8dcd5
Merge remote-tracking branch 'stjr/next' into translations
2023-11-06 22:58:25 -03:00
Lactozilla
6de7fc3223
Add 'translation' object property
2023-10-29 23:34:18 -03:00
Alam Ed Arias
49d9619192
Merge branch 'master' into raise-skin-limit
2023-10-28 18:09:42 -04:00
LJ Sonic
bc9a378521
Refactor userdata metatable registration
2023-10-27 20:17:27 +02:00
Sal
f11538c478
Make UDMF scale compatible with ZDoom's spec
2023-08-04 20:05:35 +00:00
Zwip-Zwap Zapony
0e2682d590
Add "drawonlyforplayer" and "dontdrawforviewmobj"
2023-07-25 11:05:29 -04:00
GoldenTails
4212035729
Fix errors due to declaring variables in switch bodies
2023-07-24 21:44:53 -05:00
Sally Coolatta
7c2a241042
Remove the need for setting rotation axis in spriteinfo for models
...
Now it just does it like Software
2023-07-24 04:40:15 -04:00
Gustaf Alhäll
2f2de7d3d3
Optimize field lookups in Lua metatables
2023-06-18 18:05:16 +02:00
sphere
ce504d4e8e
Merge branch 'mobj-dispoffset' into 'next'
...
Turn dispoffset into a mobj field
See merge request STJr/SRB2!1708
2023-05-25 20:59:43 +00:00
spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
Eidolon
34eebcb4b8
Reset interp scale when Lua sets .scale
2022-04-28 18:36:10 -05:00
Sally Coolatta
d476b41dfa
P_SetOrigin & P_MoveOrigin to replace P_TeleportMove
2022-04-26 20:56:33 -05:00
spherallic
14295ac7de
2022
2022-03-03 20:24:46 +01:00
lachablock
d764d68d02
Turn dispoffset into a mobj field
2022-01-13 18:53:26 +11:00
Jaime Ita Passos
2aa9bb59ef
Memory management fixes
...
Date: Mon Aug 9 15:57:07 2021 -0300
2021-08-09 15:57:35 -03:00
Monster Iestyn
090e5384d5
Merge branch 'blendmode-rangecheck' into 'next'
...
Handle invalid blend modes
See merge request STJr/SRB2!1486
2021-06-05 09:02:31 -04:00
LJ Sonic
d325c7e6d3
The year is 2021
2021-05-07 17:45:56 +02:00
Jaime Ita Passos
548554431b
Handle invalid blend modes properly
2021-04-27 00:20:41 -03:00
James R
8dd964e3a7
Lua: taglist.add and taglist.remove for sector tag lists
2020-12-05 02:02:06 -08:00
James R
314fd2783a
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
621efbfa15
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
Jaime Ita Passos
5e890ee6f8
Merge branch 'next' into spritestuff2
2020-11-19 00:52:43 -03:00
Nev3r
c62ef355ef
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into udmf-multitag
...
# Conflicts:
# src/lua_baselib.c
# src/lua_maplib.c
2020-10-27 20:48:25 +01:00
Jaime Passos
b872222b50
Implement blend modes
2020-10-27 00:03:41 -03:00
Jaime Passos
ab526e47cc
Implement object-defined floor sprite slopes.
2020-10-14 00:57:13 -03:00
Jaime Passos
4273896311
Implement relative and absolute sprite offsets for objects (mobjs)
...
Added RF_ABSOLUTEOFFSETS and RF_FLIPOFFSETS
2020-10-13 12:57:36 -03:00
Jaime Passos
cc97e22e2f
Changes to sprite rendering:
...
- Added render flags (see r_defs.h)
- Implemented floor splats
- Drop shadow sprite rendering through render flags
2020-10-12 00:13:22 -03:00