Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
4880 2456d 0h 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 2730d 21h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: for showpal==1, also show editor colors with printext16.  
4414 2732d 8h 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 2767d 23h 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 2846d 0h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: don't clamp SE50 extra (=horiz) to [-500 500] with KP8/KP5.  
4171 2866d 0h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 A couple of trivial changes.  
4169 2869d 1h 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 2884d 16h 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 2944d 2h 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 3060d 1h 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 3080d 9h 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 3081d 0h 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 3095d 4h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 a.m32: Don't reposition head light if in void space, fixing crash.  
3648 3097d 2h 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 3141d 23h 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 3160d 7h 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 3175d 23h 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 3227d 11h 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 3339d 0h helixhorned /polymer/eduke32/package/sdk/samples/a.m32 Mapster32: add "extend all highlighted sectors" func to 'F menu via a.m32.  
2826 3363d 1h 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