Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server centred update #115

Closed
wants to merge 116 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
faf2c51
Repair and bulk commit 3 (rebased)
Buom01 Mar 20, 2020
8efabed
Run a 300ms test rumble effect when haptic is found
Buom01 Mar 20, 2020
228e0b3
Shoud inputs's informations in standard output
Buom01 Mar 20, 2020
ace3036
Correcly close haptic and track rumble effect support
Buom01 Mar 20, 2020
00f5277
Remove the mention Sell your old weapons first since there are autosell
Buom01 Mar 20, 2020
b732cd9
Expose IN_HapticFeedback
Buom01 Mar 20, 2020
3fcbbae
Minor text fix
Buom01 Mar 20, 2020
b5c4f1b
Restore kind of old fashion text shadow (rebased)
Buom01 Mar 20, 2020
3b796f2
Reset axis when opening UI, once only
Buom01 Mar 20, 2020
fffcf6d
Fix keyname
Buom01 Mar 21, 2020
dd3070b
Two layer emoticon + support for wildcard (rebased)
Buom01 Mar 21, 2020
815b50e
Increase emoticon limit and its name limit
Buom01 Mar 21, 2020
b065f59
Review binds emoticon
Buom01 Mar 21, 2020
f19b0af
Add most controller binds
Buom01 Mar 21, 2020
bedec76
Review joysticks icons
Buom01 Mar 21, 2020
f654ab2
Some emoticon parser fixes
Buom01 Mar 21, 2020
5259bf6
Warn about a cosmetic bug
Buom01 Mar 21, 2020
acfcb88
Finish gamepad icon
Buom01 Mar 21, 2020
41b599b
Add color to votes binds
Buom01 Mar 21, 2020
3506d18
Multiple tutorial mode (gamepad/mouse/auto)
Buom01 Mar 21, 2020
0f7db1f
Feedback intensity
Buom01 Mar 21, 2020
5faec66
Revert tutorial mode X position
Buom01 Mar 21, 2020
0ce0366
Revert from Printf to DPrintf, exept for war/error
Buom01 Mar 21, 2020
d11c528
Set default gamepad binds
Buom01 Mar 21, 2020
ca021e8
Remove default binds since there are in default.cfg (rebased)
Buom01 Mar 21, 2020
3bdf1d2
Various improvement on gamepad and its feedback
Buom01 Mar 22, 2020
056b56d
Refactor gamepad / joystick
Buom01 Mar 23, 2020
70ed705
Review Joystick / Haptic feedback UI (rebased)
Buom01 Mar 23, 2020
9ed7aea
Review RUNNING flag and make joysticks working in a logical manner
Buom01 Mar 23, 2020
96ebe46
Add gamepad icon
Buom01 Mar 23, 2020
c007944
Provide movements threshold graph (rebased)
Buom01 Mar 23, 2020
0f443f3
Retweak double layer emoticon and tutorial mode
Buom01 Mar 23, 2020
b1c651e
Fix some tutorial bugs
Buom01 Mar 23, 2020
3c8cf77
Ammo show first
Buom01 Mar 24, 2020
f4679be
in game haptic feedback (working draft)
Buom01 Mar 25, 2020
a637f11
Minor rewrite
Buom01 Mar 25, 2020
b674317
Fix noscrollbar property (which autohide scrollbar) and auto gray out…
Buom01 Mar 28, 2020
ecc58c5
Revert already defined W variable
Buom01 Mar 28, 2020
095369a
IsDown -> IsKeyDown
Buom01 Mar 28, 2020
f3f2bfb
Slider are now easier to use with mouse
Buom01 Mar 28, 2020
174193d
Solve minor string issues which can create buffer overflow
Buom01 Mar 28, 2020
2133f41
IsDown -> IsKeyDown
Buom01 Mar 29, 2020
c6d1f05
Back button will close submenus first
Buom01 Mar 29, 2020
f911ba9
Refactor arrow navigation
Buom01 Mar 30, 2020
373ca12
Map preview are decorations
Buom01 Mar 30, 2020
edb67fa
Lists don't catch arrows navigation when cursor is at begin/end of list
Buom01 Mar 30, 2020
a9acc9b
Fix indent
Buom01 Mar 30, 2020
52e9a17
Support gamepad key repeat in UI
Buom01 Mar 30, 2020
e444e8b
Minor rewrite
Buom01 Mar 30, 2020
a3921d3
Fix escape behaviour if there are no submenu
Buom01 Mar 31, 2020
841a48d
Weapons feedbacks
Buom01 Mar 31, 2020
96c2152
Minor fix
Buom01 Apr 1, 2020
329d0df
Fix textfields (rebased)
Buom01 Apr 1, 2020
bc7d326
Various fixes
Buom01 Apr 1, 2020
eb5070f
Make use of new color + add team color + minor patch
Buom01 Apr 2, 2020
b3438cc
Minor fix
Buom01 Apr 2, 2020
62ed00e
Finish feedbacks
Buom01 Apr 3, 2020
8f76a1f
Finish feedbacks (2/2)
Buom01 Apr 3, 2020
d147d99
Solve random Joystick segfault on disconnect
Buom01 Apr 5, 2020
2594ab8
Polishing Analogical as Logical behaviour
Buom01 Apr 27, 2020
6f3b24b
Repair and bulk commit 2 (rebased)
Buom01 Mar 20, 2020
10087d4
Restore kind of old fashion text shadow (rebased)
Buom01 Mar 20, 2020
a03d560
Two layer emoticon + support for wildcard (rebased)
Buom01 Mar 21, 2020
841534b
Review Joystick / Haptic feedback UI (rebased)
Buom01 Mar 23, 2020
6c54fe0
Make fonts generations works
Buom01 Mar 25, 2020
2bbc190
Tweak default font rendering options
Buom01 Mar 25, 2020
64a72d4
Don't calculate the witdh of the \0 char anymore...
Buom01 Mar 26, 2020
719c9bc
Review fonts system and fonts (rebased)
Buom01 Mar 27, 2020
b9ab883
Add fonts licenses (rebased)
Buom01 Mar 27, 2020
7d0330e
Real fonts shadows (rebased)
Buom01 Mar 28, 2020
903e4ff
Fix font shadow opacity
Buom01 Mar 28, 2020
fdc9d81
Resize teamscore column
Buom01 Mar 31, 2020
5dbd40d
Solve git's rebase bullshit
Buom01 Apr 3, 2020
485a415
Disable forceColor's opacity on 2-layers emoticon
Buom01 Apr 3, 2020
43ed78d
Remove double def
Buom01 Apr 4, 2020
c408f86
Allow choosing font shadow (rebased)
Buom01 Apr 5, 2020
8bf33d2
Add UI background blur effect
Buom01 Apr 5, 2020
771cb99
Revert blur
Buom01 Apr 6, 2020
d0672b6
Review tutorial mode
Buom01 Apr 6, 2020
0100432
Fix two layers emoticons color + tutorial mode
Buom01 Apr 6, 2020
8f564d3
Change aliens color
Buom01 Apr 6, 2020
ed2fd86
Use fonts instead of big number + try to protect non char printing
Buom01 Apr 7, 2020
4d06898
Fix bucket system on current branch
Buom01 Apr 7, 2020
ff08927
Minor fix
Buom01 Apr 7, 2020
e705f05
Fix bucket system on current branch
Buom01 Apr 7, 2020
ae86fcb
Solve lists hovering without focus
Buom01 Apr 7, 2020
fb28404
Minor rewrite on infopane models
Buom01 Apr 7, 2020
b25ff83
Review UI's fonts syntax for compatibility
Buom01 May 3, 2020
f23a534
Solve font compatibility issues
Buom01 Sep 4, 2020
d39587b
Fix shadow position
Buom01 Sep 16, 2020
1451c06
Review CG_DrawField
Buom01 Oct 4, 2020
de68c56
Emoticon's shadows
Buom01 Oct 4, 2020
93e4ede
Add a quick documentation
Buom01 Oct 6, 2020
6321fd9
Add extreme sudden death
Buom01 Oct 7, 2020
81da861
Restore chat balloon + fix 'class' typo
Buom01 Oct 7, 2020
10f439a
Tweak sprite offset
Buom01 Oct 7, 2020
bb6ea65
Anti spawn block
Buom01 Oct 8, 2020
382c845
Add /cpa and /warn
Buom01 Oct 8, 2020
f896f43
Add /info
Buom01 Oct 8, 2020
443c70e
Considere strict equality with ESD
Buom01 Oct 9, 2020
9e45323
Notify team if a teammate attack RC/OM
Buom01 Oct 9, 2020
e42f2c7
Allow to change vote, and print it to the player
Buom01 Oct 9, 2020
9020825
Allow helmet and bsuit to protect against poison according to g_poiso…
Buom01 Oct 10, 2020
19bc213
Fast loading map is next is same as current
Buom01 Oct 10, 2020
260c734
Don't show stage 'evolution' if it regress
Buom01 Oct 10, 2020
d626159
Trap callvote map <samemap> as map_restart
Buom01 Oct 10, 2020
a2a94dd
Review chat teams colors
Buom01 Oct 10, 2020
c0c2338
Drop weapon on death (with fallback)
Buom01 Oct 10, 2020
371da6f
Tweak corpses
Buom01 Oct 10, 2020
d1e3c0e
Allow to disable weapons drop
Buom01 Oct 10, 2020
b5cfa68
FIX: Don't show teams status if disabled
Buom01 Oct 10, 2020
ae8cfe0
Allow teams status to be disabled
Buom01 Oct 10, 2020
2869976
configurable spectator noclip + minor fix
Buom01 Oct 10, 2020
10e0608
Add share and donnate commands
Buom01 Oct 12, 2020
f839efe
Emergency fix to avoid Stack Overflow on windows. Console is now real…
Buom01 Oct 16, 2020
aa292d2
Respect MODULE_INTERFACE_11
Buom01 Oct 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,21 @@ assets/ui/main_menu_music/Black_mistUntiteled_3.ogg:

