Commit graph

1041 commits

Author SHA1 Message Date
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
SushiTee a4e13330f6 Merge branch 'master' of git://github.com/teeworlds/teeworlds 2012-08-10 19:01:28 +02:00
oy 9023796d27 fixed faulty message id 2012-08-09 10:30:04 +02:00
SushiTee a631ed3be6 finished start menu 2012-08-09 02:13:16 +02:00
oy 525825c215 fixed some warnings with gcc 2012-08-03 19:28:15 +02:00
oy b1d28c5740 cleaned up updating the friend state 2012-08-03 18:46:33 +02:00
oy 8971497029 finished client enter/leave events, removed client changes 2012-08-03 18:46:25 +02:00
oy 280fdb34a4 fixed netobj corrections on gametstatetimer, ticks and fixed team in clientinfo 2012-08-03 18:46:10 +02:00
oy 78e18dc2cb Show user authlevel on status command. Closes #985 2012-07-29 12:17:16 +02:00
oy c28a45796b fixed asserts when sorting the server browser 2012-07-29 12:09:31 +02:00
oy c808d48f20 handle some network snapshot data as messages/events and add them locally for demo recording 2012-07-29 11:54:29 +02:00
oy 9ae4479dad cleaned up rcon auth messages 2012-07-21 20:00:01 +02:00
oy a9165cd7a0 removed no longer needed server dummy commands 2012-07-21 18:34:24 +02:00
oy a69a0c4f67 reduced some possible spam for the server 2012-07-19 12:18:12 +02:00
oy 5fdca5bf54 removed some unused save directories and abort when the save directory cannot be created 2012-07-19 11:49:03 +02:00
oy b69417f3aa let the demoplayer check for the correct net version (prevents crash) and show the reason within the error popup 2012-07-19 10:51:04 +02:00
Choupom e548308bbb merged skin system 2012-07-17 21:51:01 +02:00
SushiTee 4b57161752 -integrated popups into menu -made filter editable 2012-07-17 13:10:11 +02:00
SushiTee 8e09a80e22 - new browser icon - fixed overlay - colorizing ping 2012-07-17 12:55:47 +02:00
SushiTee 9bbfa8a943 more work on serverbrowser. selecting and scrolling works fine now 2012-07-17 12:09:15 +02:00
SushiTee 8a79f18805 continued working on server browser 2012-07-17 11:59:24 +02:00
SushiTee 80e7da8f63 made serverbrowser able to have more filters (TODO: redo it after the rendering of it is done) 2012-07-17 11:19:12 +02:00
SushiTee 4f9cd3bf14 changed way of loading the menu map (not save yet) 2012-07-15 18:35:47 +02:00
SushiTee 7d7d20cf8b added some configuration 2012-07-15 11:21:16 +02:00
SushiTee fcabed11b4 started writing map background in menu 2012-07-15 10:50:05 +02:00
oy b52144fef8 fixed missing messages when net connection closes 2012-07-08 18:37:32 +02:00
oy ecf99fbcb4 added some missing file handle closures 2012-07-08 12:03:42 +02:00
oy 0fcaa459ab limit characters within player names to ascii range to prevent utf8 impersonating 2012-07-08 11:40:23 +02:00
oy a7992085b8 cleaned up pure gametype/map check in the server browser and made pure gametypes 'more equal' 2012-07-07 18:35:08 +02:00
BeaR 8372849cba #913
Fix Input Handling
2012-07-07 11:30:04 +02:00
BeaR c155313165 -Insensitive ordering(Serverbrowser)
-Better shuffling and small deletion
2012-07-06 18:51:15 +02:00
heinrich5991 121f3b61b3 Removed useless enum 2012-06-27 11:47:31 +02:00
heinrich5991 75d97810bb Added borderless window functionality
This might become handy for users with multiple monitors,
	might resolve other issues aswell
