Menu

Commit [r976]  Maximize  Restore  History

Making very incremental changes which revolve around the introduction of a new

event type, namely NextBlockAfterFinEvent. Trying to commit partial changes
that don't break the existing code. This change introduces the static constant
NEXT_BLOCK_AFTER_FIN to class BlockoutBoardEvent, and nothing else. A bit was
chosen for this constant which steers completely clear of existing (used) bits
in other constants; the bit 0x4000 could have been used, but that sits between
0x8000 and 0x0001, which are all used except for 0x4000; decided to use bit
0x00010000 instead, which utilizes the top 16 bits for the first time. The
top 16 bits could be now used to mean any kind of circumstantial data not
integral to the actual game.

nerius 2023-09-06

changed /blockout/src/net/blockout/event/BlockoutBoardEvent.java
/blockout/src/net/blockout/event/BlockoutBoardEvent.java Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.