Commit Graph

35 Commits

Author SHA1 Message Date
479a4c3db7 rename textures to avoid collisions 2021-05-27 16:03:50 +03:00
62d96f88fe add basic post_announcement_hook 2021-05-27 10:29:18 +03:00
1dd8bbe110 add argument for point scale 2021-05-27 07:58:39 +03:00
23ce46099c export raycast_crosshair 2021-05-27 07:57:46 +03:00
81b812c119 make waypoint_lib local 2021-05-27 07:51:11 +03:00
975a0c4346 rename add_announcement to post_announcement 2021-05-26 20:17:25 +03:00
8928ca027f remove the limit of one announcement per player 2021-05-26 20:06:51 +03:00
f6b7300e82 add auto_update option for WaypointHUD 2021-05-26 20:02:17 +03:00
d2463ceb69 make it possible to stop the test spam 2021-05-26 20:00:28 +03:00
12790b6ddb add WaypointHUD object that shows an arrow pointing to the target 2021-05-26 18:00:43 +03:00
baaea9d0df use naming convention for global constants 2021-05-26 16:43:54 +03:00
b4462cfb16 add var for color, add comments 2021-05-26 16:36:25 +03:00
ec80854705 implement generic hud compass element 2021-05-26 13:44:31 +03:00
72e89345aa add IconWaypoint object 2021-05-26 11:29:05 +03:00
451b2a0b5b fix Announcement object definition 2021-05-26 07:23:09 +03:00
f2cb6b8055 start splitting out waypoint_lib 2021-05-26 06:05:18 +03:00
1469d4f298 make hud arrow change direction to reflect position changes 2021-05-26 06:05:18 +03:00
64d82be218 factor out get_texture_for_direction 2021-05-26 06:05:18 +03:00
303d1bf1d6 add function to remove announcement 2021-05-26 06:05:18 +03:00
68e45eabe8 refactor using Announcement object 2021-05-26 06:05:18 +03:00
ecf3f06555 fix space 2021-05-25 07:12:50 +03:00
eb3ab60383 factor out player_get_eye_pos(player) 2021-05-24 09:35:26 +03:00
1e7df1f115 account for eye_offset when raycasting 2021-05-23 19:17:38 +03:00
e9ae1cbcfa add function for easier testing 2021-05-23 02:20:00 +03:00
2f25cd5bfd fix angle rounding and tweak formulas 2021-05-23 02:01:24 +03:00
1184f125ad use texture rotation to increase angular res and use less textures 2021-05-23 01:18:24 +03:00
bbc137b18b use compass hud element to point towards waypoint 2021-05-22 19:58:19 +03:00
fab30ae894 add some comments 2021-05-22 16:04:24 +03:00
c57f68aee8 add command variant that does not require to click 2021-05-20 12:20:39 +03:00
b6a26a651a move chat message color into var 2021-05-20 11:42:34 +03:00
672e61ed2d add comments for config vars 2021-05-20 11:35:05 +03:00
cf4f3c20cb implemented: prepare announcement with cmd, click to put it 2021-05-19 11:38:26 +03:00
e3fdb77fac send a chat message to all on announce 2021-05-19 03:20:57 +03:00
39f742c311 show icon, better chat message 2021-05-18 18:31:44 +03:00
dcfd8dfd33 basic announcement with a waypoint 2021-05-18 12:02:43 +03:00