Christoph Oelckers
bd5777917e
Merge branch 'master' of https://github.com/rheit/zdoom
2013-08-28 11:23:00 +02:00
Christoph Oelckers
9c2454eacc
Merge branch 'maint'
2013-08-28 11:20:53 +02:00
Christoph Oelckers
26c381224c
- removed unused constants in p_map.cpp.
2013-08-28 11:16:30 +02:00
Christoph Oelckers
f8899f98fc
- fixed: The secret counter was not incremented for items that had the UDMF COUNTSECRET flag set.
2013-08-28 11:14:48 +02:00
Christoph Oelckers
737708b635
- fix c++11's compile problems.
2013-08-28 08:33:11 +02:00
Braden Obrzut
0a16e9a256
- Fixed uninitialized variable in A_AlertMonsters.
2013-08-27 20:42:35 -04:00
Braden Obrzut
0fb37ca5f1
Merge branch 'maint'
2013-08-27 20:41:10 -04:00
Braden Obrzut
5079d6c505
- Fixed: clang 32-bit compile (I hear it still doesn't run though).
...
- Applied edward's patch to remove boolean increment.
2013-08-27 20:28:38 -04:00
Christoph Oelckers
4d3f6cae2e
Merge branch 'master' of https://github.com/rheit/zdoom
2013-08-27 23:53:40 +02:00
Christoph Oelckers
61af682be9
- made some alterations to last commit after reviewing how the broken code managed to get into GZDoom.
2013-08-27 23:53:14 +02:00
Christoph Oelckers
e6f571729f
- fixed: When calculating an y-texture offset the scale was multiplied with instead of divided by.
2013-08-27 23:31:23 +02:00
Randy Heit
6e018d0c07
Merge branch 'maint'
2013-08-25 17:34:20 -05:00
Edoardo Prezioso
7b5084df44
Shut up warnings from the customized DUMB code.
2013-08-25 17:33:48 -05:00
Edoardo Prezioso
ded1715625
- Merge DUMB commit d31fb2084659b64d07eb0644d9bacfd67059d066 to zdoom.
...
Fixed C++11 compilation error on Mac OS X
2013-08-25 17:33:36 -05:00
Randy Heit
064710422b
Accept empty struct and enum definitions (useless as they may be)
2013-08-24 20:32:59 -05:00
Randy Heit
80daf736ec
Accept enums and structs defined at global scope
2013-08-24 20:28:26 -05:00
Randy Heit
956d754804
DECORATE cleanup
...
- Remove some ExpVal stuff that wasn't used.
2013-08-23 22:17:08 -05:00
Randy Heit
2f7183b937
Use PField instead of PSymbolVariable for DECORATE expressions
...
- The type systems used by PField and FxExpression are completely
incompatible, but I think I got the differences taken care of as far
as ParseNativeVariable(), ParseUserVariable(), and FxClassMember are
concerned.
- Support for declaring native bool variables has been removed for the time
being. It wasn't used anyway.
- Removed PSymbolVariable.
2013-08-23 22:02:51 -05:00
Randy Heit
0d1973a659
Make PStruct::AddField() check for duplicates
...
- PStruct::AddField() now checks the symbol table for a symbol of the same
name before adding a new field. If the name is in use, it returns NULL.
2013-08-23 21:56:18 -05:00
Randy Heit
27ddaad7ca
Set PStatePointer's TypeTableType in PType::StaticInit()
...
- It was forgotten about earlier.
2013-08-23 21:54:35 -05:00
Randy Heit
263b160905
Add PFixed and PArray types
...
- These are types that are stored as integers but otherwise handled as floating point values.
2013-08-23 21:53:54 -05:00
Randy Heit
b5d37348f6
Add code generation simplification methods to PType
...
- To assist with using PType with DECORATE expression code generation,
added GetStoreOp(), GetLoadOp(), and GetRegType() to PType.
2013-08-23 21:52:04 -05:00
Randy Heit
2ec3cbddb9
Mark PType's GetValueInt method as const
2013-08-23 21:50:33 -05:00
Randy Heit
3ea0d1b444
Add VM opcodes NOP, LANG, and SANG
...
- To simplify code generation genericizing, add three new opcodes
* NOP: No-Operation
* LANG: Load Angle - load a BAM angle into a float reg as degrees
* SANG: Save Angle - store a float reg into a BEM angle, converting from degrees
2013-08-23 21:46:40 -05:00
Randy Heit
a69089ffd7
Change disassembly dumps to be controlled from one spot
...
- Instead of changing three places to turn disassembly dumps on and off,
do it with just one place. As a side effect, this now handles the case
where the dump file can't be opened.
2013-08-23 21:43:56 -05:00
Randy Heit
3f6c3fa927
Remove unused GetVariableValue()
2013-08-21 23:19:46 -05:00
Randy Heit
d798c7896c
Remove FxGlobalVariable class
2013-08-21 23:01:41 -05:00
Randy Heit
01822c002f
Use PField instead of PSymbolVariable for A_SetUserVar/Array
2013-08-21 22:58:12 -05:00
Randy Heit
6aee7833d0
Use PField instead of PSymbolVariable for SetMapThingUserData()
2013-08-21 22:51:12 -05:00
Randy Heit
5aff8156ba
Use PField and not PSymbolVariable for ACS's Get/SetUserVariable
2013-08-21 22:39:28 -05:00
Randy Heit
4cf0ef7e3f
Minor PField changes.
...
- Rename FieldOffset and FieldType so they no longer have the "Field" prefix
- Add a Flags field.
2013-08-21 22:38:05 -05:00
Randy Heit
e50c00c856
Add generic integer setters and getters for PInt and PFloat types
2013-08-21 22:36:46 -05:00
Randy Heit
6198c000af
Fix A_DropItem from merge
2013-08-21 22:31:40 -05:00
Randy Heit
fd9c450c6e
Fix merge for ACS's DropItem
2013-08-21 22:28:53 -05:00
Christoph Oelckers
8e8f6cf5a6
- A_AlertMonsters flags submission by NeuralStunner.
2013-08-20 20:33:03 +02:00
Christoph Oelckers
9f12e5928c
- removed stencil buffer check from SDL init code because it caused a crash.
2013-08-19 08:04:31 +02:00
Christoph Oelckers
b61ef3a107
- bumped minimum supported OpenGL version to 1.4. The engine was already using several 1.3 and 1.4 features which would have caused problems on 1.2.
...
- removed gl_vid_compatibility. With the bump to 1.4 no hardware requiring this flag is supported anymore.
- disabled 16 bit framebuffers for the same reason. As a conseqence all code for rendering without stencil could also be removed.
2013-08-18 15:41:52 +02:00
Christoph Oelckers
761ab4ab78
- moved all system specific code out of gl_interface.cpp into the respective Video classes (Win32GLVideo andSDLGLVideo.) (SDL side not tested yet!)
2013-08-18 14:16:33 +02:00
Christoph Oelckers
b59d82ad5b
- made win32gliface.cpp more readable.
2013-08-18 12:38:38 +02:00
Christoph Oelckers
0a62e177d1
Merge branch 'master' of https://github.com/rheit/zdoom
2013-08-18 12:20:38 +02:00
Christoph Oelckers
3e4678765b
Merge branch 'master' into scripting
...
Conflicts:
src/actor.h
src/thingdef/thingdef_codeptr.cpp
2013-08-18 12:18:59 +02:00
Christoph Oelckers
116defbb35
- fixed: LookForEnemiesInBlock needs to check for MF7_NEVERTARGET.
2013-08-18 09:11:40 +02:00
Randy Heit
5fe5fe7c51
Merge branch 'scripting' of github.com:rheit/zdoom into scripting
2013-08-14 22:15:28 -05:00
Randy Heit
cf87d0f1e9
Use PFunction instead of PSymbolActionFunction in DECORATE parser
2013-08-14 22:00:16 -05:00
Randy Heit
aba691ad72
Implement NewClassPointer()
2013-08-14 21:59:10 -05:00
Randy Heit
8fbb4b90fb
Add some flags for PFunction
2013-08-14 21:56:21 -05:00
Randy Heit
ed1c22186f
Add PStatePointer type
2013-08-14 21:53:03 -05:00
Christoph Oelckers
42c9b68d47
Merge branch 'master' of https://github.com/rheit/zdoom
2013-08-14 00:32:35 +02:00
Christoph Oelckers
62830f7927
- added separate automap color for non-counting monsters.
...
- fixed: using a nonexistent CVAR in a ColorPicker menu item caused a crash.
2013-08-14 00:32:05 +02:00
Christoph Oelckers
c8b4fb0d3d
- added a 'closemenu' CCMD so that menu options that close the menu can be added.
2013-08-13 21:09:46 +02:00