Commit Graph

325 Commits

Author SHA1 Message Date
Titus Tscharntke 3e7b8a5aa8 Little fix to get rid of annoying black squares on left and right screen border when moving camera. It fixes some missing(black) parts of hills too ( not all of them but the obvious ones ). 2011-12-14 22:38:02 +00:00
Mark Vejvoda 9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda ddca84a8b4 - default to regular selection buffer selection, but make optional support for color picking or frustum picking in case some players need it. 2011-12-14 02:25:14 +00:00
Mark Vejvoda d64bf0a4c9 - disable color picking by default, and add error codes for selection buffer 2011-12-14 01:15:27 +00:00
Titus Tscharntke dc4ba27048 no more long distance unit rendereing 2011-12-13 20:29:32 +00:00
Mark Vejvoda c4dc1e616b - added support for pixel buffers and use it for color picking (eventually for screenshots) 2011-12-13 19:52:17 +00:00
Mark Vejvoda 2dd2afb296 - changed selection code to use color picking, can disable using new ini setting:
EnableColorPicking=false
2011-12-13 01:30:52 +00:00
Mark Vejvoda b6d7d1234c - incremented version to 3.6.1-dev
- a few changes to opengl version checking (now uses glew)
2011-12-06 01:34:51 +00:00
Mark Vejvoda 01ea0787a3 - a few more updates to cut down on RAM use for headless server 2011-12-03 00:39:03 +00:00
Mark Vejvoda 8bdf863636 - cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda d33e1174a5 - bugfixes related to cppcheck report
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda cd2daf09dc - new visibility frustum calculation is enabled by default 2011-11-30 21:27:03 +00:00
Mark Vejvoda 410201b313 - attempt to fix bug for new render visiblity 2011-11-30 17:56:58 +00:00
Mark Vejvoda 97378cf0ec - adding more debug info to rendering 2011-11-30 17:47:07 +00:00
Mark Vejvoda ed072d27bb - adding more debug info to rendering 2011-11-30 16:51:51 +00:00
Mark Vejvoda 3b7e873a02 frustrum code can be re-enabled via ini setting:
EnableFrustrumCalcs=true
2011-11-30 07:39:24 +00:00
Mark Vejvoda 8996938e86 - disable new frustrum code for now 2011-11-30 07:27:45 +00:00
Mark Vejvoda 8445a5f616 - attempt to fix visible quad bug 2011-11-30 07:13:17 +00:00
Mark Vejvoda 4015520702 - bugfix the quad cache is now cleared properly at game start and end
- bugfix for debugging headless server caused segfault
2011-11-30 06:58:26 +00:00
Mark Vejvoda b02c3123f6 - headless server bugfix during debugging as well as an attempt to improve rendering 2011-11-30 05:57:14 +00:00
Mark Vejvoda 1658306b59 - fixed debug output font position --> just for you james! 2011-11-28 05:54:31 +00:00
Mark Vejvoda 53ad9d77c2 - fixed font verticle centering for ftgl 2011-11-23 20:51:58 +00:00
Mark Vejvoda 3cdf50c399 - a load of bugfixes including:
- proper handling of invalid client connects, after 6 bad attempts in a 60 second period of time the IP address is blocked from the current game
  - Added check for invalid particles for tileset objects
  - Made messagebox wider in game mod menu
  - Fixed numerous threading issues discovered while testing on my 8 core CPU
  - a Little bit of rendering cleanup
