Commit graph

980 commits

Author SHA1 Message Date
oy f59f3090ac added start parameter to use the default configuration 2015-02-18 14:15:31 +01:00
oy 6506cf4ddf fixed last commit, generalized config saving and path check 2015-02-18 14:04:26 +01:00
Rudi c77518d2e1 Introduced str_safe_as_pathname that just checks string before using them as path to save to, returns error otherwise. Check is performed before saving server conf, recordings and ban list. 2015-02-18 13:21:55 +01:00
Rudi b3321e506c Sanitizing the path to which we save server configurations, and also demo files 2015-02-18 13:21:54 +01:00
Rudi d38af947a1 Introduced optional name for save_conf, sanitized file name? 2015-02-18 13:21:54 +01:00
Rudi b3c51c33bb Adding the command save_conf that allows to save current server configuration to a file 2015-02-18 13:21:53 +01:00
oy c3bce45120 added dilate texture fix by matricks 2015-02-18 13:05:16 +01:00
BeaR 291cdde544 Fix crc32 initial value 2015-01-28 14:41:33 +01:00
oy 2950804cfb fixed a warning 2015-01-26 16:21:40 +01:00
oy 77daedc814 fixed last commit and removed some outdated stuff 2015-01-24 18:40:49 +01:00
BeaR a2cb7d339a Mark some return values as const 2015-01-24 18:19:38 +01:00
BeaR a929a99fd9 Refactoring: Mark several functions as 'const', fix some return values and cleanup mapinfo struct 2015-01-24 18:19:24 +01:00
oy 74dfee1aee some cleanup 2015-01-24 18:07:03 +01:00
oy 8ac9ec794e moved content and added data creation to the build 2015-01-18 18:44:11 +01:00
oy dc827fa460 fixed quick rejoin check for localhosts. Closes #1140 2015-01-18 16:37:46 +01:00
Learath be1adf7e51 Scale was always 0 causing Kerning not to be applied 2014-12-21 19:05:59 +01:00
oy 75222892be cleaned up few things 2014-12-21 18:57:30 +01:00
BeaR d1ee52c372 Implement stricter panning(audio), make pan depending on screen width and remove useless channel pan value 2014-12-21 18:48:44 +01:00
BeaR b34e455e4c Allow to set different wrapmodes for each texcoord and soften texture clamping restrictions for quads 2014-12-21 12:52:28 +01:00
Sebastian Wick 2232a73d37 fix remaining bad include 2014-07-03 13:14:14 +02:00
Sebastian Wick 549e37537f remove dead code, fix Mac OSX build, fix includes 2014-07-02 23:12:49 +02:00
Sebastian Wick dac1c65ba5 call SDL_GL_SetSwapInterval after context creation 2014-07-02 18:56:00 +02:00
Sebastian Wick 013e19e497 windows fixes 2014-06-30 21:31:47 +02:00
Sebastian Wick 43a45cd2fa remove InpGrab config, eliminate dead code, fix glu include for Mac 2014-06-30 13:52:42 +02:00
Sebastian Wick f1272f6eb3 fix windows build, remove unnecessary include, more precise error message 2014-06-29 22:09:03 +02:00
Sebastian Wick 4a1733424b fix mouse lag 2014-06-29 21:56:13 +02:00
Sebastian Wick dcd4f9ae7a moving to sdl2, mouse input lags; do not use! 2014-06-29 21:02:09 +02:00
Sebastian Wick 4d0e80e22b moving to sdl2, input still broken; do not use! 2014-06-29 20:22:19 +02:00
Sebastian Wick 8e8b1516e2 moving to sdl2, input is broken, build is broken; do not use 2014-06-29 19:07:46 +02:00
BeaR b99e4304ed Cleanup: Fix code format, remove hardcoded value and add some documentation 2014-06-24 13:19:52 +02:00
oy 68c58d1aae Merge pull request #1148 from ghost91-/menumusic
snd_enable_musicnow controlls menu music.
2014-05-11 17:49:20 +02:00
Mohammad H. Hemeda 82f8b4bbdb Fixed some typos 2014-04-30 05:18:57 +03:00
ghost91- 242ac2233a snd_enable_musicnow controlls menu music.
don't poll on music toggeling
2014-04-16 14:27:53 +02:00
oy 191feb618f fixed compiler warnings 2014-02-27 19:52:41 +01:00
oy 030443e55a Merge pull request #1138 from KillaBilla/servernamecleanup
Remove consecutive spaces in servername
2014-02-27 19:14:40 +01:00
oy eb0a2dfd11 Merge pull request #1117 from just-another-one-timmy/master
Fixed spelling in src/engine/docs/snapshots.txt
2014-02-27 18:29:38 +01:00
oy 752a38ccfe consider the max 3d texture size on possible texture re-sampling 2014-02-22 18:58:17 +01:00
oy 9e67ac0b9e fixed displaying invalid textures 2014-02-22 18:36:33 +01:00
oy b668f7faab some cleanup 2014-02-18 18:02:42 +01:00
oy c66f646ae6 fixed using an image in quad and tile layer 2014-02-16 22:09:59 +01:00
oy 7a6e10d87b fixed non-quality textures 2014-02-16 16:47:34 +01:00
oy 5890072809 fixed 3dtexture usage on windows 2014-02-10 19:06:22 +01:00
Magnus Auvinen 85f216d968 Fixed so that the tileborderfix tool isn't needed anymore. Solve the issue by using a 3d texture instead 2014-02-10 18:53:47 +01:00
oy 41b41ec451 fixed some warnings 2014-02-09 17:59:08 +01:00
oy c598e87ebe fixed a server crash due to faulty offsets. #1173 2014-02-09 16:54:09 +01:00
oy 1e1befc3ec Merge pull request #1163 from Tolsi/master
Adding 9th mouse button support
2013-11-25 11:25:38 -08:00
oy d2379124d5 improved chat msg spam protection 2013-11-25 20:06:19 +01:00
oy 08d0af36c2 increased minimum required connect time for clients to 1 second. #1070 2013-11-25 19:57:40 +01:00
PsychoGod 40cdbf6c6a window center position when windowed on Windows :3 2013-11-25 19:51:28 +01:00
oy 4e14dedd80 prevent quick join/quit flood. #1070 2013-11-25 19:27:57 +01:00
Sergey Tolmachev d26039cc84 9th mouse key and its code was added 2013-10-29 01:52:23 +03:00
Sergey Tolmachev e2727c8e1e Adding support 9th mouse key 2013-10-29 01:50:47 +03:00
Sergey Tolmachev e06a57d437 9th mouse key name was added 2013-10-29 01:49:40 +03:00
oy 30e6e0877b fixed master server lookup for servers. #1047 2013-09-25 15:03:28 +02:00
KillaBilla a9cc1e8de2 remove leading and trailing space from server name and forbit the use of multiple spaces 2013-09-04 16:47:24 +02:00
Iaroslav Tymchenko d62eb8b637 Fixed spelling in src/engine/docs/snapshots.txt 2013-07-23 17:02:31 +03:00
oy 22c14e9347 Made client/server check for correct map version on load. #1100 2013-06-01 15:26:22 +02:00
BeaR c42666cd3c Using MemoryBarrier() for CPUs not supporting SSE2 2013-04-03 11:44:06 +02:00
oy 109e122f4f show reason for closing a connection within a debug message. Closes #1061 2013-02-20 16:49:21 +01:00
oy d8a7eb6863 increased sleep time when tw is minimized and made it adjustable via cputhrottle otherwise 2013-02-20 15:51:46 +01:00
oy 3329c549e6 fixed couple of warnings 2012-12-20 16:30:16 +01:00
oy 61b515f9be added missing json parser files 2012-12-17 18:50:06 +01:00
oy b7dbf5431e close workerthreads on shutdown 2012-12-17 00:43:31 +01:00
Choupom 3048ebe3c5 fixed some compiler warnings 2012-12-15 16:33:37 +01:00
oy b8e3120c0d disabled the map checker for now 2012-12-15 16:31:48 +01:00
oy c81722f9e3 removed some unused stuff 2012-12-15 16:24:00 +01:00
oy 8a3de3fe28 fixed client clean up 2012-12-09 16:59:27 +01:00
oy 4214b576e9 fixed last commit 2012-12-09 15:55:01 +01:00
BeaR 66579083fa Small aesthetical changes 2012-12-09 15:52:31 +01:00
oy 090867fa0d fixed last commit 2012-11-13 21:37:46 +01:00
BeaR 591b6a2f62 Bug: Losing render-commands if commandbuffer is full(gfx)
Problem:
If there is a new draw call, it is checked if there is enough free memory for the vertices in the databuffer but not if we have enough free space in the commandbuffer to add the command
So we lose some commands during a frame cuz the commandbuffer is full