assets/ui/main_menu_music/Granger_Foley_v1.ogg:
by Akane licensed CC-BY-SA-2.5

assets/fonts/font:
Teko (Regular) by Indian Type Foundry licensed under the Open Font License.

assets/fonts/smallfont:
Teko (Light) by Indian Type Foundry licensed under the Open Font License.

assets/fonts/bigfont:
Electrolize (Regular) by Gaslight licensed under the Open Font License.

assets/fonts/chat:
Rajdhani (Medium) by Indian Type Foundry licensed under the Open Font License.

assets/fonts/alien:
Audiowide (Regular) by Astigmatic licensed under the Open Font License.

assets/fonts/human:
Orbitron (Regular) by Matt McInerney licensed under the Open Font License.
21 changes: 12 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ ifeq ($(PLATFORM),darwin)
OPTIMIZEVM=
#CXXFLAGS+=-stdlib=libc++

# FIXME This is probably bad idea to comment this out
# FIXME This is probably bad idea to comment this out
#BASE_CFLAGS += -mmacosx-version-min=10.7 -DMAC_OS_X_VERSION_MIN_REQUIRED=1070

GRANGER_LIBS = -framework Cocoa -framework Security
Expand Down Expand Up @@ -522,7 +522,7 @@ ifeq ($(PLATFORM),darwin)
SHLIBCFLAGS=-fPIC -fno-common
#SHLIBLDFLAGS=-dynamiclib $(LDFLAGS) -Wl,-U,_com_altivec
SHLIBLDFLAGS=-dynamiclib -Wl,-U,_com_altivec