2011-11-23 08:00:09 +00:00
Mark Vejvoda cef0577e3e - added commented out debug code for future ref 2011-11-19 09:49:52 +00:00
Mark Vejvoda cd6b961a3b small tweak to font height calc 2011-11-19 02:31:47 +00:00
Mark Vejvoda 31fafe4528 - fixed up font alignment and added a way to force ftgl font mode:
--force-ftglfonts
2011-11-18 19:53:56 +00:00
Mark Vejvoda e8279621b1 - fixed build on windows 2011-11-15 06:37:47 +00:00
Mark Vejvoda 41ae17757b - just for you james! Fixed about screen text alignment
- re-enabled unit titles in special debug mode (requires special keys to toggle)
2011-11-15 04:48:57 +00:00
Mark Vejvoda 9f316bef08 added an override for map preview rendering to use legacy non FBO code:
LegacyMapPreviewRendering=true
2011-11-08 16:41:10 +00:00
Titus Tscharntke c82ad4689b earlier food warning / fixed norsemen medbar texture ( had visible white borders before ) 2011-11-02 00:30:10 +00:00
Mark Vejvoda bcc97704b6 got ftgl raster fonts working when ini setting is:
Enable3DFontRendering=false and NOT running legacy font mode
2011-11-02 00:17:57 +00:00
Mark Vejvoda 1c96073db4 fixed the headless horseman segfault 2011-10-27 19:02:15 +00:00
Mark Vejvoda 50adfb3305 - added ability to switch languages from nearly anywhere (and new hotkeys to do so):
CTRL+L shows language popup selection, CTRL+SHIFT+L toggles to next language automatically
2011-10-25 18:39:11 +00:00
Mark Vejvoda 6863876359 bugfixes from transition to battle end and back to menu 2011-10-22 19:45:05 +00:00
Titus Tscharntke c151f538b1 3 cycle resource warning instead of percentage warning / sailboat texture fixed in menu 2011-10-18 22:00:59 +00:00
Mark Vejvoda e5c5e22c26 initial attempt to add a visual food low warning (consumable falls to 25% and balance is ticking down) 2011-10-18 15:41:37 +00:00
Mark Vejvoda 5b7329594c - merging in changes from weltall for macosx 2011-10-18 01:13:38 +00:00
Mark Vejvoda 828069087b - removed un-necessary sendfile header
- fixed compile when streflop disabled
2011-10-13 20:05:39 +00:00
Mark Vejvoda 50ce6eb1ea - updated intro with better timing and multiple models. Updated menu background model as well and about screen to show megapack units. 2011-10-12 05:24:30 +00:00
Mark Vejvoda 2d42f59fe1 - added a new lua function to allow loading a new scenario from inside an existing scenario
loadScenario('capture_the_flag2')
2011-10-06 18:04:59 +00:00
Mark Vejvoda 5a7a37a678 - bugfix 3dlists when showing keyboard menu in game (water was showing wrong) 2011-10-05 03:42:29 +00:00
Mark Vejvoda e8663b99bc - bugfix for popup menu in legacy font mode 2011-10-05 02:12:53 +00:00
Mark Vejvoda bc5c32deb1 - initial attempt to add 'pause game' for network games. The following apply:
- only the server (or headless admin) can pause/resume a network game.
- to pause/resume press ESC in game and select the pause/resume button to toggle the state.
- chatting works while the game is paused. If clients want the game paused they should ask this in the chat window
2011-10-03 20:48:09 +00:00
Mark Vejvoda d719e8e318 - in game popup menu now also allows viewing/changing keyboard setup
- now display (team) when chat text is intended only for team members
2011-10-03 00:36:28 +00:00
Mark Vejvoda 5d0eea51e3 - bugfix for rendering labels (now properly lines up with other controls) 2011-10-02 02:14:05 +00:00
Mark Vejvoda 2a86cb4f7d - added support for proper quiting and console input/output in headless mode. Type: quit followed by return into the console to properly shutdown in headless mode. 2011-09-27 10:16:09 +00:00
Mark Vejvoda 9caff9dac3 - in headless mode avoid init of sdl's video surface so that we stay in console window (no graphics window shown) 2011-09-27 07:01:08 +00:00
Mark Vejvoda c68aa74fcf - more updates for headless mode (try to avoid using opengl completely), server now runs at around 20 MB RAM at game start. 2011-09-27 05:29:57 +00:00
Mark Vejvoda 7d53df698a - added new in-game popup menu and new ability to switch teams in game (turned off by default in advanced settings) 2011-09-21 06:51:28 +00:00
Mark Vejvoda bb68106912 - phase 3 of cppcheck verbose fixes 2011-09-01 18:08:56 +00:00