1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00

80 Commits

Author SHA1 Message Date
Samo Pajk
c32f654678 Fixed bug where Event would crash if delegate was removed during event raise.
Added Contains method to GameComponentCollection.
Added Support for drawing triangle fans.
Added gitignore.
2013-06-22 11:41:56 +02:00
Samo Pajk
8819987253 Changes:
- cleaned RenderTarget2D code.
- fixed graphics device bug when switching from rendertarget to backbuffer.

git-svn-id: http://xni.googlecode.com/svn/XNI@129 ac433895-eea3-a490-d80a-17149a75e588
2012-11-29 10:03:33 +00:00
Matej Jan
4409443ae0 Game music now dynamically stops/starts during runtime if you turn on/off your own music.
git-svn-id: http://xni.googlecode.com/svn/XNI@128 ac433895-eea3-a490-d80a-17149a75e588
2012-11-26 16:24:56 +00:00
Matej Jan
705dc046c7 Device orientation changes for iOS 6.
git-svn-id: http://xni.googlecode.com/svn/XNI@126 ac433895-eea3-a490-d80a-17149a75e588
2012-11-20 10:40:35 +00:00
Matej Jan
0854d703f3 Fixed bug with spacing in sprite font measure method.
git-svn-id: http://xni.googlecode.com/svn/XNI@124 ac433895-eea3-a490-d80a-17149a75e588
2012-10-26 15:59:09 +00:00
Matej Jan
9c8ed11ac6 Fixed buffers that didn't clean up after themselves.
git-svn-id: http://xni.googlecode.com/svn/XNI@123 ac433895-eea3-a490-d80a-17149a75e588
2012-10-23 21:03:00 +00:00
Samo Pajk
0b5b46e937 Changes:
- optimization for allocations
- fixed sprite font default character that was not taken into consideration

git-svn-id: http://xni.googlecode.com/svn/XNI@122 ac433895-eea3-a490-d80a-17149a75e588
2012-10-15 15:01:36 +00:00
Matej Jan
63ea4cf7e3 Fixed garbage creation in AudioContent.
git-svn-id: http://xni.googlecode.com/svn/XNI@121 ac433895-eea3-a490-d80a-17149a75e588
2012-10-12 18:24:05 +00:00
Matej Jan
08abf7ffe0 NSCoding support added to data classes.
git-svn-id: http://xni.googlecode.com/svn/XNI@120 ac433895-eea3-a490-d80a-17149a75e588
2012-10-11 21:45:34 +00:00
Matej Jan
72b6b40a2a CADisplayLink support defaults set
git-svn-id: http://xni.googlecode.com/svn/XNI@119 ac433895-eea3-a490-d80a-17149a75e588
2012-10-09 15:28:20 +00:00
Matej Jan
e2a0bf6041 CADisplayLink support for running the game loop
git-svn-id: http://xni.googlecode.com/svn/XNI@118 ac433895-eea3-a490-d80a-17149a75e588
2012-10-09 15:26:47 +00:00
Samo Pajk
4d2d2d8709 Moved initialization of GameVindow back to run method, because it caused problems with different device orientations.
git-svn-id: http://xni.googlecode.com/svn/XNI@117 ac433895-eea3-a490-d80a-17149a75e588
2012-09-28 10:16:28 +00:00
Samo Pajk
7b1889cfec Fixed property in CAEAGLLayer in order to allow OpenGL function glReadPixels() to retrieve proper values from frambuffer (IOS6 bug).
git-svn-id: http://xni.googlecode.com/svn/XNI@116 ac433895-eea3-a490-d80a-17149a75e588
2012-09-27 12:46:52 +00:00
Matej Jan
a5e7c0f9ff Lerp added to vectors.
git-svn-id: http://xni.googlecode.com/svn/XNI@115 ac433895-eea3-a490-d80a-17149a75e588
2012-09-25 11:47:02 +00:00
Matej Jan
e60555acd2 Added vectorstruct multiplication methods by components
git-svn-id: http://xni.googlecode.com/svn/XNI@114 ac433895-eea3-a490-d80a-17149a75e588
2012-09-18 12:41:48 +00:00
Matej Jan
95c733e3b6 Events now call subscribers in order of subscription
git-svn-id: http://xni.googlecode.com/svn/XNI@113 ac433895-eea3-a490-d80a-17149a75e588
2012-09-17 12:14:03 +00:00
Samo Pajk
a2ab2a84e5 Changes:
- added render to texture features (RenderTarget2D)
- optimized SpriteFont for faster access and allocations
- fixed iOS6 bug witch prevented proper device orientation 
- fixed some problems when handling touch events