NOTSHLIBCFLAGS=-mdynamic-no-pic

else # ifeq darwin
Expand Down Expand Up @@ -604,7 +604,7 @@ ifdef MINGW
CLIENT_LDFLAGS += $(OPENAL_LDFLAGS)
endif
ifeq ($(USE_LOCAL_HEADERS),1)
CLIENT_CFLAGS += -I$(ALHDIR)
CLIENT_CFLAGS += -I$(ALHDIR)
endif
endif

Expand Down Expand Up @@ -1470,7 +1470,7 @@ ifeq ($(ARCH),x86)
endif
endif

GRANGER_CFLAGS += $(ARCHFLAG) -fPIC -fpic $(LUACFLAGS)
GRANGER_CFLAGS += $(ARCHFLAG) -fPIC -fpic $(LUACFLAGS)

ifeq ($(PLATFORM),darwin)
GRANGER_CFLAGS += -DLUA_USE_MACOSX
Expand Down Expand Up @@ -1556,7 +1556,7 @@ endef
$(Q)$(call EXEC_CC,-std=gnu99 -DGRANGER ${GRANGER_CFLAGS} ${OPTIMIZE},'$@','$<')
$(Q)$(call LOG_CC,granger,-std=gnu99 ${GRANGER_CFLAGS} ${OPTIMIZE},$@,$<)
endef

