193 Commits

Author SHA1 Message Date
yvt
a9561991c3
Add savemap console command 2019-07-14 22:29:15 +09:00
yvt
d6f5370581
Add the console window (WIP) 2019-07-14 01:38:28 +09:00
yvt
b02ad53109 Add View::RunFrameLate
`IRenderer::{FrameDone, Flip}` are now called in `RunFrameLate` instead.
This makes it possible to create a `View` wrapping another `View` to
insert a new 2D drawing pass, which is necessary to render the system
console.
2019-07-14 00:29:36 +09:00
teodor6140
ab9521c6ff Some changes
Yellow cursor no longer visible, only shows at the ends of an !active block line
Normal block cursor is the one with the corners only
Solid frame cursor is used when making a line, the corners-only one doesn't look good on lines
2019-05-24 21:10:52 +03:00
teodor6140
2e3a433dab Use model for block cursor 2019-05-24 17:28:38 +03:00
yvt
cf2ecb4342
Apply temporal smoothing on the progress bar 2019-05-19 17:20:50 +09:00
yvt
585cbfce1c Improve random number generation
The global RNG state is now protected from simultaneous accesses by
employing a mutex.

Performance sensitive code requiring generation of a large number of
random numbers can utilize `LocalRNG`. This is not thread-safe but
provides a much greater throughput. `LocalRNG` is seeded by the global
RNG only at construction time.
2018-09-17 23:48:38 +09:00
yvt
35bcea5110 Indicate that you carry the intel
Fixes #601.
2017-12-30 23:47:47 +09:00
yvt
336d476e8d Attempt to enable follow cam when no one's there no longer leaves you in an invalid state 2017-12-29 20:34:31 +09:00
yvt
a8dbe92423 Rename a config variable to follow the naming convention 2017-12-29 20:17:43 +09:00
yvt
660066fc2f Rewrite the camera control logic
- Fixes #664
- Fixes #520
2017-12-05 15:42:24 +09:00
David Carlier
4864f07937 Reducing some compilation warnings. 2017-11-18 21:15:07 +00:00
NotAFile
266d141e04 First person enhancements (#656)
* only switch first-person mode while spectating

closes #655

* use first person view for first-person spectating

* don't spectate specators; refactor
2017-09-17 14:15:06 +09:00
NotAFile
bfe62a0a2c Skip dead players when spectating between spawns (#653)
* Skip dead players when spectating between spawns

This makes e.g. spectating the last player alive in arena easier

* Add skip dead players config option
2017-09-08 01:39:22 +09:00
notafile
1578bdf157 add ability to push messages to CenterMessageView 2017-09-04 00:36:22 +02:00
yvt
23231dd2a4 Fix some crashes 2017-02-22 08:19:14 +09:00
yvt
f52f840256 Add translator comments 2017-02-11 16:38:24 +09:00
David Carlier
c282f0bf72 While loading a map, a tack overflow is triggered either
in NetLog or LogMessage so here we put some limit to
the buffer.
2017-01-14 18:20:53 +00:00
yvt
ac33a21a08 Fix #158 2017-01-08 19:03:09 +09:00
yvt
a7b9909b2e Refactoring 2017-01-05 03:03:39 +09:00
yvt
2ecbd554b4 Support Ogg Opus audio files (.opus) on macOS 2016-12-18 00:45:17 +09:00
yvt
d505bfae91 Expose “FontManager” to the scripting environment 2016-12-16 05:05:23 +09:00
YVT
2d0ae3b817 FreeType2 font renderer (#484)
* Backport ngspades’s FreeType2 font renderer

* Change system fonts

* Fix SWImage::Update

* Preliminary custom TTF/OTF font support

* Fix font rendering

* Adjust design

* Update devpak

* Fix to compile on Linux

* Update .travis.yml

* Update external libraries

* Update .travis.yml

* Attempt to fix Travis CI build

* Add missing sudo to travis.yml

* Nevermind the changes, it didn't work

* Update .travis.yml

* Update .travis.yml and CMakeLists.txt
2016-12-11 23:18:16 +09:00
Tomoaki Kawada
e1d6e84a96 Initialize grenadeVibrationSlow 2016-12-04 01:05:06 +09:00
Tomoaki Kawada
2eb9e35c65 Apply clang-format to all non-external source files 2016-12-03 18:23:47 +09:00
VelocityRa
30d133ce31 Use better random generator 2016-11-22 23:08:35 +02:00
Tomoaki Kawada
6a7af96daf Refactor setting variables 2016-11-19 21:27:13 +09:00
Tomoaki Kawada
787c89f0b1 Merge remote-tracking branch 'origin/master' into fix-up 2016-11-06 20:42:42 +09:00
L0L022
8dc0a1de1b Add mumble support 2016-08-03 17:08:45 +02:00
Tomoaki Kawada
3f7fcee586 Reorganise resource files 2016-07-16 00:14:59 +09:00
Tomoaki Kawada
89748d6bc6 Reduced compiler warnings 2016-07-15 19:40:05 +09:00
Bridger Maskrey
70f15430cd Server Disconnect Screen
Sources/Client/Client.cpp:
  + Added call to Client::DrawDisconnectScreen() in client destructor

Sources/Client/Client.h:
  + Added new prototype Client::DrawDisconnectScreen()

Sources/Client/Client_Draw.cpp:
  + Added function declaration for Client::DrawDisconnectScreen()
  * New Localization Introduced: "Client":"Disconnecting..."

Resources/de/openspades.po:
  + Added rudimentary German translation for "Client":"Disconnecting..."

Resources/ja/openspades.po:
  + Added rudimentary Japanese translation for "Client":"Disconnecting..."

Resources/ko/openspades.po:
  + Added rudimentary Korean translation for "Client":"Disconnecting..."

Resources/pl_PL/pl_PL:
  + Added rudimentary Polish translation for "Client":"Disconnecting..."

Resources/pot/openspades.pot:
  + Added translation entry for "Client":"Disconnecting..."

Resources/ru/openspades.po:
  + Added rudimentary Russian translation for "Client":"Disconnecting..."
2016-01-09 21:42:44 -05:00
yvt
40f8be07c0 Realistic camera focal control mode
Set `cg_manualFocus` to `1` to use it. By default, mouse wheel adjusts the focal length, and pressing mouse wheel button enables auto-focus.
2015-06-20 17:10:26 +09:00
yvt
66627a4de2 Support for third person view and so on. 2015-01-23 18:26:00 +09:00
yvt
063efdde63 Additional smoke textures looking like explosion 2014-05-08 02:41:10 +09:00
yvt
d856bcadaa Reduce compiler warnings 2014-04-06 22:42:17 +09:00
yvt
817ce53c23 Statistics (fix #202) 2014-03-31 23:09:47 +09:00
yvt
27da8c5ffb Add include (#214) 2014-03-24 23:50:07 +09:00
yvt
11a6e9d802 Update sounds 2014-03-22 01:37:14 +09:00
yvt
fee4b486b6 #168 2014-03-13 01:44:58 +09:00
yvt
25b8a2f53d More wade SFXs 2014-03-12 04:04:07 +09:00
yvt
a57213d5d3 Merge remote-tracking branch 'origin/master' 2014-03-11 04:09:07 +09:00
yvt
cf8d4f3cb0 Alerts 2014-03-11 03:42:04 +09:00
Marco Schlumpp
87713bf1af Added varargs header. 2014-03-09 19:25:08 +01:00
yvt
a600236b76 Merge branch 'master' of https://github.com/learn-more/openspades into learn-more-master
Conflicts:
	Sources/Client/Client.cpp
2014-03-09 23:16:20 +09:00
learn_more
d1f4250b10 fix some windows build issues
Fixes #169 by ignoring the activation key.
2014-03-09 14:32:45 +01:00
yvt
2599d14900 Refactor 2014-03-09 21:43:38 +09:00
yvt
77fccf390a Merge pull request #151 from noway421/patch-1
Realy fixed spectator mouse now
2014-03-08 15:42:31 +09:00
yvt
3003e83fcb Fixed serious bug that switching players in spectating mode might cause program to enter an infinite loop 2014-03-08 04:24:27 +09:00
yvt
e63379bbdd Player cannot use tools soon after sprinting 2014-03-08 02:18:34 +09:00