git-svn-id: http://xni.googlecode.com/svn/XNI@112 ac433895-eea3-a490-d80a-17149a75e588
2012-09-15 15:33:22 +00:00
Matej Jan
0e8b503f06 Corrected initial clientBounds size for retina displays.
git-svn-id: http://xni.googlecode.com/svn/XNI@111 ac433895-eea3-a490-d80a-17149a75e588
2012-05-23 17:11:57 +00:00
Matej Jan
36b39aabd9 Fixing ignored directories
git-svn-id: http://xni.googlecode.com/svn/XNI@110 ac433895-eea3-a490-d80a-17149a75e588
2012-05-22 21:11:08 +00:00
Matej Jan
f01d44d87f Project file update
git-svn-id: http://xni.googlecode.com/svn/XNI@109 ac433895-eea3-a490-d80a-17149a75e588
2012-05-22 14:26:11 +00:00
Matej Jan
2da57896ef Xcode insists on committing XNI project.
git-svn-id: http://xni.googlecode.com/svn/XNI@108 ac433895-eea3-a490-d80a-17149a75e588
2012-05-22 14:22:14 +00:00
Matej Jan
3c6b047cb6 Added method for creating scale matrix from 3 floats.
git-svn-id: http://xni.googlecode.com/svn/XNI@107 ac433895-eea3-a490-d80a-17149a75e588
2012-05-22 12:13:24 +00:00
Matej Jan
d04d7bf8f3 All around update and fixes
git-svn-id: http://xni.googlecode.com/svn/XNI@104 ac433895-eea3-a490-d80a-17149a75e588
2012-05-14 08:40:49 +00:00
Matej Jan
e56e806481 Fixed bug on iOS5 and .x model loading
git-svn-id: http://xni.googlecode.com/svn/XNI@102 ac433895-eea3-a490-d80a-17149a75e588
2011-10-24 11:22:32 +00:00
Matej Jan
08e15ca3be Xcode 4 release target added.
git-svn-id: http://xni.googlecode.com/svn/XNI@88 ac433895-eea3-a490-d80a-17149a75e588
2011-07-29 14:46:41 +00:00
Matej Jan
2201adf68b Proper autoreleased content loading.
git-svn-id: http://xni.googlecode.com/svn/XNI@65 ac433895-eea3-a490-d80a-17149a75e588
2011-04-13 22:44:45 +00:00
Matej Jan
e539e281e9 Updated project for Xcode 4 building.
git-svn-id: http://xni.googlecode.com/svn/XNI@64 ac433895-eea3-a490-d80a-17149a75e588
2011-04-13 22:36:55 +00:00
Matej Jan
761a891017 Empty implementation added for gamer services to avoid warnings.
git-svn-id: http://xni.googlecode.com/svn/XNI@63 ac433895-eea3-a490-d80a-17149a75e588
2011-04-13 22:36:12 +00:00
Matej Jan
49293a9610 View scaling fixes to support iOS before 4.0.
Adding Game Center classes skeletons.

git-svn-id: http://xni.googlecode.com/svn/XNI@62 ac433895-eea3-a490-d80a-17149a75e588
2011-03-29 15:00:49 +00:00
Matej Jan
b212fc7d44 Completed Accelerometer support.
MediaPlayer stop corrected.