$(B)/granger.dir/src/lua/%.o: $(LUADIR)/%.c
$(DO_GRANGER_CC)

Expand All @@ -1574,7 +1574,7 @@ $(B)/granger.dir/src/%.o: $(GRANGERDIR)/%.cpp

$(B)/granger$(FULLBINEXT): $(GRANGEROBJ)
$(echo_cmd) "LD $@"
$(Q)$(CC) $(LDFLAGS) -o $@ $(GRANGEROBJ) $(GRANGER_LIBS)
$(Q)$(CC) $(LDFLAGS) -o $@ $(GRANGEROBJ) $(GRANGER_LIBS)

ifneq ($(BUILD_GRANGER),0)
TARGETS += $(B)/granger$(FULLBINEXT)
Expand Down Expand Up @@ -1734,7 +1734,7 @@ $(B)/nettle/%.o: $(NETTLEDIR)/nettle/%.c
$(DO_NETTLE_CC)

#############################################################################
# Semver
# Semver
#############################################################################

SEMVERCFLAGS=$(ARCHFLAG) -fPIC -fpic -I$(SEMVERDIR)/src/include
Expand Down Expand Up @@ -1773,6 +1773,7 @@ Q3OBJ = \
$(B)/client/cl_scrn.o \
$(B)/client/cl_ui.o \
$(B)/client/cl_updates.o \
$(B)/client/cl_feedback.o \
$(B)/client/cl_rest.o \
$(B)/client/cl_avi.o \
\
Expand Down Expand Up @@ -2274,7 +2275,7 @@ ifneq ($(USE_RENDERER_DLOPEN),0)
$(B)/$(CLIENTBIN)$(FULLBINEXT): $(Q3OBJ) $(LIBSDLMAIN)
$(echo_cmd) "LD $@"
$(Q)$(CXX) -std=c++1y $(CXXFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) $(Q3OBJ) \
$(LIBSDLMAIN) $(CLIENT_LIBS) $(LIBS) -o $@
$(LIBSDLMAIN) $(CLIENT_LIBS) $(LIBS) -o $@

$(B)/renderer_opengl1$(SHLIBNAME): $(Q3ROBJ) $(JPGOBJ)
$(echo_cmd) "LD $@"
Expand Down Expand Up @@ -2447,6 +2448,7 @@ CGOBJ_ = \
$(B)/$(BASEGAME)/cgame/cg_particles.o \
$(B)/$(BASEGAME)/cgame/cg_tutorial.o \
$(B)/$(BASEGAME)/cgame/cg_rangemarker.o \
$(B)/$(BASEGAME)/cgame/cg_feedback.o \
$(B)/$(BASEGAME)/cgame/ui_shared.o \
\
$(B)/$(BASEGAME)/qcommon/q_math.o \
Expand Down Expand Up @@ -2497,6 +2499,7 @@ CGOBJ11_ = \
$(B)/$(BASEGAME)/cgame/cg_particles.o \
$(B)/$(BASEGAME)/cgame/cg_tutorial.o \
$(B)/$(BASEGAME)/cgame/cg_rangemarker.o \
$(B)/$(BASEGAME)/cgame/cg_feedback.o \
$(B)/$(BASEGAME)/cgame/ui_shared.o \
\
$(B)/$(BASEGAME)/qcommon/q_math.o \
Expand Down Expand Up @@ -2618,7 +2621,7 @@ $(B)/$(BASEGAME)_11/vm/ui.qvm: $(UIVMOBJ11) $(UIDIR)/ui_syscalls_11.asm $(Q3ASM)
$(B)/$(BASEGAME)/vms-gpp-$(VERSION).pk3: $(B)/$(BASEGAME)/vm/ui.qvm $(B)/$(BASEGAME)/vm/cgame.qvm $(B)/$(BASEGAME)/vm/game.qvm
@(cd $(B)/$(BASEGAME) && zip -r vms-$(VERSION).pk3 vm/)