This fixes the 2nd part of issue 1004
2012-11-13 21:33:16 +01:00
oy 082ee5c474 Merge branch 'master' of https://github.com/SushiTee/teeworlds 2012-11-03 17:52:39 +01:00
BeaR 70a648899d Some graphic batching:
Speed up for displaying debugtext and envelopepreview
(This reduces the performance hit especially for the 'Show Info' mode in the editor)
2012-10-21 13:55:26 +02:00
SushiTee 20cfbfe3a7 Merge branch 'master' of git://github.com/teeworlds/teeworlds
Conflicts:
	src/game/client/components/menus_ingame.cpp
2012-10-09 13:08:01 +02:00
SushiTee c74637ae6d began to rewrite server browser and ingame menu 2012-10-09 12:44:47 +02:00
oy e29ced0741 fixed some compiler warnings and a line ending 2012-10-09 00:11:13 +02:00
oy 078390522e Merge branch 'master' of https://github.com/SushiTee/teeworlds 2012-10-08 23:56:41 +02:00
oy 57e28e5c88 made favorites support hostnames. Closes #55 2012-10-07 23:56:37 +02:00
oy e2973652f7 added skill level to server info. #1000 2012-10-07 22:02:50 +02:00
oy c2cb73b87f made numbers in server info ints instead of strings 2012-10-07 21:56:38 +02:00
oy efc26acaaa set default value for asynchronous rendering to disabled for now. #1001 2012-10-07 11:35:39 +02:00
oy 81f3882976 removed old non threaded graphics backend 2012-10-07 11:31:23 +02:00
oy 500621ec47 readded texture resampling 2012-10-07 11:22:49 +02:00
oy e6a1f99681 fixed texture memory usage calculation in graphics threaded 2012-10-06 23:31:02 +02:00
oy 09cca41215 fixed last commit 2012-10-06 13:24:31 +02:00
BeaR 9071008a6f Missed a file.. 2012-10-06 13:20:50 +02:00
BeaR 056309ac5e Readded Texturecompression-support 2012-10-06 13:20:44 +02:00
Johannes Loher 5db997445a Fixed threaded gfx and building on Mac OS X 2012-08-26 20:02:04 +02:00
BeaR dcbcfd34c7 Fixes some errors in the GUI(messed up buttons ingame and "Internet" and wrong ServerlistScroll)
Also small cleanup in backend header
2012-08-21 18:53:57 +02:00
SushiTee d3f642a641 -removed color depth config variable
-updated fake list of resolutions
-make sure resolutions are sorted in menu
2012-08-18 17:51:47 +02:00
SushiTee e3da49eac3 Merge branch 'master' of git://github.com/teeworlds/teeworlds
Conflicts:
	src/engine/client/graphics_threaded.h
