Project

General

Profile

« Previous | Next » 

Revision 963cbd29

Added by skyjake over 17 years ago

Misc:
+ verbosity conflict (global "verbose") -- ArgExists() counts instances

Input Improvements:
+ sys_input: button clickers for mouse and joystick
+ rationalize ddevent_t
+ convenience macros for testing ddevent_t
+ fix console command keys to be more intuitive (IMO) -- to be bound...

New Bindings System:
+ b_command.c: Command bindings (event -> command)
+ b_class.c: Binding classes (contains command and device bindings)
+ match command bindings against events in B_Responder()
+ b_main.c: Bindings: register, init and shutdown
+ b_util.c: Bindings-related utility functions
+ b_device.c: Device bindings and the device state
+ new code for managing player controls, with identifier and name (engine defines some common IDs) and type (impulse or numeric)
+ engine counts how many times each impulse control has been triggered
+ "impulse" console command can be used to trigger impulses
+ p_control.c: Player controls: querying the state from b_device.c (testing with P_PlayerThinkLookAround)
+ some testing of control-device bindings with "turn" (keys, mouse, joystick)

Work continues on the bindings and the player controls...

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences