Commit Graph

184 Commits

Author SHA1 Message Date
wrenczes
5799ebb0e2 Same actualWidth/Height changes for QTmain. 2010-11-02 04:08:05 +00:00
wrenczes
858950fb9d Incremental fix on my Navigator work - switched out global to JGE vars actualWidth/Height to be real accessible members of the JRenderer instance, so that we can actually access what the real display width is from within the MTG project. This makes the fix for enchantment zone targetting work when the window is resized on Win32. 2010-11-02 04:07:25 +00:00
Xawotihs
44e097e88c reduced framerate to 30 fps, stopped refreshing the UI when the window is hidden or when the screen is off. 2010-10-19 22:09:16 +00:00
wrenczes@gmail.com
d35367503d Modifications required to build against the latest (0.10.0) PSPSDK. Note that this is a breaking change, these mods are not backwards compatible with the 0.8.9 version of the PSPSDK.
To download the latest Minimalist SDK, go here:

http://sourceforge.net/projects/minpspw/
2010-10-19 08:45:36 +00:00
Xawotihs
0789d6e7e9 Activates mouse tracking 2010-10-18 20:25:01 +00:00
wrenczes@gmail.com
832f11c153 Switched the managed JQuad container implementation from a vector to a map. This speeds up the cache lookup time from O(n) to O(log n). Hard to see a noticeable difference on win, but it definitely feels snappier on my psp, for instance, when browsing your library for a card, or your graveyard, etc.
I'm also noticing that the GetQuad(int) variant never seems to get hit, so I suspect that the ID lookup map is redundant.  I left it alone as the JResourceManager base class forces the need for the function; I need to spend more time looking at just how much of JResourceManager we actually use at this point.
2010-10-17 16:54:08 +00:00
wrenczes@gmail.com
7e780e18c1 For the windows version, if running with fullscreen disabled, center the main window instead of creating it top-left all the time.
Also renamed WindowRect to windowRect & PixelFormat to pixelFormat for consistency with other locally declared variables.  (Uppercase should be reserved for class names, ie WindowRect is the class/struct, windowRect is an local object in your code.)
2010-10-16 15:28:41 +00:00
wrenczes@gmail.com
0ef555dca9 Minor tweaks to the VS2010 project files, including turning down the code analysis verbosity. 2010-10-16 15:20:27 +00:00
Xawotihs
0abe60542a Fixed Qt project on windows 2010-10-16 12:19:44 +00:00
Xawotihs
e342103204 Added support for left mouse click and zoom buttons 2010-10-10 21:58:02 +00:00
Xawotihs
75b8a0c328 Added support for left mouse click 2010-10-10 21:57:27 +00:00
Xawotihs
7439d81454 Work around issue 457, not fully fixed. 2010-10-09 10:36:42 +00:00
Xawotihs
fcb8aeaa28 Added error handling and moved glEnable(GL_TEXTURE_2D) to fix issue 484 2010-10-09 10:18:59 +00:00
Xawotihs
977257aee3 moved glEnable(GL_TEXTURE_2D) to fix issue 484 2010-10-09 10:08:59 +00:00
Xawotihs
fb484f0f00 Removed X dependency when compiled with Qt 2010-10-07 21:40:09 +00:00
wrenczes@gmail.com
df2b145a42 Minor project changes - use a vsprops file to locate the extra includes instead of requiring folks to manually copy dirent.h & stdint.h into your VC include dir. 2010-10-07 04:06:16 +00:00
wrenczes@gmail.com
9c982475fe Some minor casting issues that trip up the 0.9.6 pspsdk when compiling. 2010-10-06 09:22:44 +00:00
wrenczes@gmail.com
88ac1dd9a6 2010-10-06 08:45:55 +00:00
Xawotihs
2881543b78 added support of right and middle mouse button and also wheel mouse while I was at it. 2010-09-28 20:00:31 +00:00
Xawotihs
81cdfb8c9b basic support for a touch interfacing 2010-09-26 22:21:52 +00:00
Xawotihs
69b30b82cb - tab cleanup
- replace unix path management code by Qt one
2010-09-25 17:21:34 +00:00
linshier
5867b9679e Additional fix for issue 460. Tested on Linux. 2010-09-23 05:11:05 +00:00
wagic.the.homebrew@gmail.com
e94c070050 erwan
- long term fix for issue 460 and issue 461
2010-09-23 04:00:22 +00:00
Xawotihs
4ba8badabd - Fixed issue 460 on Linux with Qt, this configuration will still use OpenGl 1.1. Linux with Qt will use OpenGl 2.0 and thus display the bug while it's not fixed.
- Fixed issue 461 for all the platforms.
2010-09-22 22:51:49 +00:00
wagic.the.homebrew@gmail.com
3965505b15 wololo
- Adding DJardin's port to N900
2010-09-16 13:12:05 +00:00
wagic.the.homebrew@gmail.com
1332842025 Erwan
- bug fix in JGE++ audio (improve HBL compatibility)
- Added new rewards in story mode: random card, card (either by "name" or id), specific set
- Story mode: added possibility to choose music, and bg for duel.
-- See "01. Where it all begins" for examples of new features
2010-07-19 13:44:26 +00:00
wagic.the.homebrew@gmail.com
fd8645d1a4 Erwan
- JGE updates : main accepts argv/argc. Compilation variables for MP3 and Network support
- Minor fix in Wagic (potentially fixes crashes when using activated abilities several times in onr turn. Couldn't reproduce the issue)
2010-07-11 10:56:12 +00:00
wagic.the.homebrew@gmail.com
5cbc8e4b4a Erwan
- fix issue 425 (Echo)
2010-06-21 12:25:38 +00:00
jean.chalard
f14f56b9ce J :
* Fix 64-bit compilation
2010-06-13 09:38:58 +00:00
wagic.the.homebrew@gmail.com
d756005093 Erwan
- fix for issue 390 (tokens available in shop)
- added "log" features in makefile
2010-06-12 06:06:27 +00:00
wagic.the.homebrew@gmail.com
ded3736c6b Erwan
-fix issue 410
2010-05-07 12:46:00 +00:00
wagic.the.homebrew@gmail.com
0149512412 Erwan
- fixed bugs introduced in revision 2034 (Giant Growth)
- Extended Story mode xml: much easier to write basic thing, font selection, possibility to position answers, answers now in correct order
- moved story in the menu because it is not major for now
2010-05-06 13:47:56 +00:00
jean.chalard
ef16aa45a1 J :
* Little compilation problem fix.
2010-05-04 16:18:56 +00:00
wagic.the.homebrew@gmail.com
b0e92d68a8 Erwan
-missing files (JLogger)
2010-04-26 22:47:46 +00:00
wagic.the.homebrew@gmail.com
a3cbbedd3c Erwan
- fix issue 392 (broken tests)
- Fix a bunch of memory leaks (guys please be careful!)
- Added Logging facility in JGE
- HBL Compatibility (cleaned up some code with MP3 in JGE)
- Added "winGame" ability. Currently used mostly by the story mode, but some cards could probably need it too
- Improved story mode and uncommented it from the source.
-- The current campaign is of course very basic, anybody who wants to improve it or create other ones feel free to do so
-- TODO (short term): save progress, rewards system, improve tutorial campaign
-- I'll talk a bit more about this on the forums/email after a night of sleep
2010-04-26 14:27:34 +00:00
wagic.the.homebrew@gmail.com
e273ade745 Erwan
-daily build (1942)
2010-02-28 13:35:52 +00:00
jean.chalard
db49a49a78 J :
* Remove the binding for HOME from the default bindings.
  (this key cannot be detected or used anyway)
2010-02-28 13:24:29 +00:00
jean.chalard
c2549af81d J :
* Make the FULLSCREEN function bindable on platforms that support it.
* Linux has F as default binding.
* Windows support is not implemented, but is there ; applications will
  just not suggest it under windows for the moment.
2010-02-28 12:31:51 +00:00
jean.chalard
ee689e2fce J :
* Remove default bindings for keys we don't use.
2010-02-27 16:01:08 +00:00
jean.chalard
2ef8fa338c J :
* Fix issue 340 for good.
* On X systems this still depends on a working X detectable repeat,
  which is not the case in stable releases of some popular linux
  distributons at this time. This is expected to be fixed soon.
  I haven't chosen yet whether I wait for the fix on X side or if
  I work around the bug.
2010-02-27 10:57:32 +00:00
jean.chalard
80fdb0a38f J :
* Mostly fix issue 340.
* There are still detail problems :
  - There are still problems when two keys are pressed at the same time.
    This is not a release blocker ; what happens exactly is :
    while maintaining two keys, when one is released, the enqueued
    autorepeat keypresses for the others are flushed too. I don't
    think anyone will notice but for the sake of correctness I'll fix
    it.
  - A bug in xorg prevents the linux version to work correctly at the
    moment. The bug is current as of 2009/08 and fixed as of 2010/01,
    but major releases still include the bug at this time, so I'll
    have to work around it somehow.
  - I expect the windows version to work, but I can't test it.
  - I'll test on mac later today.
2010-02-26 03:08:20 +00:00
jean.chalard
4248ddd3a0 J :
* Preparation for auto-repeat-stopping code.
2010-02-25 20:00:53 +00:00
jean.chalard
79d142f968 J :
* Some cosmetic cleanup.
* Have the unix version report analog control the same way the
  windows version does.
* Move back Run() into JGE::Run(). The code for ::Run() is still
  inside main.cpp.
  - This fixes the "blinking screen problem", issue 341. I think.
  - I have no idea WHY it does, but it's better than not fixing it.
  - Run() would be better in ::Run() in main.cpp than in JGE, should
    be moved back when we know more about the problem.
2010-02-24 18:28:36 +00:00
jean.chalard
39c5a3d465 J :
* Fix u32 into JButtons.
* Add a few comments.
* Remove useless variables.
2010-02-24 17:28:17 +00:00
jean.chalard
ad933ecdf6 J :
* Change the name of a define to harmonize stuff.
2010-02-18 20:09:19 +00:00
jean.chalard
e40691411a J :
* Don't forget to enqueue unbound keys.
2010-02-18 18:05:19 +00:00
jean.chalard
3c1377fe47 J :
* Re-add the ReadLocalKey function that I had forgotten to
  re-implement with the key bindings.
2010-02-18 07:18:21 +00:00
wagic.the.homebrew@gmail.com
d6fd768248 Erwan
-cosmetic change to JGE makefile
2010-02-16 13:09:22 +00:00
jean.chalard
3bb13aa81c J :
* Attempt at making windows happy
2010-02-16 12:32:39 +00:00
wagic.the.homebrew@gmail.com
e4c3cdbe3d Erwan
-JGUI Bugfix
2010-02-16 11:37:05 +00:00