git-svn-id: http://xni.googlecode.com/svn/XNI@61 ac433895-eea3-a490-d80a-17149a75e588
2011-02-18 13:53:30 +00:00
Matej Jan
0dc35e2de2 Adding class skeleton for accelerometer support
git-svn-id: http://xni.googlecode.com/svn/XNI@60 ac433895-eea3-a490-d80a-17149a75e588
2011-02-15 16:13:14 +00:00
Matej Jan
c5907f6b97 Support for showing modal windows that interrupt game loop (achievements, leaderboards).
git-svn-id: http://xni.googlecode.com/svn/XNI@59 ac433895-eea3-a490-d80a-17149a75e588
2011-02-15 16:10:02 +00:00
Matej Jan
216ff5773a Added support for preferedBackBufferWidth and Height.
git-svn-id: http://xni.googlecode.com/svn/XNI@56 ac433895-eea3-a490-d80a-17149a75e588
2011-02-04 22:19:35 +00:00
Matej Jan
74ccf177c5 Adding missing folders
git-svn-id: http://xni.googlecode.com/svn/XNI@55 ac433895-eea3-a490-d80a-17149a75e588
2011-02-01 15:47:13 +00:00
Matej Jan
2adbc50363 Song support added.
git-svn-id: http://xni.googlecode.com/svn/XNI@53 ac433895-eea3-a490-d80a-17149a75e588
2011-01-18 15:00:30 +00:00
Matej Jan
7cd74d182f Game components handling updated to enable change of order during update. Various leaks removed.
git-svn-id: http://xni.googlecode.com/svn/XNI@52 ac433895-eea3-a490-d80a-17149a75e588
2011-01-15 02:05:37 +00:00
Matej Jan
1ca44f0f04 Audio support added
git-svn-id: http://xni.googlecode.com/svn/XNI@50 ac433895-eea3-a490-d80a-17149a75e588
2010-12-15 08:55:39 +00:00
Matej Jan
2f0bc9f91a SoundEffect support implemented.
git-svn-id: http://xni.googlecode.com/svn/XNI@49 ac433895-eea3-a490-d80a-17149a75e588
2010-12-15 08:51:44 +00:00
Matej Jan
796a3a85f3 SoundEffect support implemented.
git-svn-id: http://xni.googlecode.com/svn/XNI@48 ac433895-eea3-a490-d80a-17149a75e588
2010-12-15 08:49:58 +00:00
Matej Jan
b004f83f03 Data classes updated. Graphics device multisampling implementation started.
git-svn-id: http://xni.googlecode.com/svn/XNI@47 ac433895-eea3-a490-d80a-17149a75e588
2010-12-14 23:28:16 +00:00
Matej Jan
ea418ea5c3 Lots of leaks fixed and expanded all data classes with equals, set, NSCopying. XniPoint (XNA's Point class) added.
git-svn-id: http://xni.googlecode.com/svn/XNI@43 ac433895-eea3-a490-d80a-17149a75e588
2010-12-08 04:57:47 +00:00
Matej Jan
d5b2897d8b Added 3D Model support.
git-svn-id: http://xni.googlecode.com/svn/XNI@42 ac433895-eea3-a490-d80a-17149a75e588
2010-11-30 23:26:03 +00:00
Matej Jan
14d015cfbb Enabled multitouch and corrected fixed timestep reporting.
git-svn-id: http://xni.googlecode.com/svn/XNI@40 ac433895-eea3-a490-d80a-17149a75e588
2010-11-15 17:23:13 +00:00
Matej Jan
de457cb4e2 Added set to vector.
git-svn-id: http://xni.googlecode.com/svn/XNI@37 ac433895-eea3-a490-d80a-17149a75e588
2010-11-03 08:58:03 +00:00
Matej Jan
ce2fb9322c A lot of work done on components and game handling (resolutions and stuff).
git-svn-id: http://xni.googlecode.com/svn/XNI@36 ac433895-eea3-a490-d80a-17149a75e588
2010-11-02 09:29:19 +00:00
Matej Jan
3194ca93e7 SpriteBatch implemented and fixed.
git-svn-id: http://xni.googlecode.com/svn/XNI@35 ac433895-eea3-a490-d80a-17149a75e588
2010-10-19 13:31:39 +00:00
Matej Jan
093802dbc4 Finished touch panel state.
git-svn-id: http://xni.googlecode.com/svn/XNI@34 ac433895-eea3-a490-d80a-17149a75e588
2010-10-01 02:36:21 +00:00
Matej Jan
7b2c58017d Renaming enums.
git-svn-id: http://xni.googlecode.com/svn/XNI@33 ac433895-eea3-a490-d80a-17149a75e588
2010-09-30 19:33:29 +00:00
Matej Jan
cb41b574bf adding input
git-svn-id: http://xni.googlecode.com/svn/XNI@32 ac433895-eea3-a490-d80a-17149a75e588
2010-09-30 19:03:48 +00:00
Matej Jan
54923fd932 Adding input support.
git-svn-id: http://xni.googlecode.com/svn/XNI@31 ac433895-eea3-a490-d80a-17149a75e588
2010-09-30 19:00:41 +00:00