2012-08-18 15:39:23 +02:00
Magnus Auvinen 8ed246fa1c fixed all the errors that the clang static analayzer found 2012-08-17 18:32:56 +02:00
Magnus Auvinen 4e20a9e6c0 cleaned up warnings that clang spits out. some bugs found with it. 2012-08-17 00:03:53 +02:00
SushiTee 0b739d0404 Merge branch 'master' of git://github.com/teeworlds/teeworlds 2012-08-12 15:57:19 +02:00
Magnus Auvinen 563f1d0c52 removed the operator int() from IGraphics::CTextureHandle and ISound::CSampleHandle in order to catch more bugs 2012-08-12 14:02:50 +02:00
Magnus Auvinen dfcbe85488 introduced ISound::CSampleHandle to add more typesafty 2012-08-12 13:56:35 +02:00
Magnus Auvinen cb95e8dfe8 more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2012-08-12 12:41:50 +02:00
SushiTee 6b279c770f -remade settings->graphics menu
-added menu checkbox images
2012-08-11 23:51:46 +02:00
SushiTee b10931eb9d Merge branch 'master' of git://github.com/teeworlds/teeworlds 2012-08-11 16:28:12 +02:00
oy 25da0f4c52 fixed few things in pnglite 2012-08-11 11:51:01 +02:00