12e2428495
Changes the Renderer to expose global functions to scripts instead of using CJSObject.
...
Fixes #2137
Refs #1886
This was SVN commit r13877.
2013-09-21 08:24:45 +00:00
c28151c1c1
Put tooltips on a diet.
...
This was SVN commit r13835.
2013-09-13 23:49:46 +00:00
5304bc9d6a
Changes GameView to expose global functions to scripts instead of using CJSObject.
...
Fixes #2126
Refs #1886
This was SVN commit r13826.
2013-09-12 12:40:05 +00:00
89430de468
Okay, do what f5ab6255d0
was supposed to do.
...
This was SVN commit r13773.
2013-08-26 04:17:26 +00:00
b10a01645f
Revert f5ab6255d0
. I accidentally somehow committed my whole working tree on this computer....
...
This was SVN commit r13772.
2013-08-26 04:15:36 +00:00
f5ab6255d0
General scrollbar improvements. Patch by Josh. Fixes #2080 .
...
- Don't show the scrollbar when the contents aren't overflowing the
visible area.
- Fix bugs in minimum bar sizing.
- Add capability to set a maximum bar size.
- Correct outdated/incorrect comments.
This was SVN commit r13771.
2013-08-26 03:06:08 +00:00
7ff167e7de
Removes more unused variables, based on patch by Markus, refs #1852 .
...
Adds TODOs to use POT textures in fancy water rendering.
This was SVN commit r13663.
2013-08-15 18:25:32 +00:00
20e7d2224a
Implement a developer overlay command to change the current player ID (very useful for AI development).
...
This was SVN commit r13606.
2013-07-29 00:53:44 +00:00
e0ea53a8ee
Adds saved game descriptions and in-game save dialog, based on patch by Crynux, fixes #2030
...
This was SVN commit r13579.
2013-07-21 00:23:57 +00:00
38cdc38bba
Fixes a build error with SDL2, refs #2041
...
This was SVN commit r13572.
2013-07-17 06:33:11 +00:00
595c964d77
Make water specular more visible and fixes a few cases where it would actually hardly appear when it should.
...
Adds the ability to access an element in a dropdown box by typing the
first letters (Refs #1532 ).
This was SVN commit r13556.
2013-07-14 12:17:07 +00:00
93e8ccda64
Fix crash in VC++11 debug builds. Fixes #2028 . Patch by RedFox.
...
This was SVN commit r13539.
2013-07-07 20:02:20 +00:00
9565c60a14
Adds UI sounds for buttons, dropdowns, lists, and checkboxes, fixes #948
...
This was SVN commit r13521.
2013-07-01 04:15:09 +00:00
6f3a0e1378
Implement location hotkeys. Fix #1882 .
...
This was SVN commit r13463.
2013-06-09 20:21:19 +00:00
1341b88468
Adds VBO support to minimap entity rendering to improve performance, patch by kuranes. Refs #1923
...
This was SVN commit r13454.
2013-06-06 00:10:58 +00:00
a8a968d32c
Catch exceptions by reference (by convention), based on patch from Markus, refs #1852
...
This was SVN commit r13421.
2013-05-22 22:27:53 +00:00
72a8b88b7d
Fixes some unconventional assignment operators, patch by Markus, refs #1852 .
...
Fixes typo in test_ShaderManager
This was SVN commit r13420.
2013-05-22 22:04:58 +00:00
94c57085e9
Makes some classes NONCOPYABLE, based on patch by Markus, refs #1852
...
This was SVN commit r13419.
2013-05-22 21:40:56 +00:00
3f00d4d997
Change some size() > 0 to Based on patches by kuranes and Markus. Refs #1852 , #1923 .
...
This was SVN commit r13413.
2013-05-21 22:11:47 +00:00
16de5c75ac
Adds game speed option to match setup, adds in-game control for single player games, fixes #785 .
...
Refactors some GUI utility functions.
This was SVN commit r13340.
2013-04-03 23:24:22 +00:00
73951b75fc
Adds the server-side part of the javascript debugger. Refs #410
...
This was SVN commit r13238.
2013-03-07 13:49:49 +00:00
75a23856cf
Fix some static analysis warnings
...
This was SVN commit r13101.
2013-01-21 20:33:25 +00:00
a074eb814a
Adds blinking cursors with configurable rate, based on patch by kingadami. Fixes #876
...
This was SVN commit r13068.
2013-01-12 01:20:01 +00:00
8a2baec240
Fixes multiline text alignment, fixes #723 . Patch by kingadami.
...
Adds text alignment to tooltips, fixes text alignment for dropdowns.
This was SVN commit r13051.
2013-01-06 01:46:44 +00:00
0d204037b6
Added right click selection removal. Fixes #1028 . Thanks to kingadami and GerbilOfDoom for the patch.
...
This was SVN commit r13040.
2013-01-03 22:53:46 +00:00
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
adc4012944
Save last multiplayer server. Based on patch by Aurium. Fixes #1778 .
...
Fix bug in ConfigDB: Creating a value could result in changing a value
in a different namespace.
This was SVN commit r13021.
2012-12-25 22:49:18 +00:00
9a2dfa3fc0
Read default multiplayer server name/IP address from config. Patch by Aurium. Refs #1778 .
...
This was SVN commit r13003.
2012-12-20 21:44:56 +00:00
5ce5ef9286
Adds a splashscreen that appears on startup and informs the player about the status of the game (bugs, missing features). The splashscreen can be disabled for future startups by unckecking a checkbox on the splashscreen.
...
This was SVN commit r12735.
2012-10-07 12:43:08 +00:00
f91111aec8
Load default MP player name from the config.
...
This was SVN commit r12673.
2012-09-14 05:38:29 +00:00
fef2bdf39b
Removed unused file
...
This was SVN commit r12658.
2012-09-09 19:41:32 +00:00
affe91b52c
Fixed fixed renderpath: green water, broken minimap
...
This was SVN commit r12588.
2012-09-01 22:34:36 +00:00
38c1a4c4a1
Modified sky, minimap and healthbar renderers to use shaders, to fix a bug reported by historic_bruno
...
This was SVN commit r12551.
2012-08-29 23:07:53 +00:00
9dc838bed5
Add support for cropped images in the GUI code and update game setup to use cropped map previews. Refs #1343 .
...
This was SVN commit r12348.
2012-08-10 19:59:20 +00:00
166255b744
Remember scroll position when re-opening dropdown lists.
...
This was SVN commit r12319.
2012-08-08 17:22:52 +00:00
2eb49be1a3
Show shallows (walkable water) on the minimap in a lighter color.
...
This was SVN commit r12277.
2012-08-04 18:52:02 +00:00
b8b6ebb6ec
Properly re-initialize drop-down lists when the list items changes. Fixes #1558 .
...
This was SVN commit r12244.
2012-07-31 03:34:09 +00:00
99d04e93bb
Implements global tech modification function. Fixes #1358 , refs #1520 .
...
Applies tech modifications to template data returned by GuiInterface.
Extends engine to load arbitrary global scripts, separates this from RNG
replacement. Refs #1193 .
Loads global scripts for most script contexts for consistency.
Adds simulation tests for global scripts.
This was SVN commit r12056.
2012-07-03 02:16:45 +00:00
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
32d2927449
Adds UTF-8 support for JavaScript files.
...
This was SVN commit r11750.
2012-05-04 21:48:46 +00:00
d0784bd314
Fix minimap issue caused by 5b7027ec53
. Fixes #1372 .
...
This was SVN commit r11748.
2012-05-04 17:44:28 +00:00
5b7027ec53
Fix tech overlay issue.
...
This was SVN commit r11725.
2012-05-02 22:57:35 +00:00
c8745ee41f
Handle game ending in Atlas a bit more gracefully, it now continues until the user stops the simulation test. Fixes #641 .
...
This was SVN commit r11575.
2012-04-20 01:41:54 +00:00
769350a3e7
Compute camera height and zoom limits based on smoothed terrain heightmap. Fixes #794 , based on patch by Dietger.
...
This was SVN commit r11556.
2012-04-18 20:39:00 +00:00
5a21140093
Added grayscale option for ui textures
...
This was SVN commit r11364.
2012-03-18 19:43:03 +00:00
4eec2bf5d2
Fixes some bugs related to deleting saved games (in particular, load/delete was broken if the file was deleted externally while the game was running).
...
Adds saved game directory to the hotload watch list.
Logs error instead of crashing when saved game is not found.
Changes Atlas double-click selection to only pick units from the same
player.
This was SVN commit r11332.
2012-03-14 00:23:28 +00:00
894dc30c69
Trade. Closes #30 .
...
This was SVN commit r11279.
2012-03-08 20:42:28 +00:00
98c8a47192
Fix crash on Clang
...
This was SVN commit r11269.
2012-03-07 20:40:38 +00:00
dc715fe57f
Remove some unused includes
...
This was SVN commit r11250.
2012-03-05 16:15:07 +00:00
d60df4b127
Adds saved game deletion. Refs #1090
...
Documents a few things related to saved games.
This was SVN commit r11233.
2012-03-04 05:27:17 +00:00
649cb7ee7b
Added PickFriendlyEntitiesOnScreen function to the JS side for #1187 .
...
This was SVN commit r11230.
2012-03-03 21:42:23 +00:00
7fa6afac37
Corrects some Doxygen comments and adds a few others of interest.
...
This was SVN commit r11209.
2012-03-01 03:55:05 +00:00
2d65ee60f3
Tweaks minimap water color.
...
This was SVN commit r11202.
2012-02-29 01:12:52 +00:00
d755af157f
Fixes constant logical operand warning on OS X build.
...
This was SVN commit r11190.
2012-02-28 03:34:33 +00:00
7d9e98b00e
Adds multiple entity selection to Atlas (including move/delete). Fixes #678 .
...
Makes all actors selectable in Atlas and gives them selection rings (an
EditorOnly flag is used in the template for Atlas-only selectables).
Adds player colors to Atlas selection rings.
Fixes decal selection by falling back to old-style AABBs. Refs #1032 .
Replaces UnitManager selections with EntitySelection helpers.
Adds DrawOverlays to Atlas views, for Atlas-specific rendering.
Fixes bug where selection rings conflicted with Move/rotate tool in
Atlas simulation test.
This was SVN commit r11177.
2012-02-27 05:32:35 +00:00
c888c00377
Avoid unnecessary use of printf in text renderer.
...
This was SVN commit r11154.
2012-02-25 17:14:47 +00:00
832a51da80
GLSL text support
...
This was SVN commit r11080.
2012-02-15 21:53:13 +00:00
9972eb8cae
Enough GLES compatibility to reach the menu screen
...
This was SVN commit r11064.
2012-02-13 20:53:24 +00:00
531b40578a
More GLES compatibility.
...
Add config option to disable hardware cursors on Windows.
This was SVN commit r11053.
2012-02-12 20:45:31 +00:00
2bf3383624
Attempt to fix minimap rendering issues
...
This was SVN commit r11041.
2012-02-09 20:45:19 +00:00
a3f168b887
Initial support for GLSL generic vertex attributes in shader API, for GLES compatibility.
...
Specify GLSL version in shader files, for better error detection.
This was SVN commit r11040.
2012-02-09 17:55:25 +00:00
1f5b8f1c9a
Move GUI renderer towards using shader infrastructure.
...
Remove support for unused GUI sprite effects.
Use vertex arrays for bounding box rendering.
This was SVN commit r11039.
2012-02-08 20:43:38 +00:00
08bd07ddd6
Adds safe bool operator to ICmpPtr, replacing the null() method, based on patch by leper. Also changes bool operator in AtSmartPtr to safe bool. Fixes #1077 .
...
Changes some CmpPtr variable names for consistency.
This was SVN commit r11036.
2012-02-08 02:46:15 +00:00
3fab2729b5
Partial SDL2 compatibility
...
This was SVN commit r11033.
2012-02-06 22:47:35 +00:00
ba84c54535
Render GUI quads with consistent winding order, to stop them vanishing with negative sizes.
...
This was SVN commit r11030.
2012-02-05 22:57:58 +00:00
b9c406551b
Cache shader effects. Fixes #1143 .
...
This was SVN commit r11006.
2012-02-02 22:58:42 +00:00
cc5a0fba4e
Use shader API for GUI text.
...
Flip GUI quads so we don't have to disable back-face culling.
This was SVN commit r10989.
2012-01-30 00:27:23 +00:00
04c63a4093
Clean up some text rendering to avoid relying on deprecated GL matrix state.
...
Use scissor instead of deprecated clip planes for GUI text.
Remove unused support for generic font names.
This was SVN commit r10985.
2012-01-29 20:04:21 +00:00
893cb2668e
Renames our sdl.h to libsdl.h, to avoid case sensitivity errors when it includes SDL.h.
...
This was SVN commit r10904.
2012-01-12 23:32:27 +00:00
ce67dfd333
Rename CELL_SIZE to TERRAIN_TILE_SIZE, to free up the term "cell" for other concepts.
...
This was SVN commit r10902.
2012-01-12 12:51:10 +00:00
0ec4242962
Detect and fix printf signedness errors. Fixes #1086 , #1087 .
...
This was SVN commit r10846.
2012-01-01 16:43:10 +00:00
db864f10c3
Rendering marker lines between buildings and rally points
...
Added command button to focus on rally point
(implements #524 )
This was SVN commit r10704.
2011-12-10 07:07:04 +00:00
85186c98b2
Better selection boxes. Closes #914 , #295 , #810 .
...
This was SVN commit r10593.
2011-11-25 06:36:13 +00:00
cfb79c3062
# Add GPU performance profiling support.
...
Add some profiler region attributes.
Render events in profile visualiser.
Change profiler from GPL to MIT.
This was SVN commit r10492.
2011-11-09 13:09:01 +00:00
09a02c96d5
Add initial code annotations for the new profiling tool
...
This was SVN commit r10466.
2011-11-04 01:35:50 +00:00
7064565ff6
# Allow saving and loading single-player games.
...
Support writing zip files based on in-memory data.
Fix menu sliding animations to be framerate independent.
This was SVN commit r10454.
2011-10-30 00:07:28 +00:00
a3c03815c0
Experimental quicksave/quickload feature
...
This was SVN commit r10427.
2011-10-24 14:55:45 +00:00
bd73308d49
Avoid apparent bug in VirtualBox's GL implementation
...
This was SVN commit r10419.
2011-10-22 10:25:09 +00:00
36d897c694
# New menu background image
...
This was SVN commit r10042.
2011-08-20 17:17:53 +00:00
18c48492ef
Added cast to convert from unsigned to int
...
This was SVN commit r10012.
2011-08-16 02:01:11 +00:00
0f0ac2bcd5
Fixes #898
...
This was SVN commit r10011.
2011-08-16 01:01:39 +00:00
f9d7c1246d
# Initial support for territories
...
This was SVN commit r9889.
2011-07-20 19:48:06 +00:00
a31ce6a3ce
Fix "hides overloaded virtual function" warnings in Clang
...
This was SVN commit r9862.
2011-07-17 17:30:07 +00:00
2f0bd8d8b0
Upgrade to SpiderMonkey 1.8.5 ( fixes #734 )
...
This was SVN commit r9852.
2011-07-16 23:24:14 +00:00
1bc2db56ea
Stops unit following when other object selected. Fixes #775
...
This was SVN commit r9764.
2011-07-05 21:29:11 +00:00
31832cd9ae
Initialise minimap and LOS textures properly
...
This was SVN commit r9673.
2011-06-26 21:47:07 +00:00
33e8ac6fa5
Applies Kenny's patch for CInput pasting behavior ( fixes #640 )
...
Simplifies some clipboard hotkeys
This was SVN commit r9658.
2011-06-25 00:04:41 +00:00
492e49da38
add support for selection and deletion of entire words in text controls (ctrl+backspace/delete/left/right) based on patch by Chakakhan/kenny (thanks!)
...
also refactored wclipboard
closes #511
This was SVN commit r9646.
2011-06-23 10:12:43 +00:00
1357000401
Fix #805 more so it doesn't ignore the second click on non-double-clickable buttons.
...
This was SVN commit r9604.
2011-06-09 17:30:34 +00:00
43d817bc22
--
...
This was SVN commit r9593.
2011-06-06 19:39:19 +00:00
9906a86a2e
Support double-click on unit group buttons. patch by Merolum. fixes #805 .
...
This was SVN commit r9592.
2011-06-06 19:31:34 +00:00
1bf2598429
Fixes square maps to behave like circular maps and fit within the circle. Fixes #822
...
This was SVN commit r9554.
2011-05-27 03:04:59 +00:00
26de01cdd1
Adjusts unit selection behavior to account for ranks. Triple-click now selects units regardless of their rank.
...
Adds modifier hotkey to select units offscreen.
Fixes #826 .
This was SVN commit r9443.
2011-05-05 01:27:49 +00:00
7523894760
ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive)
...
This was SVN commit r9423.
2011-05-04 12:10:17 +00:00
cccd6849a7
cleanup (requires update-workspaces)
...
lib_errors.cpp: replace with status.cpp, adapt to needs at work
wutil: fix runtime warning reported via feedback box
config: merge CONFIG_PARANOIA and !CONFIG_FINAL into
CONFIG_ENABLE_CHECKS
add openmp, pointer_typedefs.h
This was SVN commit r9410.
2011-05-03 12:38:42 +00:00
4663ac0fe7
split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
...
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)
This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
67ca7461cd
Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish.
...
Allows hotkey handling of mousewheel events after minimap. Fixes #673 .
Adds SendEvent to GUI objects, used in place of separate calls to
HandleMessage and ScriptEvent.
This was SVN commit r9340.
2011-04-28 20:42:11 +00:00
e5e9e38532
Fix GCC 4.6 "set but not used" warnings
...
This was SVN commit r9194.
2011-04-07 16:34:51 +00:00
ce85f4e825
Fix minimap ignoring GUI z-ordering.
...
This was SVN commit r9139.
2011-04-01 17:58:33 +00:00
588bfa11bf
remove unnecessary utf8 includes
...
This was SVN commit r9110.
2011-03-23 16:32:44 +00:00
dcd192cb60
refactor path interface:
...
- use wrapper class instead of std::wstring (reduces mixing of
strings/paths; allows safe+easy join via operator/ and convenient
case-insensitive comparison via operator==, avoids NativePathFromString,
similar to boost::filesystem)
- NativePath -> OsPath
- add hash and To/FromJSVal for Path
- add TS_ASSERT_PATH_EQUALS
- replace _wfopen_s with sys_OpenFile
- remove obsolete SortFiles/Directories
This was SVN commit r9107.
2011-03-23 13:36:20 +00:00
c0a105432e
Use path types and conversions more consistently.
...
This was SVN commit r9094.
2011-03-21 22:59:00 +00:00
c3405e6f50
path improvements/fixes:
...
- replace more std::wstring with Native or VfsPath; wstring_from_utf8 ->
NativePathFromString
- replace sequences of Join(Path(), Basename+extension) with
ChangeExtension in wsdl, CacheLoader
- add Path::IsDirectory to replace .empty() / path_is_dir_sep(.back()).
also changed behavior to reflect the fact that "" is the VFS root
_directory_
- Path::Join now allows 2 identical path types (e.g. VfsPath) or one
char* literal (prevents inadvertently introducing non-safe characters).
to convert from wstring or wchar_t, use an explicit ctor (e.g.
VfsPath(wchar_t_string))
This was SVN commit r9091.
2011-03-21 19:54:08 +00:00
6d25329412
# towards locale-independent pathnames on Linux
...
c.f.
http://www.wildfiregames.com/forum/index.php?showtopic=14541&st=0&p=217250&#entry217250
and 2011-03-19 meeting
This was SVN commit r9090.
2011-03-21 17:53:13 +00:00
16a4eb36dd
Various minor optimisations.
...
Enable SpiderMonkey method JIT in Release mode.
Add Engine.ProfileStart/Engine.ProfileStop functions for scripts.
Fix AI to clone initial entity data and shared metadata.
This was SVN commit r9003.
2011-03-03 00:16:14 +00:00
d045258c29
Let exceptions in GUI script events triggered by script setters propagate out of the setter, so error messages aren't useless.
...
This was SVN commit r8997.
2011-02-27 17:57:32 +00:00
807663cd54
Fix uninitialised value
...
This was SVN commit r8961.
2011-02-20 20:52:35 +00:00
1a2a7677fd
replace set/map with boost::unordered_* to reduce the number of expensive filesystem::basic_path::operator< calls based on a patch by ortalo (thanks!)
...
This was SVN commit r8947.
2011-02-19 21:24:39 +00:00
f3372bf11d
Add some rough performance reporting.
...
Make the profiler converge a bit faster.
This was SVN commit r8939.
2011-02-19 03:14:37 +00:00
d600a400fe
Fix GUI text input box scrollbars not moving when the window is resized.
...
This was SVN commit r8932.
2011-02-18 22:49:24 +00:00
387b801aed
Fix tooltip crash/corruption, caused by inconsistently changing types.
...
This was SVN commit r8931.
2011-02-18 22:36:39 +00:00
1c7e33b528
Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss.
...
Handle most CStr8/CStrW conversions via UTF-8 instead of effectively
assuming Latin-1.
Return UTF-8 strings from Xeromyces API.
This was SVN commit r8929.
2011-02-17 20:08:20 +00:00
0da7e822ff
# Add opt-in automatic feedback system.
...
Add GL implementation limits to hwdetect.
Make the in-game manual support multiple text files.
Remove unnecessary instruction on how to close the manual window.
Make guitextobject.caption return the original value without stripping
formatting tags.
Remove unused non-VFS support from config system.
Support writing config files back to their original path.
Remove unnecessary user profile directory; use normal config directory.
This was SVN commit r8925.
2011-02-16 20:40:15 +00:00
dbd3de82ff
Fix #705 (tooltips go off screen when displayed near a corner), based on patch from Leonard
...
This was SVN commit r8916.
2011-02-13 12:16:31 +00:00
804e817cf5
Fix rendering of main menu buttons after leaving a game
...
This was SVN commit r8907.
2011-02-10 23:58:33 +00:00
c710e718aa
Windows fixes
...
This was SVN commit r8884.
2011-02-03 02:33:37 +00:00
cb78822f19
Delete some unused bits.
...
This was SVN commit r8883.
2011-02-03 01:17:16 +00:00
fe21c5e023
# Rewrite fog-of-war rendering.
...
Disable shadows when only 2 TMUs available.
Clean up some other rendering code.
This was SVN commit r8882.
2011-02-03 01:12:24 +00:00
dd501b2a5a
# Add initial basic player AI framework.
...
Support direct access to serializer streams, so serializers can be
nested.
Make component script "this.template" read-only.
Stop globally-subscribed component scripts receiving messages posted to
local components, to reduce out-of-sync risks.
Move pathfinder data out of entity template directory.
Fix GuiInterface deserialization.
This was SVN commit r8865.
2011-01-12 12:29:00 +00:00
8ddef2fee0
Add fast-forward/rewind commands, to help with testing.
...
This was SVN commit r8803.
2010-12-06 19:58:06 +00:00
1201956b93
Additional cleaning up of logging: removed LOG_CATEGORY macro definitions.
...
This was SVN commit r8792.
2010-12-05 08:50:33 +00:00
19dbbb816d
Changed all references from old CLogger API to use the new API. Removed old API. Fixes #247
...
This was SVN commit r8791.
2010-12-05 08:41:55 +00:00
f378a63d94
Add some tests for UnitAI.
...
Fix said tests for UnitAI.
Hopefully fix #647 too.
Document HFSM interface a bit.
Add Engine.DumpSimState() console command for debugging.
This was SVN commit r8681.
2010-11-22 20:12:04 +00:00
47246c8155
Fixes #572 . Changed MoveCameraToTarget so that for minimap scrolling it will ignore changes in Y position, to maintain previous zoom level as expected (constraint keeps the new view from being inappropriate)
...
This was SVN commit r8676.
2010-11-21 04:59:59 +00:00
c36fc2b8d7
Add script-based system for doing messy stuff based on system configuration.
...
Display warning for certain broken NVIDIA drivers.
This was SVN commit r8663.
2010-11-20 19:46:49 +00:00
74c19b5015
Add xmessage-based GUI dialog box for debug messages on Linux ( fixes #663 ).
...
Switch out of fullscreen before displaying dialog boxes.
Add Engine.DebugWarn for testing.
This was SVN commit r8661.
2010-11-20 17:14:45 +00:00
64bd264fc0
Attempt to fix GUI script interaction with JITs.
...
Simplify some other GUI script interface code.
This was SVN commit r8657.
2010-11-20 00:45:58 +00:00
bd3bd084c0
Support new SpiderMonkey API.
...
wposix: Define int8_t compatibly with SpiderMonkey.
Remove unused camera, lightenv JS interfaces.
Remove most of vector JS interface.
Remove some of the redundant JS string conversion functions.
Remove unneeded vmem, _lodBias functions.
Clean up some formatting.
This was SVN commit r8629.
2010-11-16 23:00:52 +00:00
293e5e33ec
Changed GUI mouse event handling so that button events use the mouse position at the time of the button state change. Fixed minimap message handling to respect out-of-order events. Fixes #669
...
This was SVN commit r8610.
2010-11-14 22:47:39 +00:00
e43eb0c18b
# Various hotkey fixes and cleanups.
...
Support ctrl for removing entities from selection.
Move big screenshot hotkey to shift+F2.
Increase mouse wheel rotation speed.
Fix HotkeyIsPressed when a more specific hotkey was matched instead.
Support multiple hotkeys with the same binding.
Use hotkeys instead of raw key events in GUI.
Delete some obsolete hotkey definitions.
Remove unused broken EntitySelection toggle method.
This was SVN commit r8546.
2010-11-07 20:42:52 +00:00
644b9aedea
# Add double-click and triple-click selection modes, based on patch by Christoph and evans.
...
Fixes #515 .
This was SVN commit r8544.
2010-11-07 00:12:55 +00:00
3407983e98
remove no-longer needed (and non-reentrant) MICROLOG as per today's meeting
...
This was SVN commit r8542.
2010-11-06 19:11:40 +00:00
818ea52c3b
Delete obsolete non-working i18n code
...
This was SVN commit r8527.
2010-11-03 17:52:07 +00:00
540925aa32
Add a rubbish experimental FPS camera view
...
This was SVN commit r8520.
2010-11-01 21:40:29 +00:00
5d764f1435
Run network server in a separate thread, to minimise latency.
...
Make some parts of logger and console thread-safe.
Simplify console: remove special commands; remove prefix for script
commands.
Remove LOG_ONCE, to simplify logger.
Change some code to use the new logger interface.
Fix OOS when revealing map.
Clean up some formatting.
This was SVN commit r8511.
2010-10-31 22:00:28 +00:00
9ee44bd9b8
Game setup changes, including showing name, civ, team, and some options loaded from the scenarios. Civ data added. Civ info window to preview civs. Icon tooltips. Support for random map implementation. Fixes #590 .
...
This was SVN commit r8494.
2010-10-30 04:02:42 +00:00
02aa8499ed
Partial experimental version of circular maps
...
This was SVN commit r8470.
2010-10-25 21:59:52 +00:00
9e499cdec5
# Fix hotkey bugs.
...
Simplify hotkey system to use strings consistently.
Restrict scope of GUI hotkey bindings to the associated page.
Avoid hard-coding list of hotkeys.
Clean up the code a little bit and fix some bugs.
Remove unused "!" prefix for key negation.
Fixes #567 .
This was SVN commit r8444.
2010-10-23 02:37:00 +00:00
eb8ca841cd
Add special "colour:r g b a" sprite syntax to GUI. Fixes #616 , based on patch from historic_bruno.
...
This was SVN commit r8431.
2010-10-21 21:22:40 +00:00
c0a7a36f7a
Use JSFastNative API in more places, for improved compatibility with future SpiderMonkey versions.
...
Remove some unnecessary script-exposed functions, and move some more
into the Engine namespace.
This was SVN commit r8428.
2010-10-21 19:54:59 +00:00
82691683cb
Fix #56 (add unit-following camera mode (press 'F')), based on patch from markelov.
...
Remove obsolete IsNewSimulation function.
This was SVN commit r8190.
2010-09-26 23:05:25 +00:00
58026a3c6d
Fix bug with failing to reset GL state when sometimes necessary
...
This was SVN commit r8172.
2010-09-24 21:42:41 +00:00
46b79f8a6d
Scale minimap LOS texture down, to reduce update/upload costs.
...
Reduce minimap LOS update frequency.
This was SVN commit r8169.
2010-09-24 16:52:29 +00:00
e1082e5adb
Fix warnings
...
This was SVN commit r8162.
2010-09-23 12:54:16 +00:00
924d1219a7
# Add fog-of-war.
...
Move Vision component to C++, for more efficient FoW processing.
Disable FoW on demo maps.
This was SVN commit r8160.
2010-09-23 12:13:13 +00:00
1cc4d358d7
Fix #549 (Allow units to be moved by right-clicking on the mini-map), based on patch from Badmadblacksad
...
This was SVN commit r8107.
2010-09-11 19:49:21 +00:00
67a94572ec
# Add new texture loading system with automatic compression.
...
Replace almost all texture uses with calls to the new system.
Add some anistropic filtering to terrain textures.
Let Atlas load terrain texture previews partly-asynchronously by
polling.
Fix inefficient texture colour determination for minimap.
Remove unused global g_TerrainModified.
Change GUI texcoord computation to be less efficient but to cope with
dynamic texture changes.
Fix GUI renderer effects leaving bogus colour state.
This was SVN commit r8099.
2010-09-10 21:02:10 +00:00
6c7830df3f
Rename CTextureManager and CTextureEntry since they are only for terrain textures
...
This was SVN commit r8076.
2010-09-04 21:26:52 +00:00
5e15a0279e
Print JS stack trace when reporting exceptions.
...
Increase maximum logger message size.
Fix GC bug.
This was SVN commit r8063.
2010-09-03 20:06:17 +00:00
0858b76bed
Fix #556 (Minimap camera outline clips incorrectly), based on patch from Jayschwa
...
This was SVN commit r8045.
2010-08-29 13:31:19 +00:00