$(B)/$(BASEGAME)_11/vms-1.1.0-$(VERSION).pk3: $(B)/$(BASEGAME)_11/vm/ui.qvm $(B)/$(BASEGAME)_11/vm/cgame.qvm
$(B)/$(BASEGAME)_11/vms-1.1.0-$(VERSION).pk3: $(B)/$(BASEGAME)_11/vm/ui.qvm $(B)/$(BASEGAME)_11/vm/cgame.qvm
@(cd $(B)/$(BASEGAME)_11 && zip -r vms-$(VERSION).pk3 vm/)


Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/builder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 20 20 20
deadMins -20 -20 -4
deadMaxs 20 20 4
zOffset 0.0
spriteOffset -8.0

viewheight 0
crouchViewheight 0
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/builderupg.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 20 20 20
deadMins -20 -20 -4
deadMaxs 20 20 4
zOffset 0.0
spriteOffset -8.0

viewheight 0
crouchViewheight 0
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/human_base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 15 15 16
deadMins -15 -15 -4
deadMaxs 15 15 4
zOffset -2.0
spriteOffset 6.0

viewheight 24
crouchViewheight 7
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/human_bsuit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 15 15 38
deadMins -15 -15 -4
deadMaxs 15 15 4
zOffset -16.0
spriteOffset 8.0

viewheight 29
crouchViewheight 29
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level0.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 15 15 15
deadMins -15 -15 -15
deadMaxs 15 15 15
zOffset -5.0
spriteOffset 0.0

viewheight 0
crouchViewheight 0
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 18 18 18
deadMins -18 -18 -4
deadMaxs 18 18 4
zOffset 0.0
spriteOffset 0.0

viewheight 0
crouchViewheight 0
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level1upg.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 21 21 21
deadMins -21 -21 -4.666
deadMaxs 21 21 4.666
zOffset 0.0
spriteOffset 0.0

viewheight 0
crouchViewheight 0
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 23 23 14
deadMins -23 -23 -4
deadMaxs 23 23 4
zOffset 0.0
spriteOffset 0.0

viewheight 8
crouchViewheight 8
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level2upg.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 25 25 16
deadMins -25 -25 -4
deadMaxs 25 25 4
zOffset 0.0
spriteOffset 0.0

viewheight 10
crouchViewheight 10
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 26 26 32
deadMins -26 -26 -4
deadMaxs 26 26 4
zOffset 0.0
spriteOffset 8.0

viewheight 24
crouchViewheight 24
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level3upg.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 29 29 38
deadMins -29 -29 -4
deadMaxs 29 29 4
zOffset 0.0
spriteOffset 8.0

viewheight 27
crouchViewheight 27
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/level4.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 32 32 70
deadMins -32 -32 -34
deadMaxs 32 32 34
zOffset 0.0
spriteOffset 32.0

viewheight 64
crouchViewheight 64
Expand Down
1 change: 1 addition & 0 deletions assets/configs/classes/spectator.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ crouchMaxs 15 15 15
deadMins -15 -15 -15
deadMaxs 15 15 15
zOffset 0.0
spriteOffset 0.0

viewheight 0
crouchViewheight 0
Expand Down
Loading