2012-06-27 11:46:11 +02:00
oy c16c4ee4d9 fixed semaphore on macosx 2012-06-10 12:14:41 +02:00
oy ac8c9b464e removed a duplicate server register message. Closes #956 2012-04-22 13:43:02 +02:00
oy e5293620f4 fixed resetting the error string of a net connection. Closes #954 2012-04-21 18:20:41 +02:00
oy 6f79a0562b fixed wrapping problems when rendering console input 2012-04-21 00:23:48 +02:00
oy 8e293d0e63 fixed ban range check to make sure the whole ip matches and not just rely on the hash. Closes #946 2012-04-20 22:20:11 +02:00
oy ea876df455 prevent that the server uses close messages from clients. Closes #950 2012-04-20 21:39:49 +02:00
oy b8d8859cfc abort 'ban vote' when player was banned and 'move to spec' vote when player joins the spectators 2012-04-20 01:22:52 +02:00
oy bfbd6995e3 fixed download speed setting 2012-04-20 00:52:46 +02:00
oy 314978a87f fixed used nettype in server browser and try to use ipv4 and ipv6 socket when using a bindaddr. Closes #940 2012-03-04 12:47:16 +01:00
oy 9fee99b2f6 fixed registering of ban commands. Closes #942 2012-03-04 12:47:09 +01:00
oy d9c27c8426 reset rcon AuthTries on logout. Closes #941 2012-03-04 12:47:02 +01:00
oy 5253f2ffa1 auto adjust the screen resolution on first start. Closes #921 2012-03-04 12:46:55 +01:00
oy 525e7ad7d4 skip screenshot when window isn't active. Closes #931 2012-03-04 12:46:46 +01:00
oy c2e5771a15 improved map download. Closes #712 2012-03-04 12:46:32 +01:00
oy b0bf7115c9 added lms gametype, updated standard gametype check and made players keep their score between rounds 2012-02-15 01:40:34 +01:00
oy b32aff7d89 cleaned up few things 2012-02-15 01:39:07 +01:00
Teetime ec8dd34a5a fix for saving bans in a file 2012-02-13 23:22:40 +01:00
oy 27daa26b99 fixed stuck mouse cursor when loosing fullscreen focus on windows 2012-02-05 13:28:35 +01:00
oy 0c05b3bfa1 fixed compiling with vs2008 (#932) 2012-02-05 13:22:39 +01:00
fisted 00f580cb91 tell what port might be in use, if we cannot bind 2012-01-28 23:54:04 +01:00
east 28410c00a7 Econ bufferoverflow fix 2012-01-12 19:59:27 +01:00
oy fa81141110 added demo markers by Choupom. Closes #837 2012-01-10 23:13:19 +01:00
oy 590dbac239 put the game version constants all together in one file. Closes #870 2012-01-09 02:02:02 +01:00
oy 4073520214 cleaned up content folder creation. Closes #845 2012-01-09 01:38:45 +01:00
oy de8c9b23eb added command to toggle config values. Closes #888 2012-01-09 01:25:18 +01:00
oy 4fde2cf7f2 add tuning to demo. Closes #899 2012-01-09 00:49:20 +01:00
oy e960cbdff3 added a config to display the code string of a country flag instead of the image. Closes #897 2012-01-08 18:16:38 +01:00
oy 672b70e9b9 fixed some line endings 2012-01-08 13:57:40 +01:00
oy bafd22ebe7 show path in the editor file dialog. Closes #786 2012-01-08 13:14:02 +01:00
oy be37147342 fixed border rendering in the editor's image preview. Closes #908 2012-01-08 01:47:53 +01:00
oy 45302957f1 removed some unused zlib stuff. Closes #907 2012-01-07 23:50:47 +01:00
oy 2785293469 don't start playing the music again if we're quitting 2012-01-06 20:03:57 +01:00
oy 6ad6d59b6f fixed memory corruption with snd_buffer_size config 2012-01-06 19:27:18 +01:00
oy 29738552a6 made bindaddr config work for client and master too. Closes #909 2012-01-06 19:17:14 +01:00
oy 78bb0e3d8c fixed compiling for macosx 2012-01-06 16:35:48 +01:00
oy 71dd0c5aab made gfx_finish work again 2012-01-06 14:12:49 +01:00
oy 12f76e7f8d made the editor work again. Closes #914 2012-01-06 12:55:19 +01:00
oy f14c0e2359 fixed linking for older gcc versions 2012-01-04 01:19:54 +01:00
oy cc94472f04 fixed mac osx 2012-01-04 00:52:24 +01:00
oy 213b88835e fixed compiling on windows 2012-01-04 00:48:04 +01:00
oy 7328098f8d Merge pull request #912 from matricks/threadedflip
Threadedflip
2012-01-03 15:40:30 -08:00
Magnus Auvinen 7393151b6d fixed the osx opengl make current thingie.. I think... 2012-01-03 22:53:24 +01:00
Magnus Auvinen 666401e309 added osx implementation. not tested, not even compiled once. hope it works 2012-01-03 22:49:31 +01:00
Magnus Auvinen 2991f4071e fixed kicking of command buffer if it's full when rendering. fixed compile error on windows 2012-01-03 22:01:37 +01:00
Magnus Auvinen 50d872531a cleaned up the code. fixed so that SDL is inited on main thread and then transfers the gl context to the render thread 2012-01-03 21:39:10 +01:00
Magnus Auvinen c31c82a584 added support for video modes 2012-01-01 14:30:45 +01:00
Magnus Auvinen d7fe3ddaab fixed shutdown and screenshot functionallity 2012-01-01 14:15:35 +01:00
Magnus Auvinen c1942ca6cb fixed the render frame time and cleaned up some more code 2012-01-01 13:38:46 +01:00
Magnus Auvinen 8b76105cfa cleaned up some of the code 2011-12-31 14:00:49 +01:00
oy c975390195 made vote ban check if the ip matches an authed player 2011-12-31 12:11:48 +01:00
Magnus Auvinen 6e57620c2c added flags for mipmap generation on textures. fixes missing texts 2011-12-31 11:18:55 +01:00
Magnus Auvinen b31abc4053 fixed so that you can select graphics backend via gfx_threaded 2011-12-31 10:29:25 +01:00
Magnus Auvinen 7a36a103ae fixed so that the rendering can be done async from the input, network and update 2011-12-31 10:04:46 +01:00
Magnus Auvinen 8a91bfa1dd fixed texture upload support. removed raw gl calls from the text render 2011-12-31 09:40:11 +01:00
Magnus Auvinen 50e75da333 fixed so that the resolusion is set correctly on init 2011-12-31 01:23:04 +01:00
Magnus Auvinen 09b785a290 splitted out the graphics threaded into a separate header 2011-12-31 01:11:24 +01:00
Magnus Auvinen 8e56885795 initial commit of the threaded graphics. can start game and render the gui. no textures at the moment. still waits for the swap for now 2011-12-31 01:06:04 +01:00
oy 8052ddf0ff fixed compiling 2011-12-30 19:35:57 +01:00
oy de3e94d901 clean up temp commands on logout in the client 2011-12-30 19:21:00 +01:00
oy ec4bb94537 added logout command for econ 2011-12-30 19:12:31 +01:00
Magnus Auvinen 8ffe582615 ugly incomplete hack to put the rendering into another thread so we don't have to wait for the flip 2011-12-30 16:02:22 +01:00
oy 1bb64d7534 fixed last commit 2011-12-30 00:07:17 +01:00
Learath2 81e6cf6f83 Added logout command. Closes #903 2011-12-29 23:53:07 +01:00
oy b44ee3d975 reworked ban system 2011-12-29 23:36:53 +01:00
oy 80835d2c11 added version files for pnglite and wavepack(both up-to-date). Closes #900 2011-12-29 14:00:28 +01:00
oy 4c73eab869 fixed empty player names based on utf8 characters. Closes #904 2011-12-29 13:34:13 +01:00
oy 988b1c22cf fixed that the server browser list gets sorted twice on a new entry 2011-12-29 13:06:53 +01:00
oy af9775f400 fixed texture increasing in the text renderer 2011-12-29 13:03:06 +01:00
oy 6e20c32859 removed some resource loading spam. Closes #894 2011-12-10 18:23:29 +01:00
oy 55fe59fa8a updated zlib to 1.2.5 2011-12-04 17:50:52 +01:00
oy 8e0ce38e29 fixed sv_max_client usage 2011-12-04 16:51:33 +01:00
Choupom b2a825652d added a command to unban all 2011-12-04 14:22:59 +01:00
oy 0fdc9c1b8e cleaned up few things 2011-12-04 14:17:05 +01:00
oy 05f77f64af added caching for the play command. Closes #891 2011-11-30 01:41:00 +01:00
oy 48d367db20 added faster way of inverting the sorted serverlist by KillaBilla. Closes #885 2011-11-29 22:34:47 +01:00
oy 8238853b8c added a todo note 2011-11-29 22:18:40 +01:00
eeeee 1452b6811c Replaced sorting implementation with stable one to prevent annoying flickering on server browser update. 2011-11-29 22:16:41 +01:00
Shereef Marzouk c6fd4a2cc5 General whitespace and tab cleanup 2011-08-11 10:59:14 +02:00
oy 2aee50d5b1 fixed a nasty noise problem. Closes #812 2011-08-05 18:37:59 +02:00
oy dfd9e142d5 Merge pull request #801 from fisted/fix_srs
here is clevar solution for serious design flaw
2011-08-03 13:54:48 -07:00
oy 435639636e Merge pull request #808 from SushiTee/master
fixed a warning
2011-08-03 13:53:18 -07:00
Shereef Marzouk c1b23535ff fixed typo 2011-08-02 12:14:23 +02:00
SushiTee 370b93d8e1 fixed a warning 2011-08-01 12:11:10 +02:00
oy b25fc26c1c zero out client memory on startup to prevent more bad surprises 2011-07-31 18:39:48 +02:00
oy 9cf4facd05 fixed a client crash in debug. Closes #806 2011-07-31 17:07:10 +02:00
oy 3209aec45f fixed compiling error on osx 2011-07-31 13:17:38 +02:00
oy 9418802150 protected econ authentication against brute force 2011-07-31 13:05:12 +02:00
oy 1705c90e14 fixed ban for life on the server 2011-07-31 12:43:35 +02:00
oy aabac3dcfc send notification to enter a password when a client connects to econ. Closes #803 2011-07-31 02:25:55 +02:00
oy 9349af0085 clean up econ sockets on shutdown. Closes #804 2011-07-31 02:20:46 +02:00
oy 8d0cc2a825 reduced stack memory usage of CDataFileWriter 2011-07-31 01:40:28 +02:00
oy 34132ce244 fixed client crash in debug 2011-07-31 01:38:45 +02:00
oy 94bdd95957 added missing newlines at end of 2 files 2011-07-30 18:29:40 +02:00
Johannes Loher e2664c1b00 Added server sided automatic demo recording 2011-07-30 18:23:59 +02:00
oy 0f11cf014c increased length for help string of temporary commands 2011-07-30 18:19:15 +02:00
oy b3e8506f20 create client on heap. Closes #744 2011-07-30 13:50:22 +02:00
oy a0a62bcd70 fixed econ feature and tcp 2011-07-30 13:40:01 +02:00
heinrich5991 b0fdc40959 deleted unnecessary empty files 2011-07-29 17:51:19 +02:00
heinrich5991 2ba6fbd731 added econ functionality 2011-07-29 17:51:14 +02:00
fisted 7197d7bc13 extensive source layout enhancement 2011-07-25 18:28:02 +02:00
Choupom 6b2dc40570 fixed a rcon authentication issue 2011-07-20 21:49:38 +02:00
SushiTee a3fec2f9f3 fixed clipping on some machines 2011-07-15 00:39:37 +02:00
oy 571dff6216 made rcon auto completion serverside. Closes #97 2011-07-14 22:07:21 +02:00
oy d28108b8ad fixed few issues with masters.cfg 2011-07-11 12:00:13 +02:00
oy f440944905 fixed problem with rcon authentication 2011-07-08 00:00:38 +02:00
oy e37d536fdf fixed some NETTYPE usage based on the socket state 2011-07-07 01:48:00 +02:00
oy 1ae474689d added moderator support for the remote console. #518 2011-07-05 21:54:10 +02:00