Marc Zinnschlag
2dc3c0ae4f
integrated startup icons
2013-09-09 09:41:43 +02:00
Marc Zinnschlag
25b7cd33ea
added FileWidget; fixed OpenCS configuration
2013-09-08 14:31:20 +02:00
Marc Zinnschlag
ecedb60169
splitting new game and new addon functions (new game currently not working)
2013-09-08 12:06:28 +02:00
Marc Zinnschlag
f7940d7d1a
focus load document button by default in startup window
2013-09-08 11:24:06 +02:00
Marc Zinnschlag
2d9e9fe3e1
Merge branch 'startup'
2013-09-08 09:34:41 +02:00
Marc Zinnschlag
cae5eb424d
cleaned up opening the settings dialogue from a view
2013-09-08 09:33:45 +02:00
Marc Zinnschlag
efdf2961f0
open user settings dialogue centered
2013-09-08 09:28:43 +02:00
Marc Zinnschlag
0e81fb32dd
hooked up edit config signal from startup window
2013-09-08 09:26:43 +02:00
Marc Zinnschlag
17bf7e59a4
added proper startup dialogue (still missing icons)
2013-09-08 09:15:26 +02:00
Tom Mason
7b9c5c75e7
silenced unshield
2013-09-07 16:16:09 +01:00
Tom Mason
2b50e34566
Fixed issue with copy_file
...
from: https://forum.openmw.org/viewtopic.php?f=20&t=1718&hilit=0.26&start=50#p18705
2013-09-07 15:41:51 +01:00
Marc Zinnschlag
9b7cd5958f
Merge remote-tracking branch 'scrawl/master'
2013-09-07 08:23:25 +02:00
scrawl
10c21579bc
Item stacking case sensitivity fix
2013-09-07 01:00:38 +02:00
Marc Zinnschlag
3d66f7521e
Merge remote-tracking branch 'marcrbouvier/master'
2013-09-06 08:44:59 +02:00
Marc Bouvier
784cba21f2
[Feature #881 ] Change Tabs to Spaces
...
Some of the tabs were not made of spaces, so Git defaults tabs to the
length of 8 spaces. OpenMW uses 4 spaces per tab.
2013-09-05 23:02:51 -05:00
Marc Zinnschlag
dc345dd43d
Merge branch 'filter'
2013-09-05 15:47:52 +02:00
Marc Zinnschlag
8f0ab29a9f
allow the use of keywords for strings without quotation marks
2013-09-05 15:47:38 +02:00
Marc Zinnschlag
645b50ef36
added support for half-sided intervals to filter parser
2013-09-05 15:38:28 +02:00
Marc Zinnschlag
f3ce9c22a1
rewrote value node to support half-sided intervals (meaning infinity or -infinity for the missing half)
2013-09-05 15:22:14 +02:00
Marc Zinnschlag
9332684335
allow the use of value types in string filters
2013-09-05 15:05:49 +02:00
Marc Zinnschlag
f2e86e860e
allow the use of record types in string filters
2013-09-05 14:39:56 +02:00
Marc Zinnschlag
8bebe7179c
some UniversalId fixes
2013-09-05 13:58:36 +02:00
Alexander "Ace" Olofsson
5e42c73356
Better fix for unshield, comments on changes, no more commented out code.
2013-09-05 10:39:17 +02:00
mckibbenta
ae02499eff
Merge branch 'master' of https://github.com/zinnschlag/openmw into tgm
2013-09-04 21:15:44 -04:00
Alexander "Ace" Olofsson
22a5f7198f
A few fixes to build on Windows
2013-09-04 23:25:47 +02:00
Marc Zinnschlag
842a616909
more cleanup
2013-09-03 14:18:34 +02:00
Marc Zinnschlag
6cd7da6547
Merge remote-tracking branch 'marcrbouvier/master'
2013-09-03 13:47:07 +02:00
Marc Bouvier
6b11f59ed4
[Feature #881 ] Rename QLocalServer
...
The server name should be more unique to the project so there isn't a
interprocess clash.
2013-09-03 06:24:11 -05:00
Marc Zinnschlag
80f8024da7
allow specifying record modification status column enum via strings
2013-09-03 13:03:02 +02:00
Marc Zinnschlag
f80373a849
removed two unused files
2013-09-03 12:53:45 +02:00
Marc Zinnschlag
1744a64f77
in filters allow specifiying boolean columns as strings
2013-09-03 12:32:06 +02:00
Marc Bouvier
0ae2bb2fae
[Feature #881 ] Code Formatting
...
Code formatted to the OpenMW policy.
2013-09-03 05:22:48 -05:00
Marc Bouvier
563bd0b430
[Feature #881 ] Raise OpenCS New Window After Re-execution
...
The OpenCS startup window of the existing exist is raised when trying to
start a new instance. This is done by the new instance connection to the
existing instance's QLocalServer. Once the connection is established the
existing instance raises the startup window.
2013-09-03 04:12:19 -05:00
Marc Bouvier
51332b86a1
[Feature #811 ] Only 1 Instance of OpenCS is Allowed
...
If another instance of OpenCS is started, then it will terminate. This
is done by creating a QLocalServer with a unique ID. If another
QLocalServer with the same ID attempts to be opened, then the creation
of the QLocalServer will fail and the application will terminate.
2013-09-03 01:44:21 -05:00
mckibbenta
e545f49807
Merge branch 'master' of https://github.com/zinnschlag/openmw into tgm
2013-09-02 18:40:37 -04:00
Marc Zinnschlag
9cb121bd04
allow specifying enums as text in filters
2013-09-02 12:23:19 +02:00
Marc Zinnschlag
649ef6f120
moved list of enum literals from ViewManager to Columns (which makes them available to the rest of model now)
2013-09-02 11:58:05 +02:00
Marc Zinnschlag
e03de11fa8
Merge remote-tracking branch 'corristo/master'
2013-09-02 10:57:01 +02:00
Marc Zinnschlag
7076ea9467
Merge remote-tracking branch 'scrawl/map'
2013-09-02 10:55:12 +02:00
Marc Zinnschlag
5f380bc085
Merge remote-tracking branch 'lgro/unittests'
2013-09-02 10:54:51 +02:00
Nikolay Kasyanov
f9cfe654f2
Workaround for https://bugreports.qt-project.org/browse/QTBUG-22154
...
(Qt redefines min OS X version and SDL in turn checks this version and
doesn't accept version set by Qt)
2013-09-01 23:17:41 +04:00
scrawl
3ddeb075fb
Fix a cell border seam on the map
2013-08-31 04:36:23 +02:00
Lukasz Gromanowski
2c49458b6c
Added unittests for FileFinder::FileFinderStrict class.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-08-31 00:13:42 +02:00
Lukasz Gromanowski
0e83b50659
Changed test dir for SearchTest.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-08-30 23:24:33 +02:00
Lukasz Gromanowski
2baaef7d87
Added unittests for FileFinder::FileFinder class.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-08-30 23:23:34 +02:00
Lukasz Gromanowski
303e02cab5
Added unittests for FileFinder::find function.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-08-30 22:45:30 +02:00
Lukasz Gromanowski
515a865daa
Changed ASSERT_EQ to ASSERT_TRUE/FALSE.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-08-30 22:44:03 +02:00
Lukasz Gromanowski
da0b90ee45
Converted tests from components/misc into google unittests.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-08-30 21:57:06 +02:00
Chris Robinson
82a09a988b
Minor pathfinding cleanup
2013-08-29 19:17:27 -07:00
Chris Robinson
8f23b330d3
Remove unnecessary initialization
2013-08-29 17:41:20 -07:00
Chris Robinson
9499ac4fd5
Increase the distance for reaching a path node
2013-08-29 17:41:20 -07:00
Chris Robinson
f9dbce685a
Avoid killing AIWander and AITravel when far away
...
This fixes the problem of certain NPCs not wandering because they
happened to spawn near a cell border away from the player, which
immediately "completed" the wander package.
AIWander can't cause NPCs to cross cell boundaries, so there's no risk
of them walking into an unloaded to. AITravel will now simply stop
moving, and resume later when the cell is loaded.
2013-08-29 17:41:20 -07:00
mckibbenta
f65172bdca
Merge branch 'master' of https://github.com/zinnschlag/openmw into tgm
2013-08-29 20:26:36 -04:00
mckibbenta
eef9df504a
fiddlings
2013-08-29 20:25:36 -04:00
scrawl
c8e31725dc
Fix weather sounds persisting on a new game
2013-08-29 15:16:08 +02:00
Marc Zinnschlag
9f0b34eae0
fixed reference loading code (editor)
2013-08-29 13:27:54 +02:00
Marc Zinnschlag
ce90c2f3be
Merge remote-tracking branch 'kcat/master'
2013-08-28 21:05:07 +02:00
Chris Robinson
e589d0ec91
Werewolves can't activate activators
2013-08-28 11:36:22 -07:00
Chris Robinson
84d259ab8e
Avoid reconstructing strings for updating the dynamic stats
...
Attributes still do this, but they change infrequently enough that it doesn't
matter.
2013-08-28 10:50:29 -07:00
scrawl
5918b84666
Don't crash on resize events during load
2013-08-28 17:05:28 +02:00
Marc Zinnschlag
94e255ea47
Merge branch 'filter'
2013-08-28 12:42:03 +02:00
Chris Robinson
92082dae66
Modify the current magicka and fatigue when the base changes
2013-08-27 22:44:52 -07:00
Chris Robinson
305b5fec0f
Avoid needlessly copying the MagicEffects
2013-08-27 21:40:31 -07:00
Chris Robinson
281fdbd81b
Cleanup some redundancy
2013-08-27 17:56:47 -07:00
Chris Robinson
33c173a23a
Update the watched Ptr when changing it
2013-08-27 17:22:07 -07:00
Chris Robinson
39af9a13fa
Remove some unused functions
2013-08-27 17:13:49 -07:00
Chris Robinson
189541aa72
Apply drowning damage based on the update duration
...
1 damage every 0.33 seconds is 3 damage a second. Applying it this way avoid
having to track another stat.
2013-08-27 17:08:23 -07:00
Chris Robinson
f216b25be8
Slightly randomize time between environment sounds
...
We should use the "Minimum Time Between Environmental Sounds" and
"Maximum Time Between Environmental Sounds" INI/fallback settings, but we don't
have them.
2013-08-27 16:04:19 -07:00
Chris Robinson
02df8ab841
Store the underwater sound to easily stop it
2013-08-27 13:48:20 -07:00
Chris Robinson
16331bf1ed
Avoid a hack to play the underwater sound properly
2013-08-27 13:26:57 -07:00
Marc Zinnschlag
26b3d93293
streamlined filter syntax
2013-08-27 18:58:23 +02:00
scrawl
839d251cc5
Renamed Terrain::Terrain to Terrain::World to make VC happy
2013-08-27 16:01:16 +02:00
scrawl
d3d6dfbde8
Refactored loading screen
...
- Add loading progress for data files, global map, terrain
- Refactored and improved cell loading progress
2013-08-27 15:48:13 +02:00
Marc Zinnschlag
2e9948e86a
improved one-shot filter handling; allow empty pre-defined filters
2013-08-26 14:40:34 +02:00
Marc Zinnschlag
aa935ff03d
update tables on filter record changes
2013-08-26 12:49:13 +02:00
Marc Zinnschlag
20bd0707dc
avoid use of column number literals
2013-08-26 12:25:52 +02:00
Marc Zinnschlag
937f5b11a2
fixed broken record deletion
2013-08-26 12:25:19 +02:00
Marc Zinnschlag
dcc55b60c3
Merge remote-tracking branch 'kcat/misc-cleanup'
2013-08-26 08:51:19 +02:00
mckibbenta
60fa69139e
minor changes
2013-08-25 19:20:14 -04:00
Chris Robinson
f2889e4bb5
Remove unused functions and parameters
2013-08-25 16:08:45 -07:00
Chris Robinson
3843357cd2
Fix actor stepping
2013-08-25 16:08:43 -07:00
Chris Robinson
0463dc0653
Use a smaller static geometry size for interior cells
2013-08-25 16:08:43 -07:00
Chris Robinson
bd6dd071aa
Use the non-accumulation root's parent as the accumulation root
...
This relies on the non-accumulation root not being the skeleton root. I haven't
found an instance where this isn't the case.
2013-08-25 16:08:42 -07:00
scrawl
3f8a69b4ad
Don't crash when trying to delete a reference that doesn't exist anymore
2013-08-26 00:14:02 +02:00
scrawl
5af89a9e8f
Fix an AABB assert for loading empty exterior cells
2013-08-26 00:13:42 +02:00
scrawl
c6d2d1999a
Fix an item duplication glitch
2013-08-25 17:40:08 +02:00
mckibbenta
06701467ab
Merge branch 'master' into tgm
2013-08-24 21:28:26 -04:00
mckibbenta
8998b90e8b
initial do-nothing implementation; registered opcode
2013-08-24 21:19:12 -04:00
Marc Zinnschlag
d007d4dc9a
allow colons in names (filter)
2013-08-24 19:12:47 +02:00
Marc Zinnschlag
7e02c9acf2
added filter text column to filter table
2013-08-24 18:53:11 +02:00
Marc Zinnschlag
25e6380884
implemented use of predefined filters
2013-08-24 17:40:00 +02:00
Marc Zinnschlag
d1516792ce
made document data available to filter parser
2013-08-24 17:17:22 +02:00
Marc Zinnschlag
7aee1da5c6
fixed some columns
2013-08-24 16:51:49 +02:00
Marc Zinnschlag
51fbb0f3f4
fixed a segfault when opening views for tables that do not allow the creation of new records
2013-08-24 15:33:46 +02:00
Marc Zinnschlag
948cb0ef34
Merge remote-tracking branch 'marcrbouvier/master'
2013-08-24 15:13:07 +02:00
Marc Zinnschlag
f605dcdd24
Merge branch 'filter'
2013-08-24 14:51:05 +02:00
Marc Zinnschlag
78c7de440d
simplified filter nodes even more
2013-08-24 14:49:05 +02:00
Marc Zinnschlag
cf58670c85
removed global filter scope (would have caused sync problems between projects)
2013-08-24 14:46:42 +02:00
Marc Zinnschlag
3cf60da5a7
added numeric value filter node
2013-08-24 14:43:38 +02:00
Chris Robinson
ca24a809fc
Use the position of the actor to determine if they're swimming
2013-08-23 13:44:16 -07:00
Chris Robinson
3fa65f21dd
Use a proper cone shape with a contact test to check for melee hits
2013-08-23 12:27:40 -07:00
Chris Robinson
f5d03a16c1
Rename getFacedObject and getFacedHandle for melee hits
2013-08-23 12:27:39 -07:00
Marc Zinnschlag
537ab38985
fixed type in error message
2013-08-23 14:49:41 +02:00
Marc Zinnschlag
c56007cceb
fixed a record counting bug (was using the wrong model)
2013-08-23 14:11:33 +02:00
Marc Zinnschlag
2823e5693d
Merge remote-tracking branch 'scrawl/hit'
2013-08-22 15:35:17 +02:00
Marc Zinnschlag
63b1df85e7
fixed string parsing
2013-08-22 15:22:39 +02:00
Marc Zinnschlag
f615a9397b
made text node filter case-insensitive
2013-08-22 15:16:22 +02:00
Marc Zinnschlag
de956737fe
added text filter node
2013-08-22 14:50:42 +02:00
Marc Zinnschlag
decd826208
fixed an include guard
2013-08-22 14:00:55 +02:00
Marc Zinnschlag
ba6edc55d4
added not filter node
2013-08-22 13:45:50 +02:00
Marc Zinnschlag
806e9a2888
added and and or filter nodes
2013-08-22 13:14:35 +02:00
scrawl
22d5598082
Fix bad_cast exception when hitting creatures
2013-08-22 12:17:12 +02:00
scrawl
1adce8afb3
Fix ambient light getting set from the cell data for non-interior cells
2013-08-22 10:47:48 +02:00
Marc Zinnschlag
50041fc211
simplified filter system by taking out filter references and user values for now (these are post-1.0 features anyway)
2013-08-22 09:17:57 +02:00
Marc Bouvier
2e8b0cf502
Remove Directory Paths in Qt Classes Includes
...
Qt recommends that the path location not be used when including a class.
Also, this is how other files include Qt classes in the OpenCS app. This
change is for consistency only.
2013-08-21 17:14:29 -05:00
Marc Zinnschlag
e03e2f0817
Merge remote-tracking branch 'scrawl/master'
2013-08-21 19:50:08 +02:00
scrawl
758d989a03
If multiple plugins have land data for the same cell, the last plugin should win
2013-08-21 17:26:11 +02:00
scrawl
ce5ea6d7d2
Use a proper node hierarchy; disconnect the root when entering interior
2013-08-21 17:26:11 +02:00
Chris Robinson
c855ab65cf
Non-colliding objects are considered flying
2013-08-21 07:24:54 -07:00
Chris Robinson
602be9bbe7
Avoid swimming into the air from underwater
2013-08-21 07:24:54 -07:00
Chris Robinson
9f09bb6f6f
Use separate inputs for swimming and flying
2013-08-21 07:24:54 -07:00
Chris Robinson
a546ace94d
Remove an unused method
2013-08-21 07:24:54 -07:00
vorenon
3bf3bd4b8c
Silenced some warnings
2013-08-21 13:53:49 +02:00
Chris Robinson
1a9672e31b
Don't update player physics more than 60 times a second
...
Bullet and/or our collision handling code doesn't like timesteps much
smaller than that. Ideally we should do physics in 60fps (or even 30fps)
steps and use prediction and interpolation to get more, but that's not
straight forward and needs a fixed timestep loop to lock physics and
logic together.
2013-08-20 11:31:49 -07:00
Marc Zinnschlag
a61215dab1
some general filter parser cleanup
2013-08-20 16:04:06 +02:00
Chris Robinson
0e56b2facb
Merge remote-tracking branch 'zini/master' into physics
2013-08-20 04:42:28 -07:00
Chris Robinson
d9040df9d6
Increase the max number of physics iterations
...
Should help with highly tessellated collision meshes with high
framerates.
2013-08-20 04:41:52 -07:00
scrawl
ecf7786d11
terrain_num_lights was removed
2013-08-20 12:31:47 +02:00
scrawl
fa76d1631b
Some terrain fixes
2013-08-20 12:08:46 +02:00
scrawl
0545622f5a
Fix werewolf state not getting completely reset when starting a new game
2013-08-20 11:24:19 +02:00
Chris Robinson
a993af53e7
Merge remote-tracking branch 'zini/master' into physics
2013-08-20 02:21:44 -07:00
Chris Robinson
a17997a973
Continually add bits of input velocity to inertia when falling
2013-08-20 02:10:18 -07:00
Marc Zinnschlag
0c8f85f17d
Merge remote-tracking branch 'wheybags/master'
2013-08-20 11:05:50 +02:00
scrawl
8c8653160d
Crash fix, material fix
2013-08-20 09:52:27 +02:00
Tom Mason
7f0f9037be
fix for older versions of unshield
2013-08-19 22:57:21 +01:00
scrawl
13afcc9324
Don't link to OgreTerrain
2013-08-19 22:22:14 +02:00
Tom Mason
06ff40eda7
only use unshield on not windows
2013-08-19 20:20:08 +01:00
Tom Mason
865a7c63df
cmake for system libunshield
2013-08-19 20:20:00 +01:00
Tom Mason
d3748cd5bb
Install uncompressed data files from cd
2013-08-19 20:19:53 +01:00
Tom Mason
9d1daf7dc2
enum was unnecessary
2013-08-19 20:19:47 +01:00
Tom Mason
641b7b0336
anonymous namespace
2013-08-19 20:19:41 +01:00
Tom Mason
454b64974d
filenames
2013-08-19 20:19:35 +01:00
Tom Mason
3264b5974e
fix invalid syntax
2013-08-19 20:19:25 +01:00
Tom Mason
90a892d304
unshield fixes
2013-08-19 20:19:11 +01:00
Tom Mason
ceb3317807
Integrate unshield with launcher
2013-08-19 20:19:01 +01:00
scrawl
ebf9debb80
Enabled terrain self shadows, implemented getHeightAt, some optimizations
2013-08-19 20:39:37 +02:00
Chris Robinson
d727b15580
Fix tracing down
2013-08-19 20:39:37 +02:00
Chris Robinson
394fc75697
Clean up the trace struct
2013-08-19 20:39:37 +02:00
Chris Robinson
b351109649
Get rid of the old newtrace method
2013-08-19 20:39:37 +02:00
Chris Robinson
14acacf401
Use a better method to do actor physics traces
2013-08-19 20:39:37 +02:00