Tom Rothamel
9483a7daa5
Back out changes. Release 6.12.0f.
2011-03-31 18:46:01 -04:00
Tom Rothamel
89d93544a7
Fix bug in new prediction.
2011-03-31 17:52:10 -04:00
Tom Rothamel
5f08daa85a
Fix problems w/ newer cython caused by no-longer-necessary forward
...
declaration.
2011-03-24 22:27:26 -04:00
Tom Rothamel
d891dd290c
Merge smartshow branch.
2011-03-21 00:11:56 -04:00
Tom Rothamel
0b366f6850
Document side_image.
2011-03-21 00:07:28 -04:00
Tom Rothamel
899bf47d34
Fix lint to work with screens.
2011-03-20 23:52:59 -04:00
Tom Rothamel
888c485186
Implement the new side image code.
2011-03-20 20:31:37 -04:00
Tom Rothamel
dbbabbb2dc
More eclipse annotations.
2011-03-20 14:17:39 -04:00
Tom Rothamel
7a38331f8c
Fix/Annotate errors and warnings produced by PyDev.
2011-03-20 12:25:56 -04:00
Tom Rothamel
0dbcb352c9
Implement say with image attributes.
2011-03-19 21:29:38 -04:00
Tom Rothamel
1ab0b43202
Refactor images; Add image attributes.
2011-03-15 00:48:14 -04:00
Tom Rothamel
106d95e795
Implement keep_running_transform.
2011-03-06 15:18:55 -05:00
Tom Rothamel
cf9005e457
Early work on keep_running_transform.
2011-03-05 11:32:57 -05:00
Tom Rothamel
be7fd4fa13
Refactor image-like code out of image.py.
2011-03-01 23:23:00 -05:00
Tom Rothamel
b0f848b089
Add xcenter and ycenter style and transform properties.
2011-02-23 23:42:33 -05:00
Tom Rothamel
07077e89b1
Add renpy.vibrate.
2011-02-21 23:26:14 -05:00
Tom Rothamel
bc2a0451db
Finish bumps to 6.12.1.
2011-02-15 22:19:46 -05:00
Tom Rothamel
4e38257900
Distribute bumps the vc_version file, which is read by __init__.py to
...
compute the advertised version.
2011-02-15 22:13:58 -05:00
Tom Rothamel
f934838a59
Tree cleanup.
2011-02-15 21:43:19 -05:00
Tom Rothamel
ee0fb68d60
Licenxe fixes. Better behavior for Frames with overly-big corners.
2011-02-08 20:32:39 -05:00
Tom Rothamel
37e8fd19cd
Set _last_say_window at the start of a say statement.
2011-02-07 09:54:54 -05:00
Tom Rothamel
f600e6a24b
Remove texture unit check.
2011-02-06 17:38:30 -05:00
Tom Rothamel
ca9009f5fe
Fix problems with menu prediction. Doc/screen fixes.
2011-02-06 16:09:40 -05:00
Tom Rothamel
9a299a9b38
Make chosen work.
2011-02-06 10:51:20 -05:00
Tom Rothamel
845ae6e7ba
Add FileSlotName.
2011-02-06 09:48:03 -05:00
Tom Rothamel
8f706107ac
6.12.0d
2011-02-05 21:28:37 -05:00
Tom Rothamel
d489199e00
Screen tweaks, doc fixes.
2011-02-05 21:06:39 -05:00
Tom Rothamel
bf023dc2e3
Only select FileSave if confirm=True.
2011-02-05 20:17:00 -05:00
Tom Rothamel
ac6b04b5e3
Add FilePageName.
2011-02-05 16:53:14 -05:00
Tom Rothamel
a34de5d601
Predict main_menu while in splashscreen.
...
Better logging on image cache misses.
Minor bug/doc fixes.
2011-02-05 13:58:15 -05:00
Tom Rothamel
b9900776a8
Fix choice example
2011-02-03 23:53:57 -05:00
Tom Rothamel
12a444c11f
Bump version.
2011-02-03 22:14:29 -05:00
Tom Rothamel
433473e53e
No predict when a movie is playing; image cache debugging; gl debugging.
2011-02-03 21:39:57 -05:00
Tom Rothamel
d5f889767a
Multiple changes.
...
* Change how chosen choices are reported to screens.
* Don't use raw pygame to report an error.
* Check in the documentation includes.
2011-02-03 00:20:03 -05:00
Tom Rothamel
9873dd487c
Don't go fullscreen on Android.
2011-02-02 00:30:44 -05:00
Tom Rothamel
ec8bed61f1
Add xminimum property. Rewrite compute_subrect as compute_subline, which
...
winds up with clearer code.
2011-02-02 00:24:48 -05:00
Tom Rothamel
d76971385d
Fix typos. (Thanks backansi.)
2011-01-30 21:50:36 -05:00
Tom Rothamel
b87fed5541
Remove unnecessary change.
2011-01-30 20:46:41 -05:00
Tom Rothamel
bd8d3dbc38
Use the 6.11.2 (hacky) frame code when using the software renderer, to
...
prevent visual artifacts.
2011-01-30 20:38:14 -05:00
Tom Rothamel
6022e3fa2b
Fixes.
2011-01-30 19:47:49 -05:00
Tom Rothamel
c5c8a6e20e
Allow unicode in ATL.
2011-01-30 09:19:21 -05:00
Tom Rothamel
3306bc848a
Start work on b.
2011-01-30 09:03:36 -05:00
Tom Rothamel
2911ef54e5
Fix UTF-8 code.
2011-01-30 08:35:54 -05:00
Tom Rothamel
cc54d1970b
Windows & Distribution fixes.
2011-01-29 18:26:49 -05:00
Tom Rothamel
e6915fffd3
Ensure that we can load Matrix2Ds.
2011-01-29 12:16:36 -05:00
Tom Rothamel
964d746f6d
Move yesno_prompt back to 6.11 location.
2011-01-29 10:44:33 -05:00
Tom Rothamel
de6af43d74
Bump copyright year.
2011-01-29 09:27:48 -05:00
Tom Rothamel
0dc1a6e46c
Android docs.
2011-01-29 00:23:53 -05:00
Tom Rothamel
4098830804
Prevent get_screenshot from returning None.
2011-01-28 00:29:48 -05:00
Tom Rothamel
304ab15b8f
Doc and tutorial additions/fixes.
2011-01-28 00:26:24 -05:00
Tom Rothamel
16fa9410db
Pixel opacity can't be determined in GLES mode - so don't bother trying.
2011-01-28 00:10:38 -05:00
Tom Rothamel
9ff69de20c
Kill a possible INVALID_ENUM error.
2011-01-27 21:51:14 -05:00
Tom Rothamel
cd50f1ee86
Document snowblossom.
2011-01-27 19:07:19 -05:00
Tom Rothamel
195f3d6130
Documentation; Particle fix; Sprite demo.
2011-01-27 18:36:10 -05:00
Tom Rothamel
89d8622f6f
Typo fix in tutorial. Change how we setup modulefinder.
2011-01-27 01:58:18 -05:00
Tom Rothamel
d71e054eb4
Changes to import so that we can build packages.
2011-01-27 01:17:27 -05:00
Tom Rothamel
48a648eecd
A far more minimial solution.
2011-01-27 00:07:16 -05:00
Tom Rothamel
63268d079e
Remove the clipper from the software renderer, as it was causing problems
...
with transformed scaled images.
2011-01-26 23:24:54 -05:00
Tom Rothamel
743d5ca81a
Add starfield effect.
2011-01-26 16:30:44 -05:00
Tom Rothamel
dffb33c8e0
Fix the demo.
2011-01-25 21:36:11 -05:00
Tom Rothamel
a6ea0931dd
Fix Philippines flag orientation.
...
Never trust mugenjohncel.
2011-01-24 23:33:36 -05:00
Tom Rothamel
17016c0eb2
Fix bugs, tweak memory usage.
2011-01-24 23:33:31 -05:00
Tom Rothamel
67c703d934
Use big textures for RTT.
2011-01-24 22:28:58 -05:00
Tom Rothamel
c163d1c936
Add focus_mask to screen language.
2011-01-24 21:12:33 -05:00
Tom Rothamel
e3c15a2c58
Automatically size the window on initial load.
2011-01-24 19:28:43 -05:00
Tom Rothamel
dfc149f292
Use glrtt fbo to render to textures.
...
Fix problem w/ rtt format.
2011-01-23 23:57:49 -05:00
Tom Rothamel
627ba65b9a
Partially fix distribute, fixes for android.
2011-01-22 21:02:57 -05:00
Tom Rothamel
a92170d88a
Various fixes required to fix the Ren'Py tutorial.
2011-01-22 13:35:26 -05:00
Tom Rothamel
503653cb5e
Fix sound problem.
2011-01-22 10:55:47 -05:00
Tom Rothamel
68c277ff9a
Cleanup after merging.
2011-01-21 23:13:22 -05:00
Tom Rothamel
7b171b4f9b
Spacing.
2011-01-21 22:42:34 -05:00
Tom Rothamel
30956e4c58
Rewrite the code that writes bytecode.rpyb, so that it uses md5 hashes
...
so that we don't have to recompile the code every time Ren'Py is
upgraded. (This matters on android.)
2011-01-21 22:36:40 -05:00
Tom Rothamel
6a956aacab
Ren'Py now treats filenames as if they were case-insensitive. This
...
means that filename mismatches on Linux should no longer be a problem.
2011-01-21 00:20:33 -05:00
Tom Rothamel
681c845e2d
Fix ordering problem the meant a parent's per_interact could be called
...
before its children's.
Fix lp:680266.
2011-01-19 23:45:07 -05:00
Tom Rothamel
11594ef5e8
Fix problems with SnowBlossom/Particles.
2011-01-19 00:19:21 -05:00
Tom Rothamel
28f06291db
sl: add spacing
2011-01-18 23:04:14 -05:00
Tom Rothamel
c6937698ed
Fix screen prediction, especially for menus.
...
Rewrote tutorial to use an imagemap-screen.
2011-01-18 21:01:21 -05:00
Tom Rothamel
15f85c8b80
Merge with mainline.
2011-01-17 23:04:27 -05:00
Tom Rothamel
7fd5695f83
More build tweaks.
2011-01-17 23:03:18 -05:00
Tom Rothamel
952880287b
Change how we version the module.
2011-01-17 22:01:44 -05:00
Tom Rothamel
f76c7cf25a
Lower the double-click to quit time to .75 seconds, to prevent confusion.
2011-01-16 14:03:17 -05:00
Tom Rothamel
7c14b4d381
Fix bug that prevented canvas from working in GL mode.
2011-01-16 13:59:42 -05:00
Tom Rothamel
c67389f0a3
Fix dbz in audio code.
2011-01-16 11:13:35 -05:00
Tom Rothamel
219994ced2
Fix problems switching from sw -> gl, in 00gltest.
2011-01-15 23:21:28 -05:00
Tom Rothamel
274f08807e
Allow Ren'Py to run on ancient OpenGL implementations.
2011-01-15 21:35:03 -05:00
Tom Rothamel
7601b4d3da
Ensure Ren'Py can start even when OpenGL is missing.
2011-01-15 20:13:56 -05:00
Tom Rothamel
05d14b4bfd
Fix im.matrix.colorize.
2011-01-15 19:24:24 -05:00
Tom Rothamel
c5b63fd1c5
Fix get_screenshot regression.
2011-01-15 19:05:58 -05:00
Tom Rothamel
0bb6a926b2
Add config.screenshot_callback.
2011-01-15 18:54:38 -05:00
Tom Rothamel
0124eacb15
Add hovered and unhovered to Bar.
...
Remove spritemanager sl statement.
2011-01-15 18:19:04 -05:00
Tom Rothamel
7ac06761d6
Add MouseArea/mousearea. Add spritemanager to screen language.
2011-01-15 16:59:47 -05:00
Tom Rothamel
c8c6226045
Add screen prediction to say, menu, and call screen statements, and
...
to several Actions.
2011-01-15 13:53:58 -05:00
Tom Rothamel
507d9610c7
Implement screen variants.
2011-01-15 00:10:53 -05:00
Tom Rothamel
5f4075fc35
Add NVL screen.
2011-01-14 09:39:07 -05:00
Tom Rothamel
514571cc80
Fix problems with options and shift+R reloading.
2011-01-13 01:09:51 -05:00
Tom Rothamel
6ff34b71cf
Round stencil box coordinates more accurately.
2011-01-13 01:06:09 -05:00
Tom Rothamel
37416daa53
Fixes for menu screens.
2011-01-13 00:20:23 -05:00
Tom Rothamel
6bd5401633
Make the tutorial game use screens; improve screen support as necessary.
2011-01-12 23:59:25 -05:00
Tom Rothamel
ea6b9571b5
Fixed software rendering / transform for now. This required ensuring that
...
there is always a 2-pixel band around the border of each image, up from
the previous 1-pixel border.
2011-01-10 02:06:00 -05:00
Tom Rothamel
bd7c403986
Rewrite Solid and Frame so that they use the GPU to do scaling. Frame
...
no longer requires its argument to be an image manipulator.
2011-01-09 22:44:14 -05:00
Tom Rothamel
99417726ce
Prediction of screens.
2011-01-09 18:14:52 -05:00
Tom Rothamel
4319e542f7
Add accessor for prefixed style properties.
...
Add prediction for images used in windows, buttons, and bars.
2011-01-09 00:25:44 -05:00
Tom Rothamel
61d8445949
Rewrote image prediction code.
2011-01-08 23:42:13 -05:00
Tom Rothamel
743095064d
Update logging.
2011-01-08 01:41:29 -05:00
Tom Rothamel
efa12ab5a6
Add logging infrastructure.
2011-01-08 01:15:39 -05:00
Tom Rothamel
b49b1b392c
Action prediction code.
2011-01-08 00:16:16 -05:00
Tom Rothamel
09e54e9915
Doc fix.
2011-01-07 23:39:14 -05:00
Tom Rothamel
373d175f2d
Make imagemap caching configurable on a per-screen basis.
2011-01-04 01:57:10 -05:00
Tom Rothamel
5f3955a04a
Cache imagemap hotspots to disk.
2011-01-04 01:37:33 -05:00
Tom Rothamel
98c0e51527
Document images and image manipulators.
2011-01-01 01:03:43 -05:00
Tom Rothamel
8b3a6e8fc6
Checkin to merge docs from wrong place.
2011-01-01 00:47:13 -05:00
Tom Rothamel
b2d2e8ba7e
Brillantly documented im.py in the wrong place. Checking in for a merge.
2011-01-01 00:46:29 -05:00
Tom Rothamel
f1efced19c
merge from trunk
2010-12-29 23:54:46 -05:00
Tom Rothamel
5b09dfc80c
merge from trunk
2010-12-29 23:54:22 -05:00
Tom Rothamel
39f91a4368
Doc work
2010-12-29 23:52:37 -05:00
Tom Rothamel
3b6c9bde63
Fix sprites and add documentation.
2010-12-29 00:57:54 -05:00
Tom Rothamel
1df05ea53e
fix bug when computing determinant.
2010-12-29 00:34:33 -05:00
Tom Rothamel
3e9aee1c6f
Documentation.
2010-12-28 00:09:13 -05:00
Tom Rothamel
5231a460da
Document Drag and Drop.
2010-12-26 21:10:31 -05:00
Tom Rothamel
e6b3b36df9
Tweak sphinx building to handle methods; add (some) docs to dragdrop.
2010-12-25 10:13:22 -05:00
Tom Rothamel
060d510658
Random tweaks to work better with cardgame.
2010-12-25 02:34:23 -05:00
Tom Rothamel
3b21a4aa97
Redo joining support to be a better design; add clicked, hovered, and
...
unhovered to drag and drop.
2010-12-24 16:19:26 -05:00
Tom Rothamel
4824b44950
Added joins to achieve reasonably working drag and drop.
2010-12-24 01:25:31 -05:00
Tom Rothamel
988a92d4a5
Drag and drop uses style prefixes.
2010-12-23 11:21:53 -05:00
Tom Rothamel
378e2e61bd
Implement drag & drop callbacks.
2010-12-23 01:29:23 -05:00
Tom Rothamel
eb94a7d9bb
Implement drag groups.
2010-12-23 00:40:25 -05:00
Tom Rothamel
fe2ba07a57
Remember drag position.
2010-12-22 01:12:57 -05:00
Tom Rothamel
2788b12eb2
Add drag to SL and UI, restrict positions to the screen.
2010-12-21 00:01:59 -05:00
Tom Rothamel
265b553b4e
Initial working drag and drop code.
2010-12-20 22:39:55 -05:00
Tom Rothamel
5f800681aa
Make field presentable, preventing a memory leak.
2010-12-16 21:56:50 -05:00
Tom Rothamel
890c9cf591
Delete the correct file on restart.
2010-12-16 11:29:23 -05:00
Tom Rothamel
2c356b80ed
Reset clear color to black.
2010-12-15 23:20:00 -05:00
Tom Rothamel
cc097ba7da
Use glScissor for clipping.
2010-12-15 23:12:08 -05:00
Tom Rothamel
78401f1c4a
implement config.linear_saves_page_size
2010-12-14 21:43:48 -05:00
Tom Rothamel
8802363544
implement config.linear_saves_page_size
2010-12-14 21:39:51 -05:00
Tom Rothamel
05388c3733
Setup android keymap.
2010-12-14 11:51:54 -05:00
Tom Rothamel
8f84301b39
Android fixes.
2010-12-12 16:26:05 -05:00
Tom Rothamel
774ba5d990
Merge changes from lp:renpy.
2010-12-05 16:46:21 -05:00
Tom Rothamel
6bf0cd93d1
Merge bug fixes.
2010-12-05 16:43:56 -05:00
Tom Rothamel
7f63c26348
Since OpenGL ES doesn't support ClipPlanes, don't use them.
2010-12-05 13:04:22 -05:00
Tom Rothamel
bce3e6ede1
More android fixes.
2010-12-05 00:17:48 -05:00
Tom Rothamel
4f642041f9
Change how reloading a game works.
...
Other minor android-related fixes.
2010-12-04 00:49:02 -05:00
Tom Rothamel
b990b2768c
Implement fast dissolve, config.simulate_android.
2010-11-29 22:28:42 -05:00
Tom Rothamel
53b8d37d8c
Android fixes.
2010-11-28 16:29:47 -05:00
Tom Rothamel
db9f63c2d9
Sound on Android Ren'Py.
2010-11-23 12:00:47 -05:00
Tom Rothamel
87df4ff487
Add power management support.
2010-11-16 23:08:49 -05:00
Tom Rothamel
f0fe459460
GLES Video Working.
2010-11-14 23:02:07 -05:00
Tom Rothamel
f71a35751a
Fix problem with texture signedness.
2010-11-08 19:39:32 -05:00
Tom Rothamel
2458d9cbb3
Starting to display using GLES.
2010-11-07 22:15:15 -05:00
Tom Rothamel
81c6d33005
Limited environment.
2010-11-06 23:54:56 -04:00
Tom Rothamel
dba5c20e34
Use RGBA instead of BGRA.
2010-11-05 22:34:38 -04:00
Tom Rothamel
c2eddb21e5
Android work.
2010-11-04 00:06:55 -04:00
Tom Rothamel
de1d289670
Better fix.
2010-11-01 08:01:12 -04:00
Tom Rothamel
623201fd75
fix crash bugs
2010-10-31 23:18:29 -04:00
Tom Rothamel
2f900b6bc7
Bump minimum GL version to 1.3. Rewrite drawing to use array-based functions that are supported by OpenGL ES.
2010-10-31 23:10:48 -04:00
Tom Rothamel
375af0cccd
6.11.2b
2010-10-26 22:12:50 -04:00
Tom Rothamel
8ae8e887f5
Fix a bug in Frame that can cause an image to be drawn more than once
...
a border size is 0.
2010-10-24 18:06:36 -04:00
Tom Rothamel
201b6432c4
6.11.2a
2010-10-24 14:59:33 -04:00
Tom Rothamel
fc10bbf6b6
Update themes code to support Aleema's new themes.
2010-10-23 14:14:27 -04:00
Tom Rothamel
1c82c71aea
Defensively code adding an event to the queue.
2010-10-23 00:13:53 -04:00
Tom Rothamel
a59abd3135
Rewrote MoveTransition to deal with changes in order more gracefully.
2010-10-22 01:15:41 -04:00
Tom Rothamel
a51633b511
Fixed :lpbug:647324, where ImageDissolves are rendered as if
...
specified with alpha=True whether or not alpha=True was set.
2010-10-21 23:26:41 -04:00
Tom Rothamel
2b40d265f9
Search for environment.txt in the directory containing the mac .app file.
2010-10-21 22:56:54 -04:00
Tom Rothamel
734b5b02f8
Buttons now only pass key events to their children when they are
...
focused. This allows a screen language key statement to be used as the
child of a button, and only activate when the button is focused.
2010-10-21 22:34:44 -04:00
Tom Rothamel
4120434e5a
Add four themes contributed by Aleema.
2010-10-21 20:15:49 -04:00
Tom Rothamel
6d9c4dc6d9
Preserve statement names over more changes.
2010-10-21 19:47:21 -04:00
Tom Rothamel
ce94a1360a
Fixed a problem that prevented AnimatedValue from functioning properly
...
when delay was not 1.0. Thanks to Scout for the fix.
2010-10-20 01:09:56 -04:00
Tom Rothamel
27a61f4faf
Proofreading by Doomfest.
2010-10-20 00:57:07 -04:00
Tom Rothamel
36f50a482b
Deallocate movie surface when a movie is not playing, to prevent the last frame of the previous movie.
2010-10-20 00:47:10 -04:00
Tom Rothamel
28d681b29b
Change movie drawing so that we use swscale to convert to RGB, rather
...
than the SDL stuff. The SDL was broken when video resize was used.
2010-10-20 00:38:32 -04:00
Tom Rothamel
ddb53bfce1
Fixed :lpbug:661983, which caused insensitive hotspots to default to
...
the idle, rather than ground, image when no insensitive image was
supplied.
2010-10-17 02:02:33 -04:00
Tom Rothamel
81414254f9
The maximum default physical size of the Ren'Py window is now 102
...
pixels smaller than the height of the screen.
2010-10-16 23:33:14 -04:00
Tom Rothamel
4af4481a17
Fixed launchpad bug 647686, a regression that prevented sounds from looping properly.
...
Added lpbug documentation reference.
2010-10-16 19:06:28 -04:00
Tom Rothamel
1e6e0f0800
Fix spritemanager when st=0, add destroy_all method.
2010-10-11 18:20:48 -04:00
Tom Rothamel
f1cff045e1
Better handle the overloading of Return().
2010-10-09 18:13:11 -04:00
Tom Rothamel
b3b3c55473
Factor environments and RTTs out into their own files, so we don't have
...
to compile them for Android.
2010-10-09 13:50:34 -04:00
Tom Rothamel
7f2c6fd977
Fix software rendering.
2010-10-09 13:22:10 -04:00
Tom Rothamel
59338d3ae3
Eliminate the use of the tegl and pysdlgl modules.
2010-10-09 12:41:55 -04:00
Tom Rothamel
98a5647f97
Convert glenviron and glshader to use GL directly.
2010-10-09 11:26:41 -04:00
Tom Rothamel
5d11642776
Convert gldraw and gltexture to use GL directly.
2010-10-09 10:52:11 -04:00
Tom Rothamel
297277451f
Use the TEGL infrastructure to auto-generate gl.pxd. (The result is
...
checked in for convenience's sake.)
2010-10-09 02:37:12 -04:00
Tom Rothamel
d5ec269811
Rewrite Particles in terms of SpriteManager.
2010-10-09 00:25:58 -04:00
Tom Rothamel
02bbe29ccb
Finished sprite manager.
...
Expose python objects in store.
2010-10-08 18:48:39 -04:00
Tom Rothamel
3844ace955
New SpriteManager.
2010-10-08 01:04:20 -04:00
Tom Rothamel
3715a03598
Checkpoint.
2010-10-06 00:25:07 -04:00
Tom Rothamel
82c695a199
make buildable
2010-10-05 23:09:11 -04:00
Tom Rothamel
09ff58a1a6
Add a gc-based to checking for memory leakes in Renders.
2010-10-05 22:58:53 -04:00
Tom Rothamel
0fbe522235
More speedup of transform_render.
2010-10-03 23:57:21 -04:00
Tom Rothamel
cc38b5e5c3
Add missing files.
2010-10-03 23:09:32 -04:00
Tom Rothamel
c6101f5565
More improvements.
2010-10-03 23:09:18 -04:00
Tom Rothamel
f4e50ae4d8
Add config.imagereference_respects_position. When set to False, ImageReference
...
ignores positions in its styles - much faster.
2010-10-03 18:21:37 -04:00
Tom Rothamel
3f42edbb08
Add some types to draw_render_textures.
2010-10-03 18:04:18 -04:00
Tom Rothamel
c63ff665b2
Checkpointing work.
2010-10-03 17:06:23 -04:00
Tom Rothamel
230ef6d4ca
Add pxds.
2010-10-02 20:52:43 -04:00
Tom Rothamel
9d1783f4d6
Checkpoint progress.
2010-10-02 20:52:23 -04:00
Tom Rothamel
99d14d9521
Improve the speed of the render function.
2010-10-02 15:30:24 -04:00
Tom Rothamel
57ed7e692e
Annotate render fields, implement mark-sweep render gc.
2010-10-02 14:40:43 -04:00
Tom Rothamel
6aaf974049
Make sure everything can build with the latest cython, and remove
...
cython-generated code from the tree.
2010-09-27 23:03:17 -04:00
Tom Rothamel
1fce0f5557
Add infrastructure for automatically building and loading cython
...
Ren'Py modules, when they change.
2010-09-27 22:38:12 -04:00
Tom Rothamel
f75f0ccb14
Allow the default property to be set in the screen language.
2010-09-16 08:31:39 -04:00
Tom Rothamel
01f82aaf4c
Bump version.
2010-09-15 23:37:44 -04:00
Tom Rothamel
8b294e05ad
Fix problem where if you hit quit, no at the main menu, the game starts.
2010-09-15 23:34:14 -04:00
Tom Rothamel
5b2fcb85e5
Fixed character not respecting the interact argument.
2010-09-15 22:34:29 -04:00
Tom Rothamel
fb1d38dc3a
Enter the with mode on with None.
2010-09-14 23:18:08 -04:00
Tom Rothamel
5cc6a8d75a
Ensure that empty strings render with 0 width.
2010-09-13 23:22:58 -04:00
Tom Rothamel
fbe2a03933
Normalize file line endings during updates.
2010-09-13 21:04:48 -04:00
Tom Rothamel
915bccf099
Fixed problem with modes (reported with patch by Spiky Catapillar.)
2010-09-12 23:52:08 -04:00
Tom Rothamel
0943e368e7
Fix mode to work with nvl and extend.
2010-09-12 23:48:39 -04:00
Tom Rothamel
d35c6e190c
Fix docs.
2010-09-09 11:37:34 -04:00
Tom Rothamel
1025ad5a6a
Reduce size of updates.
2010-09-09 11:23:42 -04:00
Tom Rothamel
fd74541318
Check that sayer is valid.
2010-09-09 11:23:24 -04:00
Tom Rothamel
821db477ae
Update default enter/leave factories to work with offsets.
2010-09-09 10:06:40 -04:00
Tom Rothamel
ed66034930
Fix bug that caused atl revolution not to work.
2010-09-09 09:58:30 -04:00
Tom Rothamel
a9c91378fd
Another version bump.
2010-09-08 22:17:48 -04:00
Tom Rothamel
1dc58f2ed1
Add AlphaDissolve to the tutorial.
2010-09-08 09:36:56 -04:00
Tom Rothamel
ae916e2a59
More updater work.
2010-09-07 22:17:31 -04:00
Tom Rothamel
f3af72e67e
Properly notify on update events.
2010-09-07 21:52:45 -04:00
Tom Rothamel
939c2121b7
Fixes to updater.
2010-09-07 21:41:02 -04:00
Tom Rothamel
46699bfc1e
Update copyright, and bump versions.
2010-09-07 21:19:54 -04:00
Tom Rothamel
63d381d5a6
FieldValues with max_is_zero set to True now work properly. Thanks to
...
SleepKirby for the fix.
2010-09-07 08:13:30 -04:00
Tom Rothamel
c608d18684
Update distribution building to reflect new Windows layout.
2010-09-07 00:05:11 -04:00
Tom Rothamel
c31f61e7b6
Integrate updater support w/ launcher.
2010-09-06 23:45:41 -04:00
Tom Rothamel
9912c15c04
Don't consider hidden screens when assigning default focus.
2010-09-06 14:19:07 -04:00
Tom Rothamel
651653593c
Make MoveTransition respect offsets.
2010-09-06 12:52:29 -04:00
Tom Rothamel
85858974b8
Add urllib to dependencies.
2010-09-05 23:48:52 -04:00
Tom Rothamel
a265fbb797
Fix problem with screen language lines numbers being in error.
2010-09-05 23:26:24 -04:00
Tom Rothamel
e353ea2d56
Don't crash when compiling shaders.
2010-09-05 22:54:00 -04:00
Tom Rothamel
6f91db067a
Fix a bug with hotbars not working.
...
Fix a bug caused by an incorrect texture unit check.
2010-09-05 18:32:49 -04:00
Tom Rothamel
8ed51cc810
Add renpy.notify and Notify.
2010-09-04 17:25:59 -04:00
Tom Rothamel
f256f174f9
The new :func:HideInterface action allows the interface to
...
temporarily be hidden, as a screen language action.
2010-09-04 15:59:30 -04:00
Tom Rothamel
49d3796378
Added the :ref:renpy.focus_coordinates function, which returns the
...
coordinates of the currently focused displayable, when possible.
2010-09-04 15:46:30 -04:00
Tom Rothamel
bfb6a18527
The new :ref:modes system allows one to invoke callbacks when
...
switching from one type of interaction to another. This can be used,
for example, to automatically hide the window before transitions.
2010-09-04 12:30:21 -04:00
Tom Rothamel
2960220a74
Improvements to updater.
2010-09-03 22:52:10 -04:00
Tom Rothamel
c6605f1742
Add experimental update code.
2010-09-03 18:17:48 -04:00
Tom Rothamel
cebffcfee1
Imagemaps created using the screen language now only have a size equal
...
to that of their ground image. (Previously, they took up the entire
screen.) This change makes it easier to position an imagemap at a
different location on screen, such as the bottom.
Imagemaps now take an alpha argument. If true (the default), hotspots
are only focused if the mouse is over a non-transparent part of the
idle or hover image. If set to false, the hotspot is focused whenever
the mouse is within its boundaries.
2010-09-03 17:42:46 -04:00
Tom Rothamel
006cdb8c3b
The developer menu now includes a command that will list all the files
...
in the game directory.
2010-09-02 01:08:18 -04:00
Tom Rothamel
374e0697bf
Fix documentation generation from curried functions.
2010-09-02 00:48:57 -04:00
Tom Rothamel
f988878424
Transforms no longer cause a divide by zero exception when the zoom,
...
xzoom, or yzoom properties are 0.
2010-09-02 00:02:46 -04:00
Tom Rothamel
e59b252dce
Fix problems with scaling (and especially, switching back and forth
...
between GL and scaled SW modes.)
2010-08-31 16:36:00 -04:00
Tom Rothamel
b2747914d8
Fix hotspot so that it properly handles insensitive and selected images.
2010-08-28 18:47:15 -04:00
Tom Rothamel
41aeb625f3
Try to fix backwards compatibility problem.
2010-08-24 21:55:20 -04:00
Tom Rothamel
4cfa8aa06c
Document AlphaDissolve.
2010-08-24 21:51:42 -04:00
Tom Rothamel
8cb4a4e3b9
Merge alphadissolve.
2010-08-24 21:46:58 -04:00
Tom Rothamel
9a84c9715f
Use 256 as the parameter - allows alphablend to use the full 8 bits of alpha
...
range.
2010-08-24 21:17:52 -04:00
Tom Rothamel
38538f1d9a
Add AlphaBlend.
2010-08-24 02:33:29 -04:00
Tom Rothamel
6a42b2a107
Initial implementation of AlphaDissolve transition.
2010-08-24 02:20:38 -04:00
Tom Rothamel
486790b810
merge w/ renpy
2010-08-22 16:11:15 -04:00
Tom Rothamel
0e538e2261
Remove obsolete files.
...
Remove symlinks in documentation.
2010-08-22 16:08:03 -04:00
Tom Rothamel
9042fcca55
Redo the windows build process, so that no symlinks are involved, and so
...
that dlls are no longer bundled inside renpy.code.
2010-08-22 15:53:55 -04:00
Tom Rothamel
040035adbc
Allow keymap to take a list of actions.
2010-08-21 11:58:32 -04:00
Tom Rothamel
d72097de18
add comment
2010-08-19 13:23:27 -04:00
Tom Rothamel
d9771bdade
Draw mouse cursor in right place.
2010-08-19 13:01:20 -04:00
Tom Rothamel
07ca905373
Fix the parameters for define_screen.
2010-08-19 08:48:58 -04:00
Tom Rothamel
ccd0d45a67
A sub-render should inherit alpha from the parent render.
2010-08-18 19:54:59 -04:00
Tom Rothamel
15a15870e7
Start of new updater code.
2010-08-18 18:11:09 -04:00
Tom Rothamel
28108c7796
Remove launcher1.
2010-08-18 12:30:05 -04:00
Tom Rothamel
171f388120
6.11.0k
2010-08-17 21:19:01 -04:00
Tom Rothamel
bc50f171db
Add transition parameters to Show and Hide.
2010-08-17 01:08:10 -04:00
Tom Rothamel
ea4c955f1f
Modal and zorder are now expressions. Note that this changes the signature to define_screen.
2010-08-16 02:22:54 -04:00
Tom Rothamel
27524457d0
Copy a screen when keeping it around after a hide, rather than modifying the original screen.
2010-08-16 01:53:51 -04:00
Tom Rothamel
01fe67cfa9
Fix problems with screens caused by renpy.transition being given None as an argument, by making it handle that case properly, rather than simply delegating to with_none.
2010-08-15 21:46:21 -04:00
Tom Rothamel
f4d493465d
Fix problem with iterating over a list that's changing.
2010-08-15 19:15:32 -04:00
Tom Rothamel
33cbe44390
Only call _hide on direct children of the screen.
2010-08-15 02:53:41 -04:00
Tom Rothamel
5214f08d1a
Assign ids to displayables correctly.
...
Remove non-transitions from screens at hide-time.x
2010-08-15 01:50:46 -04:00
Tom Rothamel
608fc986c4
Now can hide screens by name and tag.
2010-08-15 00:39:01 -04:00
Tom Rothamel
779a96f97f
Things in a screen without an on hide method go away once hidden.
2010-08-15 00:32:53 -04:00
Tom Rothamel
faf48246d7
Don't let a hiding displayable pass along focus.
2010-08-14 20:10:10 -04:00
Tom Rothamel
81ec2a6c35
fix modal when hiding.
2010-08-14 19:12:56 -04:00
Tom Rothamel
803423f12b
Was over-aggressive in combining screen and old_transfers - split them.
2010-08-14 17:17:11 -04:00
Tom Rothamel
b384ee0381
Make the gl-test strings translatable. Bump version.
2010-08-14 13:29:41 -04:00
Tom Rothamel
b8862d6b24
Add support for a "Graphics Acceleration" menu, which allows the user
...
to choose between software and opengl rendering.
2010-08-13 00:50:48 -04:00
Tom Rothamel
dbfa4ed46d
Fix problem where displayables on a screen of one name could inherit transforms and state from displayables on a screen of a different name.
2010-08-13 00:38:43 -04:00
Tom Rothamel
d9eb999775
Report when a grid is overfull.
2010-08-11 16:30:43 -04:00
Tom Rothamel
b4a9ca3f87
Tweaks to gltest.
...
FilePageNext grows a max argument.
Report screen errors better.
2010-08-11 16:25:31 -04:00
Tom Rothamel
d087c86d1a
Set correct variable when setting default afm time.
2010-08-10 22:08:14 -04:00
Tom Rothamel
0cfc7b25a6
Remove imagemap rectangle from the image picker.
2010-08-10 00:35:50 -04:00
Tom Rothamel
8f3c9bd2ba
Cycle through OpenGL logfile.
2010-08-09 23:19:55 -04:00
Tom Rothamel
91c79cdac9
sl: add default statement.
2010-08-09 21:42:49 -04:00
Tom Rothamel
20e4e110ce
Add a check for calling ui.interact inside itself.
2010-08-09 18:57:12 -04:00
Tom Rothamel
870d7ffe2c
Try the opengl test twice.
2010-08-09 16:29:10 -04:00
Tom Rothamel
6ff88c914d
Fix use of modal in docs.
2010-08-08 22:46:59 -04:00
Tom Rothamel
2a2078517f
Only don't transition when failing to go to the game menu from the main
...
menu.
2010-08-08 22:33:27 -04:00
Tom Rothamel
c09f697293
6.11.0i
2010-08-08 20:20:20 -04:00
Tom Rothamel
a9e273a13d
Document modal more precisely.
2010-08-07 14:53:50 -04:00
Tom Rothamel
592665aa9a
Various fixes to cause modal displayables to work better.
2010-08-07 14:43:13 -04:00
Tom Rothamel
3745788f06
Store the OpenGL-giveup value on startup, and use it on a restart.
2010-08-07 10:59:18 -04:00
Tom Rothamel
52b09d8f4c
Fix problems with y aspect ratio.
2010-08-07 10:47:22 -04:00
Tom Rothamel
32f25cdcec
Fix problem with lint_play_sound.
2010-08-07 09:06:41 -04:00
Tom Rothamel
6f022a9b6a
6.11.0h
2010-08-07 08:52:31 -04:00
Tom Rothamel
eea6970929
(doc) Clarify that the hide event isn't called on scene or context exit.
2010-08-07 07:59:41 -04:00
Tom Rothamel
35ecfd279f
Tweak when we run the hide event.
2010-08-07 07:52:49 -04:00
Tom Rothamel
1f5c610843
Better logic before picking between adv and nvl windows.
2010-08-07 00:30:52 -04:00
Tom Rothamel
05f4c52c33
Always render to an alpha texture, for dissolve/imagedissolve in sw mode.
2010-08-06 12:27:54 -04:00
Tom Rothamel
326f773e75
Constrain drawing area using glViewport.
2010-08-06 02:08:03 -04:00
Tom Rothamel
2079b518a2
F11 now toggles fullscreen.
2010-08-04 01:15:20 -04:00
Tom Rothamel
70ed15e5ac
Add If function.
2010-08-04 00:59:09 -04:00
Tom Rothamel
f1d7fe0c73
Rename group -> style_group.
2010-08-03 22:59:53 -04:00
Tom Rothamel
08e4b9bafc
Minor optimizations in GL code.
2010-08-03 22:22:01 -04:00
Tom Rothamel
56a0212316
Fix problem with mouse, when going fullscreen.
2010-08-03 22:17:09 -04:00
Tom Rothamel
5df6506191
Take file_prefix and file_suffix into account for lint.
2010-08-02 23:36:10 -04:00
Tom Rothamel
39779be980
Fix problems with lint and call. Humanize lint output.
2010-08-02 18:22:13 -04:00
Tom Rothamel
bdacdddf14
Fix crash with shift+Y and generated styles.
2010-08-02 17:59:40 -04:00
Tom Rothamel
4b32337ef3
Command the mouse to be displayed once a second.
2010-08-02 17:58:01 -04:00
Tom Rothamel
4897d5b7a9
Ensure Ren'Py starts when the GL modules can't be loaded.
2010-08-02 12:29:58 -04:00
Tom Rothamel
6daa64facd
Store and restore the windows size on a shift+R reload.
2010-08-02 12:19:31 -04:00
Tom Rothamel
07651e414d
Ensure we always check for yesno_prompt.
2010-08-01 21:33:29 -04:00
Tom Rothamel
7e1e76f0d8
When loading textures, load the borders with adjacent pixels, rather than
...
transparency. This means we no longer have to distort textures when
upscaling, which improves quality.
2010-08-01 13:47:05 -04:00
Tom Rothamel
b91a5d1a16
Check in keywords file.
2010-07-31 23:19:39 -04:00
Tom Rothamel
39b0646f24
Change around some things involving clip planes to try to fix a
...
problem with them on the mac.
6.11.0g
2010-07-31 21:08:58 -04:00
Tom Rothamel
ea6406f144
When upscaling, adjust texture coordinates so that we never go outside
...
the loaded texture.
2010-07-31 13:30:23 -04:00
Tom Rothamel
7ed3f3fbad
Add the quickstart to the manual.
2010-07-30 13:16:50 -04:00
Tom Rothamel
cacb4ac40e
Allow {fast} to work in menus and all-at-once mode.
2010-07-28 23:27:52 -04:00
Tom Rothamel
9503744631
Unbranding error messages.
2010-07-28 22:45:00 -04:00
Tom Rothamel
58dfd5dbfa
Document focus, and use it to ensure that menus do not have any choice highlighted by default.
2010-07-28 22:40:48 -04:00
Tom Rothamel
60d5507184
Only call unhovered when a non-default unhover occurs.
2010-07-28 22:34:39 -04:00
Tom Rothamel
5641cec146
Give a proper error when someone tries to use an empty string as a displayable.
2010-07-28 22:32:51 -04:00
Tom Rothamel
dd455e3d14
Fix problems with window hide / window show and NVL-mode.
2010-07-28 21:55:16 -04:00
Tom Rothamel
6876697f74
Fixed proble with default focus and subsurface.
2010-07-25 23:15:40 -04:00
Tom Rothamel
4373cab8cf
6.11.0f
2010-07-25 20:10:01 -04:00
Tom Rothamel
eeccb5833b
Doc fixes, remove AutoForward as an independent action.
2010-07-25 20:07:22 -04:00
Tom Rothamel
790dad0330
Fix / document screens.
2010-07-25 19:58:48 -04:00
Tom Rothamel
078a38af5d
Pass transform events through to children of Transforms.
2010-07-25 13:55:44 -04:00
Tom Rothamel
8c186d2eb1
Remove extraneous print.
2010-07-25 13:40:04 -04:00
Tom Rothamel
81b94b27e0
Display problems documentation.
...
Limit display to screen size.
2010-07-25 01:15:20 -04:00
Tom Rothamel
17e8616e8c
Do not buffer playback of movies.
...
Change get_playing to return audio that's queued up to play, as well as audio that's currently playing.
2010-07-24 16:44:39 -04:00
Tom Rothamel
50b0dc3c5e
Add the ability to blacklist mugen's video card.
2010-07-24 13:24:49 -04:00
Tom Rothamel
9e217e722f
Introduce StoreProxy object.
2010-07-24 11:41:22 -04:00
Tom Rothamel
f466b44b66
Fix problem with negative line_spacing.
2010-07-23 02:32:31 -04:00
Tom Rothamel
34e0fc7cba
Always take screenshots from the main thread.
2010-07-23 01:53:39 -04:00
Tom Rothamel
bb88a7bb95
Remove letterboxing when taking a screenshot.
2010-07-23 01:14:06 -04:00
Tom Rothamel
71ba444e62
6.11.0e.
2010-07-18 10:39:09 -04:00
Tom Rothamel
3e0baee463
Update documentation.
2010-07-17 22:44:53 -04:00
Tom Rothamel
a0064f5511
Disable OpenGL in launcher.
2010-07-17 22:37:01 -04:00
Tom Rothamel
e7ce23f377
Fix potential video race.
2010-07-17 22:35:11 -04:00
Tom Rothamel
9c6d93968c
Stop defining default in terms of other transforms, to allow those
...
transforms to be re-defined.
2010-07-17 22:00:21 -04:00
Tom Rothamel
e4b29d58f4
Include indentation in text size.
2010-07-17 17:38:44 -04:00
Tom Rothamel
a48b87a0d6
Fixed a bug that could cause ATL transforms to over-compute changes,
...
this leading to problems when used in parallel
2010-07-17 16:17:26 -04:00
Tom Rothamel
763515a937
Add GL Performance test.
2010-07-17 14:02:00 -04:00
Tom Rothamel
46a8242e51
Make sure that lexer revert also reverts the line.
2010-07-17 12:59:18 -04:00
Tom Rothamel
efa8d66d3d
Make placement of developer menu more friendly.
2010-07-15 23:28:37 -04:00
Tom Rothamel
b7c71bb3b8
Work better with broken fonts.
2010-07-15 22:36:05 -04:00
Tom Rothamel
aca5438b5a
Use shift to disable OpenGL. Add deinit to swdraw.
2010-07-15 17:15:54 -04:00
Tom Rothamel
e7eb23ab5e
Create layout.yesno_screen function.
...
Doc update.
Bump to 6.11.0d.
2010-07-14 21:47:46 -04:00
Tom Rothamel
05dd8bfcc7
Use "screen" as the screen type and mouse for screens.
2010-07-14 20:39:30 -04:00
Tom Rothamel
2c299ab079
Share code between fullscreen and displayable versions of video playback.
2010-07-14 19:00:33 -04:00
Tom Rothamel
62acff5c75
CTRL on startup aborts OpenGL mode.
2010-07-14 01:22:40 -04:00
Tom Rothamel
316d146893
Make imagedissolve use the correct texture units.
2010-07-13 22:28:41 -04:00
Tom Rothamel
e69fee2108
Auto-vivification of styles.
...
New styles.
2010-07-13 01:09:14 -04:00
Tom Rothamel
8fe6e1cf20
Add group argument to ui functions.
2010-07-13 00:27:48 -04:00
Tom Rothamel
6fcf7dbbba
Blacklist Mesa Indirect GLX renderer.
2010-07-12 21:13:32 -04:00
Tom Rothamel
f55c5f0ce5
Make screen language automatically prefix unicode-containing strings with u"" - like we do for other strings.
2010-07-12 20:42:32 -04:00
Tom Rothamel
aaf8369421
Deallocate textures on shutdown.
2010-07-12 20:40:41 -04:00
Tom Rothamel
8e26c7730c
Finish has rename.
...
Fix bugs with screens.
2010-07-11 22:46:19 -04:00
Tom Rothamel
556ca0611a
Add has statement.
2010-07-11 17:25:46 -04:00
Tom Rothamel
e2e78c175b
Tweak the parser so that it recognizes \$ as a word unto itself.
2010-07-11 15:14:44 -04:00
Tom Rothamel
7b8033e6b2
A reference loop was preventing the weakref-based way of dealing with
...
PyCode from working. So instead, manually control when PyCodes are
recorded.
2010-07-11 13:04:44 -04:00
Tom Rothamel
d602645fee
Use button_text rather than default as the default button text style.
2010-07-11 11:57:06 -04:00
Tom Rothamel
f8ac9c9e83
Bump version to 6.11.0c.
2010-07-10 16:06:22 -04:00
Tom Rothamel
98c90f8ab3
Shutdown trace.
...
Restrict minimum window size to 256x256.
Ensure window caption and icon are set when reiniting pygame.
2010-07-10 16:03:54 -04:00
Tom Rothamel
16bb21ee62
Always have an auto-forward length of 1.
2010-07-10 13:44:00 -04:00
Tom Rothamel
46bfec93d4
Set the window caption and icon whenenver we reinit the display.
2010-07-10 13:42:38 -04:00
Tom Rothamel
00e1ecf37d
Fix DBZ protection.
2010-07-10 11:45:41 -04:00
Tom Rothamel
a3e7b290fb
Make references to PyCode weak, so that they are not compiled if they
...
do not live into the final game script.
2010-07-09 01:35:40 -04:00
Tom Rothamel
27ce59963f
Document ui.detached, and make it work in an init block.
2010-07-09 01:02:10 -04:00
Tom Rothamel
54e3a97447
Play test sounds on the "sound" channel.
2010-07-09 00:36:41 -04:00
Tom Rothamel
f886f710b7
Make video transient.
...
Fix most problems with ui.textbutton.
2010-07-09 00:06:30 -04:00
Tom Rothamel
a895e1dc6c
Always use copy RTT.
...
Deinitialize pygame on shutdown, and log that deinit, so we can notice where a crash there occurs.
2010-07-08 23:22:27 -04:00
Tom Rothamel
6f24d8eebd
6.11.0b
2010-07-07 19:40:03 -04:00
Tom Rothamel
000174c2c4
Implement renpy.get_renderer_info.
...
Change RENPY_DRAW -> RENPY_RENDERER.
2010-07-07 14:19:53 -04:00
Tom Rothamel
192aaea186
Make a click while AFM is enabled disable AFM.
2010-07-07 14:01:20 -04:00
Tom Rothamel
eb0d6b696e
Adds label and ui.label.
2010-07-07 02:42:40 -04:00
Tom Rothamel
94e1b0eb56
Update gl-screen when soft mouse moves.
2010-07-07 02:05:48 -04:00
Tom Rothamel
694a1cd6d5
Ensure we always project the mouse location into virtual coordinates.
2010-07-07 01:26:40 -04:00
Tom Rothamel
0600897a26
Check the number of texture units, and give up on OpenGL if less than 4.
2010-07-06 22:32:14 -04:00
Tom Rothamel
e8c52f9417
Disable texture units w/o a texture bound to them.
2010-07-06 22:19:49 -04:00
Tom Rothamel
6d86963b1d
Restart the video system when switching from GL to SW rendering.
2010-07-06 21:35:40 -04:00
Tom Rothamel
01e621067a
Fix spelling error.
2010-07-06 12:11:03 -04:00
Tom Rothamel
cd379ef1a3
Fix aspect ratio problem.
2010-07-06 11:07:20 -04:00
Tom Rothamel
41a4fbfb4d
Rewrite icon changing to use the standard PEfile library.
...
Fix other bugs found through testing.
2010-07-05 22:25:48 -04:00
Tom Rothamel
04db2112c3
Rewrote Character and Text so that text is only parsed once.
2010-07-04 23:40:38 -04:00
Tom Rothamel
d20bfb18bc
Handle syntax errors in screen language code.
2010-07-04 16:44:20 -04:00
Tom Rothamel
d02d83f896
Try to ensure that runtime errors in screen language code are
...
reported at the right location.
2010-07-04 02:25:31 -04:00
Tom Rothamel
6b45c92a58
Rewrite screenlang.py so that it generates and compiles python code
...
directly.
2010-07-03 13:58:25 -04:00
Tom Rothamel
871ad8c07f
Ensure the screen reflects the end of a pause before the pause finishes.
...
Actually limit gl framerate.
2010-06-30 01:14:13 -04:00
Tom Rothamel
997290cd28
Work on improving screen speed.
2010-06-30 00:30:20 -04:00
Tom Rothamel
fcfab5ada6
spelling fix
2010-06-29 02:23:13 -04:00
Tom Rothamel
005f45bad3
Stop Popen.__del__ from throwing errors on shutdown.
2010-06-28 23:48:46 -04:00
Tom Rothamel
ef64872af5
Set the projects directory to None if it no longer exists.
2010-06-27 23:15:58 -04:00
Tom Rothamel
2cd5528df9
Take the condition parameter to Characters into account when scrying to
...
determine if the statement interacts.
2010-06-27 22:44:45 -04:00
Tom Rothamel
0a73e6f905
Stop sounds and movies on a rollback event.
2010-06-27 22:04:46 -04:00
Tom Rothamel
b9f468e3f4
Update the license.
...
Fix a bar regression.
Ensure that slow_done always triggers, and the ctc indicator is always shown. (Fixes lp:520276)
2010-06-27 21:01:47 -04:00
Tom Rothamel
ad5631ffc1
Fix bug 595532 - wrong text in tutorial game.
2010-06-27 18:40:25 -04:00
Tom Rothamel
50767c211a
Sphinx style and indexing tweaks.
2010-06-27 18:11:44 -04:00
Tom Rothamel
8223545b72
Add sphinx ATL documentation.
2010-06-27 16:55:28 -04:00
Tom Rothamel
9925fa78e7
More documentation work.
2010-06-27 12:38:48 -04:00
Tom Rothamel
7834365803
Adding various changelogs.
2010-06-27 11:16:45 -04:00
Tom Rothamel
5bfeea6e30
Finish style documentation (for now at least).
2010-06-27 10:28:09 -04:00
Tom Rothamel
1877fcfe65
Link style lists from screens.
2010-06-27 02:23:36 -04:00
Tom Rothamel
98437bc207
Adding styles documentation.
2010-06-27 02:04:56 -04:00
Tom Rothamel
49e9560e91
Rename docs a bit more.
...
Add dlls to distribute.py files.
2010-06-25 01:56:09 -04:00
Tom Rothamel
9c5084ef14
Move doc directory.
...
Add automatic keyword generation support to examples.rpy.
2010-06-25 00:32:50 -04:00
Tom Rothamel
401c503c91
Mark the newest save file as selected.
...
Fix a problem with buttons showing up as insensitive during a transition.
2010-06-24 23:31:36 -04:00
Tom Rothamel
73d4515f9e
Fix SaveMenu.
2010-06-24 22:09:13 -04:00
Tom Rothamel
9faadbd077
Fix tutorial game ATL.
...
Add renpy.list_files.
2010-06-24 21:05:32 -04:00
Tom Rothamel
c886f16308
Change tutorial to deal with new Transform semantics.
...
Change DynamicDisplayable to be sure we can always get_position.
2010-06-24 11:01:10 -04:00
Tom Rothamel
6b4b410708
Ensure that we don't fail to set a transform's pos and anchor because
...
we're setting it to the old default value.
2010-06-24 08:46:51 -04:00
Tom Rothamel
d6e50d840f
pos and anchor are now considered part of the execution state of a
...
transform.
2010-06-24 01:26:59 -04:00
Tom Rothamel
c1848159a9
The new LiveTile displayable tiles its child, without consuming a
...
large amount of memory to do so.
2010-06-23 23:49:36 -04:00
Tom Rothamel
46f503ec3c
Wait until the adjustment is done being created before setting the
...
focusable property on a bar.
2010-06-23 22:05:05 -04:00
Tom Rothamel
71f40a33f7
Add the language basics document.
2010-06-23 21:05:33 -04:00
Tom Rothamel
94e789efde
More windows distribution fixes.
2010-06-23 19:02:36 -04:00
Tom Rothamel
d738da4272
Update build_exe and pefile to support python 2.6.
2010-06-23 18:52:38 -04:00
Tom Rothamel
8bbf9cb618
Update modules to build on Windows.
...
Read the surface masks out of a surface.
2010-06-23 15:49:35 -04:00
Tom Rothamel
c5276e5073
Use a screen for the tutorial game tutorials menu.
...
Document viewport, add XScrollValue and YScrollValue.
2010-06-21 20:34:13 -04:00
Tom Rothamel
9b0a739872
Make bar actually respect a supplied style.
2010-06-20 22:55:54 -04:00
Tom Rothamel
b3e817e1d4
Make subsurfaces depend on a surface. Fixes render leak bug.
2010-06-20 21:19:25 -04:00
Tom Rothamel
96a73712eb
Try fixing a bug with masks on Linux.
2010-06-20 20:51:35 -04:00
Tom Rothamel
dc91721ca2
Add config to doc.
2010-06-20 20:47:10 -04:00
Tom Rothamel
7175bb664c
Tweak doc look.
2010-06-20 01:00:28 -04:00
Tom Rothamel
2a49120ac2
Add special screens.
2010-06-18 00:49:57 -04:00
Tom Rothamel
4ef546649b
Document python mode.
2010-06-17 22:44:28 -04:00
Tom Rothamel
f1a77bd2b0
Fix bug with old load/saves and invalid files.
...
Fix bug with screens and rollback.
2010-06-17 14:13:05 -04:00
Tom Rothamel
aa8b6d364b
Moved button and bar specialness into the displayables, rather than
...
the ui functions.
Changed the _replaces method to be a replaces constructor parameter.
Make the periodic method take st.
Add a periodic method to BarValue.
Implement AnimatedValue.
2010-06-17 12:56:04 -04:00
Tom Rothamel
1245c6120e
Wrote a lot of screen documentation.
2010-06-15 23:32:03 -04:00
Tom Rothamel
2995118cae
Re-implement subsurface clipping, to improve performance in some cases.
...
Make call scene (and renpy.call_scene) participate in rollback, roll
forward, and set _return as appropriate.
2010-06-15 13:40:37 -04:00
Tom Rothamel
a201418d1a
Implement is_pixel_opaque.
2010-06-15 11:54:36 -04:00
Tom Rothamel
1b46904897
Modify yesno_prompt so it uses actions, rather than interacting.
...
Add FileTakeScreenshot.
2010-06-15 00:42:10 -04:00
Tom Rothamel
1cf6764a08
Allow an input screen.
2010-06-15 00:09:47 -04:00
Tom Rothamel
6527b4e198
Implement screens for NVL-mode.
2010-06-14 23:48:45 -04:00
Tom Rothamel
fd4d01374f
Implement the show screen, hide screen, and call screen user-statements.
2010-06-14 11:08:31 -04:00
Tom Rothamel
c77a11382d
Rewrite parsing in terms of a trie, for flexibility and speed reasons.
2010-06-14 09:47:37 -04:00
Tom Rothamel
1239153a1c
The distribution code has been moved into launcher/distribute.py. This
...
file can be run from the command line to build distributions in shell
scripts and other automated processes.
Plug games.renpy.org when building distributions.
Change xoffset and yoffset in transforms so that they stack with that
of the child.
2010-06-13 22:46:28 -04:00
Tom Rothamel
ae7152a5fc
The renpy.music.register_channel method now has two additional
...
parameters, file_prefix and file_suffix. These are prepended and
appended to filenames provided to the registered channel,
respectively.
2010-06-13 21:24:02 -04:00
Tom Rothamel
eec4eb73b5
Added the rotate_pad transform property, which controls how Transform
...
pads rotated displayables. When set to False, _not_ the default, it's
now possible to rotate a (100, 50) displayable by 90 degrees, and have
the result be (50, 100) in size.
2010-06-13 19:51:02 -04:00
Tom Rothamel
0ab3521005
The screen language (and ui) now allows you to write action rather
...
than clicked.
2010-06-13 17:44:13 -04:00
Tom Rothamel
660ef587c9
Add mute preferences, and SetDict/ToggleDict to support them.
...
Add InvertSelected.
2010-06-13 16:47:13 -04:00
Tom Rothamel
541dd7b3c3
Implement _replaced on various displayables (Text, Input, Timer, and Viewport).
...
Implement _ctc screen.
2010-06-13 15:19:53 -04:00
Tom Rothamel
ca53e2f696
Implement the basic framework for _replaces, which is called when
...
one widget replaces another as part of a screen.
2010-06-13 11:54:10 -04:00
Tom Rothamel
80764e130f
Make opengl logging flush the file on each write.
...
Make opengl fullscreen quit and reinit the video system, so that we
can properly read out the size of the desktop.
2010-06-11 22:46:55 -04:00
Tom Rothamel
6afd0120c1
Add the screenshot action.
2010-06-10 22:21:23 -04:00
Tom Rothamel
953be074f2
The config.screenshot_crop configuration variable controls the area of
...
the screen that it stored when the user presses the screenshot key.
2010-06-10 22:16:19 -04:00
Tom Rothamel
03781d24d6
Ensure that actions only run when they are sensitive.
...
Ensure we can have more than one yesno_prompt up at a time.
Add CallInNewContext.
Make the inspector show things on the screens layer.
2010-06-10 22:01:41 -04:00
Tom Rothamel
55d87064a8
config.game_menu_action allows one to specify an action that is run
...
when entering the game menu.
2010-06-10 20:54:35 -04:00
Tom Rothamel
512478b945
Allow the user to specify an action that is run when someone hits the
...
quit button. (The one in the upper-right corner of the screen.)
2010-06-10 20:45:18 -04:00
Tom Rothamel
1c19ca8062
Add yes/no prompting.
2010-06-10 09:22:47 -04:00
Tom Rothamel
fc764b464d
ui.add can now take transform properties as keyword arguments. If at least
...
one transform property is present, ui.add will create a transform that
wraps the displayable it's adding to the screen.
2010-06-09 08:56:54 -04:00
Tom Rothamel
945b4fc1cd
Add python statement (short and long forms) to screen language.
...
Change include statement to use statement.
2010-06-09 08:32:22 -04:00
Tom Rothamel
902b17462e
Implement loading and saving using Actions, and various improvements
...
to screens, screen language, and ui to make sure we can pull off a
sensible implementation.
2010-06-09 00:27:54 -04:00
Tom Rothamel
8b0b39829a
Use renpy.context()._main_menu rather than main_menu; ensure the former is always set.
2010-06-08 01:35:04 -04:00
Tom Rothamel
356ca9cd1e
Implement the Play, Queue, and Stop actions, which control music/sound/etc.
...
Add a periodic method to actions, which is called on a periodic basis
while a button has that action.
2010-06-08 01:04:05 -04:00
Tom Rothamel
634da84442
Implement yesno_prompt for Quit and MainMenu, make ShowMenu-shown
...
screens transient, and clear out the screens when we enter a new
context.
2010-06-08 00:20:17 -04:00
Tom Rothamel
1d109ddaee
Implement the Preference action/value constructor.
2010-06-07 23:37:01 -04:00
Tom Rothamel
c1f996da07
Various fixes required to allow a working SL preferences screen.
2010-06-07 02:08:18 -04:00
Tom Rothamel
b14c9f8954
Change ShowMenu so that it takes a short screen name, without the
...
"_screen" suffix.
2010-06-07 00:55:19 -04:00
Tom Rothamel
126050b4f3
Able to display an operational imagemap screen based main menu.
...
Rewrote screens so they are now use single word names, with an
optional explicit tag parameter.
2010-06-07 00:09:54 -04:00
Tom Rothamel
313e417f28
The choice screen allows in-game menus to be defined using screens.
2010-06-05 23:32:54 -04:00
Tom Rothamel
e98ef1025c
Implement more Actions and BarValues.
...
Ensure the say screen still works.
2010-06-05 23:02:46 -04:00
Tom Rothamel
3729e4bc3a
sl: Ensure execution errors are reported in a relevant location.
2010-06-05 16:16:13 -04:00
Tom Rothamel
ac071777ad
Implement BarValue.
2010-06-05 01:15:59 -04:00
Tom Rothamel
445972756d
sl: add on statement.
2010-06-04 01:22:32 -04:00
Tom Rothamel
91732e7def
sl: Implement the for statement.
2010-06-03 01:25:38 -04:00
Tom Rothamel
5b7e4af26c
Add key, timer, and transform statements to ATL.
2010-05-29 23:24:55 -04:00
Tom Rothamel
2bb459cda5
screen: Implement support for transient screens.
2010-05-28 23:03:16 -04:00
Tom Rothamel
d410c73074
screen: refactor screens into Screen and ScreenDisplayable classes.
2010-05-28 08:59:08 -04:00
Tom Rothamel
da70f197fe
screen, sl: add zorder parameter.
2010-05-27 23:03:33 -04:00
Tom Rothamel
c18ffb28d0
Pass transform events to the children of a screen. Allow the screen to
...
respond to a hide event.
2010-05-27 21:56:02 -04:00
Tom Rothamel
d5f17ef9f1
Events propagate to all children.
2010-05-25 23:42:54 -04:00
Tom Rothamel
79c3f426e5
sl: Add xmaximum and ymaximum to the list of properties we support.
2010-05-25 23:02:29 -04:00
Tom Rothamel
b004dd138f
Add code for customizing the say screen.
2010-05-25 22:47:58 -04:00
Tom Rothamel
45b479e324
sl: implement if statement.
...
screen: trigger a redraw on each interaction.
2010-05-23 22:50:22 -04:00
Tom Rothamel
b07cbd4193
sl: add include statement.
2010-05-23 21:58:00 -04:00
Tom Rothamel
ae2739f32d
Hooked up the screen language to the screen system.
2010-05-23 20:43:37 -04:00
Tom Rothamel
dd51fcb1fd
Fix ui.at, get things going with visit.
2010-05-22 22:07:58 -04:00
Tom Rothamel
edc26fe0a4
First working screens.
2010-05-22 19:16:08 -04:00
Tom Rothamel
c9215b3b71
Add renpy.ui.remove_above, for use by screens. (Not sure I'll bother
...
publically documenting this.)
Improve documentation of Scene Lists.
2010-05-16 01:06:13 -04:00
Tom Rothamel
115338bdeb
Basic initial implementation of screens.
...
Rewrote the scene lists. This added support for "replaced" images, but
more importantly, cleaned up the code quite a bit, by making it be in
terms of objects rather than tuples.
2010-05-15 20:24:28 -04:00
Tom Rothamel
b0b10ac7d3
Add all existing ui functions to the screen language parser.
2010-05-11 23:42:51 -04:00
Tom Rothamel
5a6013aac9
Update changelog.
...
Tweak config.default_transform behavior so that it only applies to
non-transforms, so we better match the old behavior.
fix renpy.ui.Many to work with with.
2010-05-04 01:58:10 -04:00
Tom Rothamel
f3aa299aa0
Remove obsolete files from the gl-renpy branch.
2010-05-04 01:30:19 -04:00
Tom Rothamel
8e44536133
Merge in changes from old mainline.
2010-05-04 01:27:59 -04:00
Tom Rothamel
0cb937298e
Add checkmark background when the screen is left empty, with no background.
...
Fix backwards compatibility bugs.
2010-05-04 01:26:01 -04:00
Tom Rothamel
6ed0491520
Add hotbars.
2010-05-02 00:27:58 -04:00
Tom Rothamel
af7748920c
Add hotspots.
2010-05-01 22:55:51 -04:00
Tom Rothamel
3c1c0310d8
Merge in screen language changes.
2010-04-30 01:29:57 -04:00
Tom Rothamel
91a67304dd
Rewrite the ui module in terms of wrapper code.
2010-04-30 01:28:37 -04:00
Tom Rothamel
04d0e46c3e
Rewrite how things are added in renpy.ui.
2010-04-29 01:08:10 -04:00
Tom Rothamel
ed27eac80b
Added support for composite style properties, that allow several style
...
properties to be set using a single parameter. The new composite style
properties are:
* pos - takes a pair, and uses it to set xpos and ypos.
* anchor - takes a pair, and uses it to set xanchor and yanchor.
* align - takes a pair, and uses it to set xalign and yalign. (And
hence xpos, ypos, xanchor, and yanchor.)
* area - take (x, y, height, width) pair, and tries to set properties
such that the displayable will be placed inside the rectangle. This
sets the xpos, ypos, xanchor, yanchor, xfill, yfill, xminimum, yminimum,
xmaximum, and ymaximum properties.
2010-04-28 01:19:45 -04:00
Tom Rothamel
1f3e02bbdc
More SL parsing.
2010-04-28 00:31:02 -04:00
Tom Rothamel
275e938602
Snapshot of work on screen system.
2010-04-27 00:24:33 -04:00
Tom Rothamel
3f80320d37
The python compiler has been rewritten to use the python ast module.
...
This should both improve performance, and improve error handling for
python syntax.
2010-04-23 23:12:11 -04:00
Tom Rothamel
0e44ce7636
Update docs.
2010-04-23 22:06:24 -04:00
Tom Rothamel
8fe727a8a1
Start on sphinx documentation for build system.
2010-04-18 01:51:17 -04:00
Tom Rothamel
b82f7a5548
Use default_transform as the main way of positioning images on the screen.
2010-04-17 12:15:27 -04:00
Tom Rothamel
fe15242479
Allow the position properties to be specified independently when transforms are composed.
2010-04-17 00:44:06 -04:00
Tom Rothamel
677a9b0dab
Transform (and ui.transform) have been changed so that their arguments
...
can now be prefixed with a style prefix. One can write
ui.transform(idle_rotate=30, hover_rotate=90) and have it work. [doc]
2010-04-13 23:57:37 -04:00
Tom Rothamel
309001e2fe
Pick mask based on platform. Fixes a bug in ubuntu 10.4 beta.
2010-03-30 02:06:25 -04:00
Tom Rothamel
90e782c9c6
Actually put textures on the free-lists, so we can reuse them.
2010-03-23 00:03:15 -04:00
Tom Rothamel
f95d9cacb5
Sleep to prevent swdraw from speeding up the CPU.
2010-03-17 11:34:44 -04:00
Tom Rothamel
308d1e6b00
Choose directory for opengl.txt.
2010-03-17 11:16:23 -04:00
Tom Rothamel
c57b3004a0
Reset display after renpygame.
2010-03-17 11:12:11 -04:00
Tom Rothamel
00bd5c96e9
Shift-reload now works in GL mode.
2010-03-16 22:08:45 -04:00
Tom Rothamel
371b11370a
Allow Ren'Py to keep working even if GL can't be loaded.
2010-03-16 10:13:49 -04:00
Tom Rothamel
b9338a7446
Video support.
2010-03-16 01:54:05 -04:00
Tom Rothamel
e39ae375f4
Refactor things so texture caching takes place in the draw modules, using
...
weak references.
2010-03-15 13:24:48 -04:00
Tom Rothamel
975907aebf
Fixed spelling, thanks to ZeikJT.
2010-03-15 00:45:51 -04:00
Tom Rothamel
ccfbdf6f3a
Software mouse works in GL Ren'Py.
2010-03-15 00:42:55 -04:00
Tom Rothamel
7934d40b7c
Refactor mouse code.
2010-03-15 00:21:45 -04:00
Tom Rothamel
3b569a10bd
Implement screenshots.
2010-03-14 16:49:11 -04:00
Tom Rothamel
941d959ee5
Reinitialize OpenGL (except for various detection) each time the window
...
is resized. This allows us to work on Mac OS X, which can't share any
OpenGL state through a window resize. (At least with SDL+Pygame.)
2010-03-13 21:20:13 -05:00
Tom Rothamel
d5a51c8139
Implement pixellate in gl-mode.
2010-03-13 19:01:46 -05:00
Tom Rothamel
fc79078d51
Implement RENPY_GL_VSYNC, which control OpenGL vertical sync.
2010-03-13 12:42:43 -05:00
Tom Rothamel
d6615410dd
Allow the user to resize the GL window by dragging (or hitting the maximize
...
button).
2010-03-13 12:34:30 -05:00
Tom Rothamel
adee372b4b
Always add a left border to images.
2010-03-13 02:06:25 -05:00
Tom Rothamel
9c7542a357
Track total texture size.
2010-03-12 01:17:21 -05:00
Tom Rothamel
bc18285a61
Allow renpy_draw to pick between software and hardware rendering.
2010-03-12 00:46:53 -05:00
Tom Rothamel
7b6c3f52e0
Implement imageblend.
2010-03-12 00:30:15 -05:00
Tom Rothamel
f95c6e479d
Add an extra row and column of pixels to textures that aren't full, to
...
ensure we don't interpolate in junk during subpixel rendering.
2010-03-11 21:47:27 -05:00
Tom Rothamel
e4e224348f
Merge premultiplied textures.
2010-03-11 01:50:59 -05:00
Tom Rothamel
7e914da261
Initial writing of premultiplied textures.
2010-03-11 01:49:33 -05:00
Tom Rothamel
ae3eb40a0e
Code to read from FB to surface.
...
Fix shaders to handle alpha blending.
2010-03-10 22:19:48 -05:00
Tom Rothamel
2f8cd81870
Dissolve works (with copy RTT). FBO rtt is buggy.
2010-03-09 23:50:55 -05:00
Tom Rothamel
a1e7b60dab
Implement basic render-to-texture.
...
Implement non-aligned clipping.
2010-03-09 17:02:12 -05:00
Tom Rothamel
92515fca49
Implement aligned clipping.
2010-03-09 02:27:41 -05:00
Tom Rothamel
6a8abf2a79
Basic support for clipping using glClipPlane.
2010-03-09 01:24:52 -05:00
Tom Rothamel
9a47b02840
Allocate texture numbers in the GL thread.
2010-03-08 18:49:19 -05:00
Tom Rothamel
488c1c34cd
Use the right direction for the transform.
2010-03-08 02:03:42 -05:00
Tom Rothamel
52bd7de14f
First drawing via GL to the screen.
2010-03-08 01:36:36 -05:00
Tom Rothamel
deb0f813ca
Making progress towards getting gl-drawing working.
2010-03-07 18:46:00 -05:00
Tom Rothamel
5030513375
Rewrite the text handling to create textures.
2010-03-06 20:16:55 -05:00
Tom Rothamel
53deb04137
Rewrite im to use textures instead of surfaces directly.
...
Add support for textures (really just surfaces) to swdraw.
Move rle cache code into swdraw.
2010-02-28 23:01:58 -05:00
Tom Rothamel
2c60f5251f
Rewrite RotoZoom in terms of Transform.
2010-02-26 14:47:33 -05:00
Tom Rothamel
64ac5a9317
Rewrote Zoom, FactorZoom, and SizeZoom in terms of Renders.
2010-02-26 01:33:10 -05:00
Tom Rothamel
607113b31c
Move pixellate into swdraw.
2010-02-24 21:47:32 -05:00
Tom Rothamel
5a472ef44b
Finished factoring out dissolve and imagedissolve.
2010-02-24 01:28:27 -05:00
Tom Rothamel
c67ba9b4e4
Restructured dissolve and imagedissolve.
2010-02-24 01:04:11 -05:00
Tom Rothamel
3f36d3a881
get_parameterized -> _get_parameterized
2010-02-24 01:03:10 -05:00
Tom Rothamel
d188618785
Sync with main branch.
2010-02-23 16:31:25 -05:00
Tom Rothamel
e6827bdff8
* lp:526297 - im.Rotozoom()s crash when Ren'Py is scaled down. (Thanks to Spiky Caterpillar for the bug report and fix.)
...
Renamed the internal show and hide methods of Displayable, so those
names can once again be used by user-defined displayables.
2010-02-23 15:12:44 -05:00
Tom Rothamel
85ac26fb1e
Move the drawing code from render.py to swdraw.py. Now, none of the
...
code in render.py should be software-renderer specific.
2010-02-23 01:52:33 -05:00
Tom Rothamel
abea49df8e
Massive restructuring of the display system. The methods in Display
...
were split between the new SWDraw class and Interface. The idea is to
separate the software renderer out from the common code.
2010-02-23 01:13:02 -05:00
Tom Rothamel
bfc7de0d16
glcore -> gldraw
2010-02-22 22:05:35 -05:00
Tom Rothamel
aa8c3ecec9
Move gl stuff into the display directory.
2010-02-22 22:02:11 -05:00
Tom Rothamel
7ab984972e
Started work on glcore.py.
2010-02-22 21:55:57 -05:00
Tom Rothamel
da09c4d04f
Implement the subsurface operation.
2010-02-21 20:02:31 -05:00
Tom Rothamel
c42457446f
Implemented a shader-based GL environment.
2010-02-21 02:35:30 -05:00
Tom Rothamel
40bb6ca557
Can compile shaders.
2010-02-20 23:25:58 -05:00
Tom Rothamel
f2cc5d25e8
Implement render-to-texture using EXT_framebuffer_object, with
...
acceptable performance on both Nvidia and 950.
2010-02-20 13:50:49 -05:00
Tom Rothamel
04a5460e8b
Init rtt and environ in a function, so we don't have to wait for them.
2010-02-20 11:04:20 -05:00
Tom Rothamel
12ef8ee199
Refactor render-to-texture code into a class, so we can have an
...
alternative implementation of it.
2010-02-20 02:41:26 -05:00
Tom Rothamel
9c2d2f3a06
Implement render to texture.
...
Implement (GL 1.1) blank texture loading.
Add EXT_framebuffer_object to tegl.
2010-02-19 19:56:11 -05:00
Tom Rothamel
94bcfe5c58
Change to using BGRA textures for speed on Nvida chips.
...
Make work on the mac.
2010-02-18 10:41:22 -05:00
Tom Rothamel
fecd13c733
Allow textures of various sizes, from 512 to 64 pixels.
2010-02-17 22:54:43 -05:00
Tom Rothamel
a9a6595d43
Implemented fixed-function imageblend. Also, tweaked normal blend so
...
textures are taken in the right order.
2010-02-16 00:20:02 -05:00
Tom Rothamel
e4e9ea4e87
Working blend operation.
2010-02-14 21:14:29 -05:00
Tom Rothamel
588682f0d2
Change the representation of texgrids to include a tile index, rather
...
than implying the tile index.
Work on environments continues.
2010-02-14 19:17:32 -05:00
Tom Rothamel
0b502d5530
C-accelerated the rectangle drawing code.
2010-02-13 23:53:27 -05:00
Tom Rothamel
86a2b5d4e5
Move the GL setup code into a module.
2010-02-13 20:05:12 -05:00
Tom Rothamel
312a657e78
Rename surface.py to gltexture.py
2010-02-11 20:00:32 -05:00
Tom Rothamel
6197597ec9
Can now draw a TextureGrid to the screen.
2010-02-11 19:35:19 -05:00
Tom Rothamel
c3ee29a9b0
Work on loading textures.
2010-02-11 09:01:42 -05:00
Tom Rothamel
d5b26aa973
Work on loading textures.
2010-02-11 08:58:36 -05:00
Tom Rothamel
5d926ad49b
Build modules in module directory.
2010-02-10 00:38:44 -05:00
Tom Rothamel
b5f133ce17
Have working direct transfer of SDL surface -> texture.
2010-02-09 00:32:01 -05:00
Tom Rothamel
6ee4474e5e
Prevent completing a rollback from triggering an exception if
...
other code is updating objects that it uses.
2010-02-07 13:06:58 -05:00
Tom Rothamel
d515d07110
Customized TEGL for our purposes.
2010-02-04 20:58:57 -05:00
Tom Rothamel
3d2e5124d4
Add a clean tegl.
2010-02-04 20:50:51 -05:00
Tom Rothamel
48a826a13d
Fix bug that could cause last element of a MultipleTransition to show twice.
2010-02-04 16:53:57 -05:00
Tom Rothamel
64e82c2c62
Rewrote MultipleTransition (which is used by Fade) to fix some
...
problems it was exhibiting.
2010-02-04 15:43:21 -05:00
Tom Rothamel
9c5d4d7ad5
Do not query volume if a mixer is disabled, in the imagemap
...
preferences screen.
2010-01-26 20:42:17 -05:00
Tom Rothamel
5f006c8f4c
Bump version.
2010-01-22 11:00:07 -05:00
Tom Rothamel
3d8b6cbecb
Remove default_transform test code that got stuck in a release.
2010-01-22 10:56:36 -05:00
Tom Rothamel
7e2e123af7
Bump version, update changelog.
2010-01-21 18:53:32 -05:00
Tom Rothamel
14aa4c4e3d
Do not display ctc when interact=False.
2010-01-21 18:04:22 -05:00
Tom Rothamel
2c15237b8a
Implement renpy.config.default_transform, but don't make it the default yet.
2010-01-21 16:54:10 -05:00
Tom Rothamel
b4845252c1
Bump version.
2010-01-20 13:03:58 -05:00
Tom Rothamel
2f513235b3
The launcher now accepts a RENPY_DEFAULT_PROJECTS_DIRECTORY, which sets
...
the default for the projects directory, if it has not already been set
by the user. It also will report an error when creating a project fails,
rather than producing a traceback.
2010-01-20 11:16:55 -05:00
Tom Rothamel
c68b3bae89
The new voice_replay function replays the voice played on the current
...
interaction. The new voice_can_replay function returns True if a voice
can be replayed.
2010-01-20 01:01:24 -05:00
Tom Rothamel
3825e88883
Properly purge images from the image cache.
2010-01-20 00:10:20 -05:00
Tom Rothamel
bbe0fdb98f
It's now possible to assign style properties to individual imagemap
...
buttons, by indexing style.imagemap_button. (So for example, one could
assign to style.imagemap_button["Start Game"].hover_sound .)
2010-01-18 22:46:56 -05:00
Tom Rothamel
009969dab5
Can't pop from a tuple.
2010-01-18 03:04:02 -05:00
Tom Rothamel
376ac7ad81
Add a link to the Ren'Py Games List to the launcher.
2010-01-17 17:07:38 -05:00
Tom Rothamel
de8257f459
Ren'Py now builds zip files in distributions 64k at a time.
2010-01-14 22:03:14 -05:00
Tom Rothamel
3b0fbcc55f
Previously, it was impossible to pass an arguments list to a call
...
expression. Now, we allow the pass keyword to be used to distinguish
the two, using code like:
call expression foo pass (bar, baz)
2010-01-14 12:48:54 -05:00
Tom Rothamel
e33abc05fb
Prevent infinite looping when iterating over an object with
...
__getitem__ defined.
2010-01-14 11:37:59 -05:00
Tom Rothamel
430ee03d45
Bump version to 6.10.2b.
2010-01-14 00:12:46 -05:00
Tom Rothamel
03477d1c75
Fix lp:506322 - MoveTransition wouldn't work on the overlay layer, even if explicitly specified.
2010-01-13 23:20:15 -05:00
Tom Rothamel
ef9ee657f7
Add cache_unpin
2010-01-12 23:48:57 -05:00
Tom Rothamel
e31f1ac63f
Mark one pylint spurious warning.
2010-01-10 15:42:11 -05:00
Tom Rothamel
33a6c97446
Finalize changelog.
2010-01-10 15:37:57 -05:00
Tom Rothamel
99e9e6e9ba
Bump version to 6.10.2a.
2010-01-10 15:34:31 -05:00
Tom Rothamel
1d81cede71
Unpack ScaledSurfaces before using them as a sample for an alpha channel.
2010-01-10 01:52:00 -05:00
Tom Rothamel
54ab9e0f1b
Add copyright information to files that have it missing.
2010-01-09 13:25:18 -05:00
Tom Rothamel
f0df9a7a05
Bump copyright to 2010.
2010-01-09 13:14:42 -05:00
Tom Rothamel
adc3bf820b
Fixed a bug that caused the overlay to display twice in some cases.
2010-01-05 18:07:28 -05:00
Tom Rothamel
d26ac890a5
Add the ability to pin images into the cache, using the renpy.cache_pin function.
2010-01-05 02:30:39 -05:00
Tom Rothamel
d0397b2111
The new config.automatic_images_strip variable can strip out prefixes
...
when automatically defining images.
2010-01-03 16:32:21 -05:00
Tom Rothamel
0229de3f0d
The new config.menu_clear_layers variable allows layers to be cleared
...
when entering the game menu. This makes it easier for a layer to have
overlay-like things on it when in the game, but not when in the game
menu.
2010-01-03 16:25:20 -05:00
Tom Rothamel
176150be7f
Add renpylint script, a wrapper around pylint that gets rid of some
...
false positives where pylint isn't able to fully analyze Ren'Py.
Add annotations to Ren'Py to further supress false positives. The result
is that we can now run pylint and pick out regressions.
2010-01-02 02:38:07 -05:00
Tom Rothamel
04992fa431
Flag spurious pylint warnings, in the renpy/ directory.
2010-01-01 16:30:38 -05:00
Tom Rothamel
b26725fd01
pylint done.
2010-01-01 15:09:36 -05:00
Tom Rothamel
601e7b1949
pylint: Initial pass through renpy directory.
2010-01-01 14:27:20 -05:00
Tom Rothamel
37c1571792
pylint: ast.py and atl.py
2010-01-01 13:30:39 -05:00
Tom Rothamel
812144bdf0
Fixed a bug that caused pixellate to crash.
2009-12-31 16:16:20 -05:00
Tom Rothamel
6e616fda4e
When a music filename is unknown, remove it from the loop, so we don't keep
...
trying to access it.
2009-12-31 15:44:40 -05:00
Tom Rothamel
3f120ce658
Ren'Py now caches the individual words of text that are rendered. This
...
can lead to a speedup in text display when there are many words of
text on the screen, and that text is re-displayed, as is the case
where the text text speed is not the maximum. This is especially
beneficial for eastasian languages, where every character is treated
as a word.
2009-12-30 16:24:18 -05:00
Tom Rothamel
5446da46dc
Ren'Py now caches the individual words of text that are rendered. This
...
can lead to a speedup in text display when there are many words of
text on the screen, and that text is re-displayed, as is the case
where the text text speed is not the maximum. This is especially
beneficial for eastasian languages, where every character is treated
as a word.
2009-12-30 15:41:29 -05:00
Tom Rothamel
172efcac94
Surface creation parameter was missing when creating a Frame with tile=True.
...
Fixes lp:501351.
2009-12-30 00:24:27 -05:00
Tom Rothamel
c5ce6c0f4b
Bump version.
2009-12-17 09:36:36 -05:00
Tom Rothamel
40f8644ac2
Export time from renpy.exports.
2009-12-17 09:35:34 -05:00
Tom Rothamel
d45cf0d79a
Bump version.
2009-12-16 19:17:18 -05:00
Tom Rothamel
68937a71b9
Add developer menu to string scanner.
2009-12-14 22:06:00 -05:00
Tom Rothamel
db435f5a0a
Bump version.
2009-12-14 19:06:43 -05:00
Tom Rothamel
40c469fa23
Add ctc_timedpause.
2009-12-14 19:04:10 -05:00
Tom Rothamel
fe7c7e2299
Decode the tutorial properly, so international characters can be used.
2009-12-14 16:51:43 -05:00
Tom Rothamel
2f9d9f9dee
Bump version numbers.
2009-12-13 11:26:44 -05:00
Tom Rothamel
293508969a
The layout.imagemap_main_menu and layout.imagemap_load_save functions
...
now allow one to define variant screens. This allows one to select an
imagemap main menu screen to use, or to define different screens for
loading and saving.
2009-12-13 11:05:58 -05:00
Tom Rothamel
5908546828
Ensure we get an alpha surface even if pygame hasn't been initialized.
...
Take the position from the transform, not something enclosing the transform.
Fix the archiver to not error out on import.
2009-12-12 23:16:59 -05:00
Tom Rothamel
b80f6a1e8e
Fix a bug with the last checkin.
2009-12-12 15:45:12 -05:00
Tom Rothamel
d3434400cd
The layout.imagemap_load_save function can now take dictionaries for
...
each of its arguments. This allows separate values of the arguments to
be specified for load and save.
2009-12-12 15:28:16 -05:00
Tom Rothamel
11a20e21d1
Update the font to the latest version.
2009-12-12 03:11:18 -05:00
Tom Rothamel
0de0aa292a
ATL now has a "function" statement, which allows an ATL transform to
...
use the same functions that are supplied to Transform.
2009-12-12 01:28:41 -05:00
Tom Rothamel
aa0d357bdc
The transform state transfer now looks inside ImageReferences. This means
...
that it works when a transform is defined as part of an image, as well as
part of an at clause (or as an ATL block).
Parameterize ctc indicators.
2009-12-12 00:22:04 -05:00
Tom Rothamel
ca16c24fc4
Make all of Ren'Py pyflakes-clean.
2009-12-11 01:38:28 -05:00
Tom Rothamel
d32db0c9a3
Fix Pyflakes warnings.
2009-12-11 01:20:33 -05:00
Tom Rothamel
60b9f0522c
Make shown_window an attribute of scene_lists. This tracks it better.
...
Change overlay semantics to match everything else.
Make core.py and exports.py pyflakes clean.
2009-12-11 00:39:17 -05:00
Tom Rothamel
d3c58da216
Make core.py pyflakes-clean.
2009-12-10 11:31:46 -05:00
Tom Rothamel
e81044465d
Fix various bugs, incl lp:494820.
2009-12-10 01:01:59 -05:00
Tom Rothamel
75a0741c33
Scaling bug fixes.
2009-12-09 02:49:00 -05:00
Tom Rothamel
a68f4af35d
Vaguely working (not immediately crashing) rewrite of the scaling code.
2009-12-09 02:24:02 -05:00
Tom Rothamel
9e0932af5a
Fix typo that prevented ui.at from working.
2009-12-07 09:58:04 -05:00
Tom Rothamel
112c0bce66
Only allow rollbacks to be committed in the top-level context. Fixes lp:493062.
...
Error handling improvements.
Allow ui.imagemap to take arbitrary displayables as the ground.
2009-12-06 15:30:36 -05:00
Tom Rothamel
d640759ab8
Fixed a bug that prevented Ren'Py from interpolating image rotation
...
before image rotation was specified.
2009-12-05 17:05:14 -05:00
Tom Rothamel
bb628bd9cd
Make bilinear scaling precise.
...
Make im.Scale use the smooth scaling code. Fixes lp:488814.
2009-12-05 15:42:31 -05:00
Tom Rothamel
ed3c0937d9
Check in cython-created files.
2009-12-05 13:32:26 -05:00
Tom Rothamel
48cf0cd50a
Fixed a bug that caused Ren'Py to fail when scaling was enabled.
2009-12-05 03:09:56 -05:00
Tom Rothamel
a39934d0c4
The image text tag can now take any textual image representation. So
...
something like {image=eileen happy} is legal, if odd.
Fixed a bug that could prevent files from being loaded if Ren'Py was
run from a path that contains non-ascii characters. (Even in directories
that were not part of the Ren'Py distribution.)
2009-12-05 00:38:30 -05:00
Tom Rothamel
2a9eaf9dea
Fix a no-shutdown bug.
2009-12-05 00:15:07 -05:00
Tom Rothamel
0d07b4dcb6
Be sure blit lock is held.
2009-12-02 18:14:11 -05:00
Tom Rothamel
76fbce3304
Fix bug that could cause shift+R to fail when going back to a menu after a restart.
...
Fix bug that could prevent Ren'Py from exiting if image or auto-save threads felt like keeping us around.
2009-12-02 17:51:08 -05:00
Tom Rothamel
510eba1628
Hide deprecation warnings on Python 2.6.
2009-11-30 02:54:16 -05:00
Tom Rothamel
c37fede2f1
Add precise mode for transform32.
...
Remove can_ tests from the module as obsolete.
2009-11-30 02:01:45 -05:00
Tom Rothamel
3ccb522e33
Replace all surface creation with calls to
...
renpy.display.pgrender.surface and other functions in that
module. This function creates a surface with a 1px border in
all directions. This will let us not have to worry about transform32
overrunning the surface.
2009-11-29 16:01:42 -05:00
Tom Rothamel
a067d0c830
Bump version to 6.10.0e
2009-11-16 23:20:12 -05:00
Tom Rothamel
2f82c7466d
Adjust the types of ATL properties as necessary.
2009-11-16 02:22:37 -05:00
Tom Rothamel
9e9a6b7f8e
Change the strategy used for cropping in Transform. The new one allows for floating pointy crop windows.
2009-11-16 02:04:41 -05:00
Tom Rothamel
9db36905c6
Fix bug that prevented ATL default parameters from working.
2009-11-15 19:29:17 -05:00
Tom Rothamel
e5ae260c33
Add ATL warp construct.
2009-11-15 19:24:17 -05:00
Tom Rothamel
4e3a579eed
ATL: fix bug with bare number as pause.
2009-11-15 15:44:49 -05:00
Tom Rothamel
4cd1e62978
Simplify module.py, now that we error out if the module isn't loadable.
...
Make it possible to build on a stock ubuntu.
2009-11-15 15:31:09 -05:00
Tom Rothamel
babd95540d
ATL add contains expression statement.
2009-11-15 00:51:53 -05:00
Tom Rothamel
905de15883
Clear lint error.
...
Bump version for release.
2009-11-14 22:14:48 -05:00
Tom Rothamel
00f31ca351
Bar style tweak, and replace missing main menu file.
2009-11-14 22:10:12 -05:00
Tom Rothamel
cb82cfae3e
Allow Transforms to embed Dissolve et al.
...
Add concert to tutorial game. Add new main menu to tutorial game.
2009-11-14 22:03:51 -05:00
Tom Rothamel
1a36f1feb7
Add show_transform to character.
2009-11-13 18:18:47 -05:00
Tom Rothamel
d1893c6e17
Do not change the style prefix of a button when changing the style
...
prefix of a button that contains it.
2009-11-13 15:12:08 -05:00
Tom Rothamel
330ec0e68c
Optimize transforms when alpha is 0.
...
Trim happy_alley.
Bump version to 6.10.0b.
2009-11-13 14:24:19 -05:00
Tom Rothamel
830304b79e
In ATL, changed child -> contains, so as not to mask access to the child variable.
2009-11-10 23:05:07 -05:00
Tom Rothamel
dc5940ac56
Ensure layer_at_list works with ATL transforms properly.
2009-11-10 22:55:12 -05:00
Tom Rothamel
437cc8784f
Choose default focus when leaving a context in which at least one interaction occured.
2009-11-10 01:58:41 -05:00
Tom Rothamel
8e08e6647a
Update .bzrignore
2009-11-09 21:04:11 -05:00
Tom Rothamel
60a21a7bbe
Add child statement to ATL.
...
Allow ATL Transform to be used as transition.
2009-11-09 21:01:04 -05:00
Tom Rothamel
6251a86cfe
Add new lucy art - thanks, Mugen!
2009-11-09 16:48:43 -05:00
Tom Rothamel
580ea88cd0
Make transforms take a list of declared parameters.
...
Fix problem where transform and define would declare a label.
2009-11-09 16:42:15 -05:00
Tom Rothamel
c93734cd9c
Have the caret change color when a color parameter is supplied to Input.
2009-11-08 13:55:19 -05:00
Tom Rothamel
f7e2f0dd1a
Fix bug that prevented styles from rebuilding.
2009-11-08 13:22:02 -05:00