Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4880 2317d 3h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 Mapster32: make sprite duplication examples in work again.

- Work around a sequencing issue (assignment of searchstat) in
- When having sprites highlighted and changing shade, since r1943 change
every highlighted sprite's shade if one of them is aimed at. With this
revision, if SHIFT is pressed while doing that, only change the aimed at
sprite's shade
- a.m32: Use 'break' from a state instead of 'return'. The former may be
"sticky" in a way that is not intended. Needs to be debugged later.
- Update instructions in

4421 2592d 1h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: for showpal==1, also show editor colors with printext16.  
4414 2593d 12h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: add state 'for_sprites_near_picnum'.

The state quries the user for four values: ref. picnum, target picnum, max.
ldist and a lotag. Then, for all sprites i (of ref. picnum), for all sprites j
(of target picnum), if ldist(i,j)<=maxldist, sprite j's lotag is changed to the
provided one.

Also add lunatic/test/maputil.lua, containing a similar function but allowing
to customize the selection predicates of the ref. and target sprites, as well
as the action to carry out.
4357 2629d 3h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: add states 'uniformceiling' and 'uniformfloor'.

Given highlighted sectors, these take the arithmetic mean of their ceiling's
or floor's (respectively) z, removing the slope bit from all, and setting the
new z to the mean one, rounded down to 1024 Build z units (one PGUP/PGDN).

4197 2707d 4h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: don't clamp SE50 extra (=horiz) to [-500 500] with KP8/KP5.  
4171 2727d 4h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 A couple of trivial changes.  
4169 2730d 4h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: add [']+[F] menu function setting xvel=1 on all sel. wall/floor sprites.

For sanitizing underwater sections, see r4166.
Also, don't print "Menu function executed successfully" when the function
printed something itself.
4130 2745d 19h hendricks266 /polymer/eduke32/package/sdk/samples/a.m32 Sweeping modifications to synthesis and the package directory structure so that every potential binary is in its own package.
While we're rearranging files, ensure all SVN mime-types are set correctly.
4042 2805d 6h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: add 'moveselsects', moving them so that each sector's 1st pt is at (0,0).  
3752 2921d 4h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: rotatesprite testing.

Variables dt_* are defined. If dt_t (tile number) is >=0 that tile is drawn
using 'rotatespritea'.
3704 2941d 13h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: add user variable 'override_basepal'.

Set it to >=0 to override the base palette (water, slime, ...) in 3D mode.
This can be useful to navigate Lameduke's underwater sections, since its
LOOKUP.DAT only contains 8 lookup tables, but no other *base* palettes.
Consequently, base palettes >=1 will make the whole screen black when
Lameduke's LOOKUP.DAT is loaded into EDuke32 or Mapster32.
3699 2942d 3h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 m32script: in tsprite access, fix checking min/max/RO; tweak RESPAWN preview.

This fixes RESPAWN preview wrongly clamping the previewed tsprite z coords to
[-524288 .. 524288] (x/y limits).
Also, make the previewed tsprites be 33% translucent with the option of 66%
translucency by setting 'showrespawn_fulltrans' to 1 in a.m32.
3651 2956d 8h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: Don't reposition head light if in void space, fixing crash.  
3648 2958d 5h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: Implement a Polymer "head light" emanating from your position in 3D mode.

Toggled with Ctrl+Shift+[KP-]. Variable 'headlight_range' controls its range.
For the implementation, a new event EVENT_PREDRAW3DSCREEN was added.
3509 3003d 3h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 Mapster32: add "movement by one" debugging functionality via a.m32.

If m32script gamevar "move_by_one" is nonzero, the some keys move the
"player arrow" by increments of 1:
- Without SHIFT: LEFT/RIGHT absolute x, DOWN/UP absolute y, A/Z absolute z.
- With SHIFT: DOWN/UP (unbounded!) horiz, LEFT/RIGHT angle.

This can be useful to debug renderer bugs that show a high sensitivity to the
exact location ("are transient in space").
3447 3021d 10h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 Mapster32: RESPAWN-preview coded in M32-script.

The m32script variable 'showrespawn_always' toggles whether the respawned picnum
is shown unconditionally instead of only when aimed at (and locked onto the
RESPAWN sprite) in 3D mode.
Cool idea by Micky C.
NOTE: sometimes doesn't work because of a bug in the m32script interpreter.
3395 3037d 3h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 Mapster32: don't show wall length of *line* highlight when dragging points.

Also, factor out 2x dup'd code of insertsprite() into do_insertsprite()
and add searchwall-displaying code into package/samples/a.m32.
3235 3088d 15h hendricks266 /polymer/eduke32/package/sdk/samples/a.m32 Restructure so that everything packaged in a release build is stored in the package folder, instead of maintaining a list.,, and wiibuild.bat updated.
2866 3200d 3h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 Mapster32: add "extend all highlighted sectors" func to 'F menu via a.m32.  
2826 3224d 5h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: in collect_*_sectors from the 'F menu, start query with sector under mouse  

Show All